# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup github 1.0 name zmq categories devel sysutils net platforms darwin license LGPL-3+ maintainers inconsistent.nl:merijn stromnov michaelld openmaintainer description 0MQ (ZeroMQ) lightweight messaging kernel long_description \ The ${description} 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. if {${name} eq ${subport}} { github.setup zeromq zeromq4-1 4.1.5 v revision 1 checksums \ rmd160 952683a27697b8ccc9fca3d0766a2b6c76a837ae \ sha256 226e7d31d3ef2df6b5da86c3ec6f97a379aac1200a8ebb2ce82d481d40cb64bc conflicts zmq-devel zmq22 zmq3 # special livecheck, because zmq keeps different repos for new # versions; check the homepage instead homepage http://www.zeromq.org/ livecheck.type regex livecheck.url ${homepage}intro:get-the-software livecheck.regex Current Stable Release (\[0-9.\]+) } # Legacy subport (no longer supported) subport zmq3 { github.setup zeromq zeromq3-x 3.2.5 v revision 1 checksums rmd160 959e1403e4c8e36603711c9cf3bb5ff5cd5727aa \ sha256 3ba8fbdee4845e26f25f3d1d43492bc182077338f4e857fa50a06e1b21bade7f conflicts zmq zmq-devel zmq22 } # Legacy subport (as a dependency for py5-zeromq) subport zmq22 { github.setup zeromq zeromq2-x 2.2.0 v revision 2 checksums rmd160 5bf0cfe29e26348dc4c201764d099a8117c43735 \ sha256 e021b62c6be211b5a1ac4b9e038068e0a8caaf81c22ee050183b25e991825e05 conflicts zmq zmq-devel zmq3 } subport zmq-devel { github.setup zeromq zeromq4-1 21e484750e4c13e81597bbb4cf6d178ef05e8631 version 20161023 checksums rmd160 875cb70f072f5a1b35354ff15168d68eaf6c958f \ sha256 6f2936aefcfe4a47de8365dd5c4de259f8567d14da0220a82755c3ba174a849c depends_lib-append port:libsodium conflicts zmq zmq22 zmq3 } # override github information homepage http://www.zeromq.org/ # common directory for storing downloaded tarballs dist_subdir zmq # use autoconf / automake use_autoconf yes autoconf.cmd ./autogen.sh depends_build-append port:automake port:autoconf # macports libtool allows linking against libc++, # the libtool in the distribution does not depends_build-append port:libtool port:pkgconfig build.args LIBTOOL=${prefix}/bin/glibtool