[120893] trunk/dports/devel

michaelld at macports.org michaelld at macports.org
Tue Jun 10 18:35:05 PDT 2014


Revision: 120893
          https://trac.macports.org/changeset/120893
Author:   michaelld at macports.org
Date:     2014-06-10 18:35:05 -0700 (Tue, 10 Jun 2014)
Log Message:
-----------
zmq*: combine into a single Portfile.

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

Removed Paths:
-------------
    trunk/dports/devel/zmq-devel/
    trunk/dports/devel/zmq20/
    trunk/dports/devel/zmq22/

Modified: trunk/dports/devel/zmq/Portfile
===================================================================
--- trunk/dports/devel/zmq/Portfile	2014-06-11 00:40:58 UTC (rev 120892)
+++ trunk/dports/devel/zmq/Portfile	2014-06-11 01:35:05 UTC (rev 120893)
@@ -4,36 +4,67 @@
 PortSystem          1.0
 
 name                zmq
-version             3.2.4
-categories          devel net
+
+categories          devel sysutils net
 license             LGPL-3+
 platforms           darwin
-maintainers         inconsistent.nl:merijn
+maintainers         inconsistent.nl:merijn stromnov michaelld openmaintainer
 
-description         ØMQ (ZeroMQ) lightweight messaging kernel
+description         0MQ (ZeroMQ) lightweight messaging kernel
 
-long_description    The ØMQ lightweight messaging kernel is a library which \
-                    extends the standard socket interfaces with features \
-                    traditionally provided by specialised messaging middleware \
-                    products. ØMQ sockets provide an abstraction of asynchronous \
-                    message queues, multiple messaging patterns, message \
-                    filtering (subscriptions), seamless access to multiple \
-                    transport protocols and more.
+long_description    \
+    The 0MQ lightweight messaging kernel is a library which extends the \
+    standard socket interfaces with features traditionally provided by \
+    specialised messaging middleware products. 0MQ sockets provide an \
+    abstraction of asynchronous message queues, multiple messaging patterns, \
+    message filtering (subscriptions), seamless access to multiple transport \
+    protocols and more.
 
 homepage            http://www.zeromq.org/
 master_sites        http://download.zeromq.org/
 
+depends_lib-append  port:libsodium
+
+if {${subport} eq ${name}} {
+
+    version             3.2.4
+
+    checksums           rmd160 9f62881bc5d910cc1d1eb91df6be0ad3ca09d541 \
+                        sha256 df96a141c85b65c2cb6c0db22223126623a09eecbfccb7f74400f3f938742f59
+
+    conflicts           zmq-devel zmq22
+
+}
+
+subport zmq22 {
+
+    version             2.2.0
+
+    checksums           rmd160 63c6ca84c292a72ffb0e18f1a97a6fa744a6be7c \
+                        sha256 43904aeb9ea6844f72ca02e4e53bf1d481a1a0264e64979da761464e88604637
+
+    conflicts           zmq zmq-devel
+
+}
+
+subport zmq-devel {
+
+    version             4.0.4
+    revision            1
+
+    checksums           rmd160 6971d9842ce6bc9197c9c8179eabde29ad54a81a \
+                        sha256 1ef71d46e94f33e27dd5a1661ed626cd39be4d2d6967792a275040e34457d399
+
+    conflicts           zmq zmq22
+
+}
+
 distname            zeromq-${version}
 worksrcdir          zeromq-[strsed ${version} {g/[^0-9.].*$//}]
 
-checksums           rmd160  9f62881bc5d910cc1d1eb91df6be0ad3ca09d541 \
-                    sha256  df96a141c85b65c2cb6c0db22223126623a09eecbfccb7f74400f3f938742f59
+# macports libtool allows linking against libc++,
+# the libtool in the distribution does not
 
-conflicts           zmq20 zmq22
-
-universal_variant   yes
-
-# macports libtool allows linking against libc++, the libtool in the distribution does not
 depends_build       port:libtool
 build.args          LIBTOOL=${prefix}/bin/glibtool
 
@@ -41,6 +72,8 @@
     configure.args-append   --with-pgm
 }
 
+set major           [lindex [split ${version} .] 0]
+
 livecheck.type      regex
 livecheck.url       ${homepage}area:download
-livecheck.regex     zeromq-(\[0-9.\]+)${extract.suffix}
+livecheck.regex     zeromq-(${major}.\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140610/6978346e/attachment.html>


More information about the macports-changes mailing list