[139362] trunk/dports/devel/zmq/Portfile
stromnov at macports.org
stromnov at macports.org
Fri Aug 14 04:53:03 PDT 2015
Revision: 139362
https://trac.macports.org/changeset/139362
Author: stromnov at macports.org
Date: 2015-08-14 04:53:03 -0700 (Fri, 14 Aug 2015)
Log Message:
-----------
zmq: update to version 4.1.2
Modified Paths:
--------------
trunk/dports/devel/zmq/Portfile
Modified: trunk/dports/devel/zmq/Portfile
===================================================================
--- trunk/dports/devel/zmq/Portfile 2015-08-14 08:24:12 UTC (rev 139361)
+++ trunk/dports/devel/zmq/Portfile 2015-08-14 11:53:03 UTC (rev 139362)
@@ -4,10 +4,12 @@
PortSystem 1.0
name zmq
-
+version 4.1.2
+revision 1
categories devel sysutils net
+platforms darwin
license LGPL-3+
-platforms darwin
+
maintainers inconsistent.nl:merijn stromnov michaelld openmaintainer
description 0MQ (ZeroMQ) lightweight messaging kernel
@@ -23,42 +25,51 @@
homepage http://www.zeromq.org/
master_sites http://download.zeromq.org/
+distname zeromq-${version}
-if {${subport} eq ${name}} {
+checksums rmd160 a854caf6c76a914eeea6e2850545d061ab5c3001 \
+ sha256 f9162ead6d68521e5154d871bac304f88857308bb02366b81bb588497a345927
+conflicts zmq-devel zmq22 zmq3
+
+# Legacy subport (no longer supported)
+subport zmq3 {
version 3.2.5
+ revision 0
+ distname zeromq-${version}
+
checksums rmd160 8f4633aff59b3cd8c2c8074ba92a6a9570e98fd4 \
sha256 09653e56a466683edb2f87ee025c4de55b8740df69481b9d7da98748f0c92124
- conflicts zmq-devel zmq22
-
+ conflicts zmq zmq-devel zmq22
}
+# Legacy subport (as a dependency for py5-zeromq)
subport zmq22 {
-
version 2.2.0
revision 1
+ distname zeromq-${version}
+
checksums rmd160 63c6ca84c292a72ffb0e18f1a97a6fa744a6be7c \
sha256 43904aeb9ea6844f72ca02e4e53bf1d481a1a0264e64979da761464e88604637
- conflicts zmq zmq-devel
+ conflicts zmq zmq-devel zmq3
patchfiles-append yosemite-libtool.patch
-
}
+# Transition from zmq-devel to zmq (since 14 Aug 2015)
subport zmq-devel {
+ replaced_by zmq
- version 4.1.2
- revision 0
+ PortGroup obsolete 1.0
- checksums rmd160 a854caf6c76a914eeea6e2850545d061ab5c3001 \
- sha256 f9162ead6d68521e5154d871bac304f88857308bb02366b81bb588497a345927
+ conflicts zmq zmq22 zmq3
+}
- conflicts zmq zmq22
-
+if {${subport} eq ${name}} {
depends_lib-append port:libsodium
}
@@ -67,16 +78,13 @@
# macports libtool allows linking against libc++,
# the libtool in the distribution does not
-
depends_build port:libtool
build.args LIBTOOL=${prefix}/bin/glibtool
-variant pgm description {build with PGM extension} {
- configure.args-append --with-pgm
+if {${subport} eq ${name}} {
+ livecheck.type regex
+ livecheck.url ${homepage}area:download
+ livecheck.regex zeromq-(\[0-9.\]+)${extract.suffix}
+} else {
+ livecheck.type none
}
-
-set major [lindex [split ${version} .] 0]
-
-livecheck.type regex
-livecheck.url ${homepage}area:download
-livecheck.regex zeromq-(${major}.\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150814/614f538c/attachment-0001.html>
More information about the macports-changes
mailing list