# -*- 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 name zmq categories devel sysutils net license LGPL-3+ platforms darwin maintainers inconsistent.nl:merijn stromnov michaelld openmaintainer description 0MQ (ZeroMQ) lightweight messaging kernel 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/ if {${subport} eq ${name}} { version 3.2.5 checksums rmd160 8f4633aff59b3cd8c2c8074ba92a6a9570e98fd4 \ sha256 09653e56a466683edb2f87ee025c4de55b8740df69481b9d7da98748f0c92124 conflicts zmq-devel zmq22 } subport zmq22 { version 2.2.0 revision 1 checksums rmd160 63c6ca84c292a72ffb0e18f1a97a6fa744a6be7c \ sha256 43904aeb9ea6844f72ca02e4e53bf1d481a1a0264e64979da761464e88604637 conflicts zmq zmq-devel patchfiles-append yosemite-libtool.patch } subport zmq-devel { version 4.1.2 revision 0 checksums rmd160 a854caf6c76a914eeea6e2850545d061ab5c3001 \ sha256 f9162ead6d68521e5154d871bac304f88857308bb02366b81bb588497a345927 conflicts zmq zmq22 depends_lib-append port:libsodium } distname zeromq-${version} worksrcdir zeromq-[strsed ${version} {g/[^0-9.].*$//}] # 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 } set major [lindex [split ${version} .] 0] livecheck.type regex livecheck.url ${homepage}area:download livecheck.regex zeromq-(${major}.\[0-9.\]+)${extract.suffix}