[144659] trunk/dports/net

mojca at macports.org mojca at macports.org
Thu Jan 14 13:08:26 PST 2016


Revision: 144659
          https://trac.macports.org/changeset/144659
Author:   mojca at macports.org
Date:     2016-01-14 13:08:26 -0800 (Thu, 14 Jan 2016)
Log Message:
-----------
liboping[-devel]: merge liboping-devel with liboping, use the github PortGroup (closes #50212)

Modified Paths:
--------------
    trunk/dports/net/liboping/Portfile

Removed Paths:
-------------
    trunk/dports/net/liboping-devel/

Modified: trunk/dports/net/liboping/Portfile
===================================================================
--- trunk/dports/net/liboping/Portfile	2016-01-14 20:01:28 UTC (rev 144658)
+++ trunk/dports/net/liboping/Portfile	2016-01-14 21:08:26 UTC (rev 144659)
@@ -2,25 +2,47 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
 PortGroup           perl5 1.0
 
 name                liboping
-conflicts           liboping-devel
-version             1.8.0
-revision            1
+subport             liboping-devel {}
+perl5.branches      5.22
+
 categories          net
 platforms           darwin
 license             LGPL-2.1 GPL-2
 maintainers         nomaintainer
 description         C library and program for ICMP echo requests
-long_description    C library and ncurses-based frontend to generate ICMP echo requests to multiple hosts in parallel
+long_description    C library and ncurses-based frontend to generate ICMP \
+                    echo requests to multiple hosts in parallel
 homepage            http://verplant.org/liboping/
-master_sites        http://verplant.org/liboping/files/
 
-checksums           sha256  824792ae7fc5e9569bacc4167b89de31f6ba8476de44760f0bc272682e894b41 \
+if {${subport} eq ${name}} {
+#   # it would make sense to switch to github after a new release to avoid conflicting checksums
+#   github.setup    octo liboping 1.8.0 liboping-
+    conflicts       liboping-devel
+    version         1.8.0
+    revision        1
+
+    master_sites    http://verplant.org/liboping/files/
+
+    checksums       sha256  824792ae7fc5e9569bacc4167b89de31f6ba8476de44760f0bc272682e894b41 \
                     rmd160  c17e66bcfe9e531746a850d0b68bbcd70b55d5bf
 
-perl5.branches      5.22
+} else {
+    github.setup    octo liboping 74470ba
+    conflicts       liboping
+    version         20150213
+    revision        1
+
+    checksums       rmd160  9ccebb45977595b249019b64986e128197621c6a \
+                    sha256  62b8108fa1713d0a037d9af9fe10bcd89d13307649e529a65f8ddefd8790ba46
+
+    use_autoreconf  yes
+    livecheck.type  none
+}
+
 depends_lib         port:ncurses \
                     port:perl${perl5.major}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160114/2a58d303/attachment.html>


More information about the macports-changes mailing list