[152220] trunk/dports/devel/libuv/Portfile

michaelld at macports.org michaelld at macports.org
Thu Sep 1 05:08:28 PDT 2016


Revision: 152220
          https://trac.macports.org/changeset/152220
Author:   michaelld at macports.org
Date:     2016-09-01 05:08:28 -0700 (Thu, 01 Sep 2016)
Log Message:
-----------
libuv:
+ add me as comaintainer, but still openmaintainer;
+ move to using github portgroup;
+ bump release to 1.9.1;
+ add devel subport, using v1.x branch for livecheck instead of master since it seems more up-to-date.

Modified Paths:
--------------
    trunk/dports/devel/libuv/Portfile

Modified: trunk/dports/devel/libuv/Portfile
===================================================================
--- trunk/dports/devel/libuv/Portfile	2016-09-01 11:49:19 UTC (rev 152219)
+++ trunk/dports/devel/libuv/Portfile	2016-09-01 12:08:28 UTC (rev 152220)
@@ -2,27 +2,49 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
 
 name                libuv
-version             1.8.0
 categories          devel
 platforms           darwin
-maintainers         raimue \
-                    openmaintainer
-license             {MIT BSD} 
+maintainers         raimue michaelld openmaintainer
+license             {MIT BSD}
 
 description         Cross-platform asychronous I/O
 
 long_description \
     libuv is a multi-platform support library with a focus on asynchronous I/O.
 
+# common directory for storing downloaded tarballs
+dist_subdir         libuv
+
+if {${subport} eq ${name}} {
+
+    github.setup    libuv libuv 1.9.1 v
+    checksums       rmd160 6301fbdcf06822990ef09a2f115590dc7d638ce5 \
+                    sha256 999f02db738dbc8c07053f9f9e953ef69bb7639face97e6dbeb06f1e34861873
+
+    conflicts       libuv-devel
+
+}
+
+subport libuv-devel {
+
+    github.setup    libuv libuv a7dfee3b02c70ca872c750fc60860d238623be69
+    version         20160830
+    checksums       rmd160 6bbdf57657fa5cd03b0564d08ca59dc31f8b66cd \
+                    sha256 eef7c2c8f6ad725a0054a121f08ce0df7b3de12e34af088d3a625d8ee0400a88
+
+    long_description    ${long_description} \
+        This port is kept up with the libuv GIT 'master' branch, is typically updated weekly to monthly.
+    conflicts       libuv
+
+    livecheck.url   ${github.homepage}/commits/v1.x.atom
+
+}
+
 homepage            http://libuv.org/
-master_sites        http://dist.libuv.org/dist/v${version}/
-distname            ${name}-v${version}
 
-checksums           rmd160  707716dcbd072376ae82a46c4457305cc0472499 \
-                    sha256  6511f734da4fe082dacf85967606d600b7bce557bb9b2f0d2539193535323125
-
 use_autoconf        yes
 autoconf.cmd        ./autogen.sh
 
@@ -30,7 +52,3 @@
                     port:autoconf \
                     port:libtool \
                     port:pkgconfig
-
-livecheck.type      regex
-livecheck.url       http://dist.libuv.org/dist/
-livecheck.regex     v(\\d+(\\.\\d+)+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160901/f276d47e/attachment-0001.html>


More information about the macports-changes mailing list