source: trunk/dports/devel/zmq/Portfile

Last change on this file was 154294, checked in by michaelld@…, 13 months ago

zmq-devel: update to 21e48475 (20161023).

File size: 3.0 KB
Line 
1# -*- 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
2# $Id: Portfile 154294 2016-10-26 16:38:50Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7name                zmq
8categories          devel sysutils net
9platforms           darwin
10license             LGPL-3+
11
12maintainers         inconsistent.nl:merijn stromnov michaelld openmaintainer
13
14description         0MQ (ZeroMQ) lightweight messaging kernel
15
16long_description    \
17    The ${description} is a library which extends the \
18    standard socket interfaces with features traditionally provided by \
19    specialised messaging middleware products. 0MQ sockets provide an \
20    abstraction of asynchronous message queues, multiple messaging patterns, \
21    message filtering (subscriptions), seamless access to multiple transport \
22    protocols and more.
23
24if {${name} eq ${subport}} {
25    github.setup        zeromq zeromq4-1 4.1.5 v
26    revision            1
27    checksums       \
28        rmd160 952683a27697b8ccc9fca3d0766a2b6c76a837ae \
29        sha256 226e7d31d3ef2df6b5da86c3ec6f97a379aac1200a8ebb2ce82d481d40cb64bc
30
31    conflicts           zmq-devel zmq22 zmq3
32
33    # special livecheck, because zmq keeps different repos for new
34    # versions; check the homepage instead
35
36    homepage            http://www.zeromq.org/
37    livecheck.type      regex
38    livecheck.url       ${homepage}intro:get-the-software
39    livecheck.regex     Current Stable Release (\[0-9.\]+)
40}
41
42# Legacy subport (no longer supported)
43subport zmq3 {
44    github.setup        zeromq zeromq3-x 3.2.5 v
45    revision            1
46
47    checksums           rmd160 959e1403e4c8e36603711c9cf3bb5ff5cd5727aa \
48                        sha256 3ba8fbdee4845e26f25f3d1d43492bc182077338f4e857fa50a06e1b21bade7f
49
50    conflicts           zmq zmq-devel zmq22
51}
52
53# Legacy subport (as a dependency for py5-zeromq)
54subport zmq22 {
55    github.setup        zeromq zeromq2-x 2.2.0 v
56    revision            2
57    checksums           rmd160 5bf0cfe29e26348dc4c201764d099a8117c43735 \
58                        sha256 e021b62c6be211b5a1ac4b9e038068e0a8caaf81c22ee050183b25e991825e05
59
60    conflicts           zmq zmq-devel zmq3
61}
62
63subport zmq-devel {
64    github.setup        zeromq zeromq4-1 21e484750e4c13e81597bbb4cf6d178ef05e8631
65    version             20161023
66    checksums           rmd160 875cb70f072f5a1b35354ff15168d68eaf6c958f \
67                        sha256 6f2936aefcfe4a47de8365dd5c4de259f8567d14da0220a82755c3ba174a849c
68
69    depends_lib-append  port:libsodium
70
71    conflicts           zmq zmq22 zmq3
72}
73
74# override github information
75
76homepage            http://www.zeromq.org/
77
78# common directory for storing downloaded tarballs
79
80dist_subdir         zmq
81
82# use autoconf / automake
83
84use_autoconf        yes
85autoconf.cmd        ./autogen.sh
86depends_build-append port:automake port:autoconf
87
88# macports libtool allows linking against libc++,
89# the libtool in the distribution does not
90
91depends_build-append port:libtool port:pkgconfig
92build.args          LIBTOOL=${prefix}/bin/glibtool
Note: See TracBrowser for help on using the repository browser.