Ticket #43785: patch-devel-zmq.diff

File patch-devel-zmq.diff, 9.0 KB (added by michaelld (Michael Dickens), 10 years ago)
  • zmq/Portfile

     
    44PortSystem          1.0
    55
    66name                zmq
    7 version             3.2.4
    8 categories          devel net
     7
     8categories          devel sysutils net
    99license             LGPL-3+
    1010platforms           darwin
    11 maintainers         inconsistent.nl:merijn
     11maintainers         inconsistent.nl:merijn stromnov michaelld openmaintainer
    1212
    13 description         ØMQ (ZeroMQ) lightweight messaging kernel
     13description         0MQ (ZeroMQ) lightweight messaging kernel
    1414
    15 long_description    The ØMQ lightweight messaging kernel is a library which \
    16                     extends the standard socket interfaces with features \
    17                     traditionally provided by specialised messaging middleware \
    18                     products. ØMQ sockets provide an abstraction of asynchronous \
    19                     message queues, multiple messaging patterns, message \
    20                     filtering (subscriptions), seamless access to multiple \
    21                     transport protocols and more.
     15long_description    \
     16    The 0MQ lightweight messaging kernel is a library which extends the \
     17    standard socket interfaces with features traditionally provided by \
     18    specialised messaging middleware products. 0MQ sockets provide an \
     19    abstraction of asynchronous message queues, multiple messaging patterns, \
     20    message filtering (subscriptions), seamless access to multiple transport \
     21    protocols and more.
    2222
    2323homepage            http://www.zeromq.org/
    2424master_sites        http://download.zeromq.org/
    2525
     26depends_lib-append  port:libsodium
     27
     28if {${subport} eq ${name}} {
     29
     30    version             3.2.4
     31
     32    checksums           rmd160 9f62881bc5d910cc1d1eb91df6be0ad3ca09d541 \
     33                        sha256 df96a141c85b65c2cb6c0db22223126623a09eecbfccb7f74400f3f938742f59
     34
     35    conflicts           zmq-devel zmq22
     36
     37}
     38
     39subport zmq22 {
     40
     41    version             2.2.0
     42
     43    checksums           rmd160 63c6ca84c292a72ffb0e18f1a97a6fa744a6be7c \
     44                        sha256 43904aeb9ea6844f72ca02e4e53bf1d481a1a0264e64979da761464e88604637
     45
     46    conflicts           zmq zmq-devel
     47
     48}
     49
     50subport zmq-devel {
     51
     52    version             4.0.4
     53
     54    checksums           rmd160 6971d9842ce6bc9197c9c8179eabde29ad54a81a \
     55                        sha256 1ef71d46e94f33e27dd5a1661ed626cd39be4d2d6967792a275040e34457d399
     56
     57    conflicts           zmq zmq22
     58
     59}
     60
    2661distname            zeromq-${version}
    2762worksrcdir          zeromq-[strsed ${version} {g/[^0-9.].*$//}]
    2863
    29 checksums           rmd160  9f62881bc5d910cc1d1eb91df6be0ad3ca09d541 \
    30                     sha256  df96a141c85b65c2cb6c0db22223126623a09eecbfccb7f74400f3f938742f59
     64# macports libtool allows linking against libc++,
     65# the libtool in the distribution does not
    3166
    32 conflicts           zmq20 zmq22
    33 
    34 universal_variant   yes
    35 
    36 # macports libtool allows linking against libc++, the libtool in the distribution does not
    3767depends_build       port:libtool
    3868build.args          LIBTOOL=${prefix}/bin/glibtool
    3969
     
    4171    configure.args-append   --with-pgm
    4272}
    4373
     74set major           [lindex [split ${version} .] 0]
     75
    4476livecheck.type      regex
    4577livecheck.url       ${homepage}area:download
    46 livecheck.regex     zeromq-(\[0-9.\]+)${extract.suffix}
     78livecheck.regex     zeromq-(${major}.\[0-9.\]+)${extract.suffix}
  • zmq-devel/Portfile

     
    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$
    3 
    4 PortSystem          1.0
    5 
    6 name                zmq-devel
    7 version             4.0.4
    8 revision            1
    9 categories          devel net
    10 platforms           darwin
    11 license             LGPL-3+
    12 
    13 maintainers         stromnov openmaintainer
    14 
    15 description         ØMQ (ZeroMQ) lightweight messaging kernel
    16 
    17 long_description    The ØMQ lightweight messaging kernel is a library which \
    18                     extends the standard socket interfaces with features \
    19                     traditionally provided by specialised messaging middleware \
    20                     products. ØMQ sockets provide an abstraction of asynchronous \
    21                     message queues, multiple messaging patterns, message \
    22                     filtering (subscriptions), seamless access to multiple \
    23                     transport protocols and more.
    24 
    25 homepage            http://www.zeromq.org/
    26 master_sites        http://download.zeromq.org/
    27 
    28 distname            zeromq-${version}
    29 worksrcdir          zeromq-[strsed ${version} {g/[^0-9.].*$//}]
    30 
    31 checksums           rmd160  6971d9842ce6bc9197c9c8179eabde29ad54a81a \
    32                     sha256  1ef71d46e94f33e27dd5a1661ed626cd39be4d2d6967792a275040e34457d399
    33 
    34 conflicts           zmq zmq20 zmq22
    35 
    36 universal_variant   yes
    37 
    38 depends_lib-append  port:libsodium
    39 
    40 variant pgm description {build with PGM extension} {
    41     configure.args-append   --with-pgm
    42 }
    43 
    44 livecheck.type      regex
    45 livecheck.url       ${homepage}area:download
    46 livecheck.regex     {zeromq-([0-9.]+(?:-rc[0-9])?)\.[tz]}
  • zmq20/Portfile

     
    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$
    3 
    4 PortSystem          1.0
    5 name                zmq20
    6 version             2.0.11
    7 categories          devel net
    8 license             LGPL-3+
    9 platforms           darwin
    10 maintainers         nomaintainer
    11 description         ØMQ lightweight messaging kernel, 2.0.x branch
    12 long_description    \
    13     The ØMQ lightweight messaging kernel is a library which extends the \
    14     standard socket interfaces with features traditionally provided by \
    15     specialised messaging middleware products. ØMQ sockets provide an \
    16     abstraction of asynchronous message queues, multiple messaging patterns, \
    17     message filtering (subscriptions), seamless access to multiple transport \
    18     protocols and more.
    19 
    20 conflicts           zmq
    21 homepage            http://www.zeromq.org/
    22 master_sites        http://download.zeromq.org/
    23 distname            zeromq-${version}
    24 checksums           md5     72cdd7141cc3a002c3acadd4dadbfd75 \
    25                     sha1    45f1de83eb41cf7b6f074b874ef9b9718446f43a \
    26                     rmd160  09ab5d4d67010671fc52acb190cbdae5f1f4abf7
    27 
    28 universal_variant   no
    29 variant pgm description {build with PGM extension} {
    30     configure.args-append   --with-pgm
    31 }
    32 livecheck.type      regex
    33 livecheck.url       ${homepage}area:download
    34 livecheck.regex     zeromq-(\[0-9.\]+)${extract.suffix}
  • zmq22/Portfile

     
    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$
    3 
    4 PortSystem          1.0
    5 
    6 name                zmq22
    7 version             2.2.0
    8 revision            0
    9 categories          devel net
    10 license             LGPL-3+
    11 platforms           darwin
    12 maintainers         inconsistent.nl:merijn
    13 
    14 description         ØMQ (ZeroMQ) lightweight messaging kernel, 2.2.x branch
    15 
    16 long_description    The ØMQ lightweight messaging kernel is a library which \
    17                     extends the standard socket interfaces with features \
    18                     traditionally provided by specialised messaging middleware \
    19                     products. ØMQ sockets provide an abstraction of asynchronous \
    20                     message queues, multiple messaging patterns, message \
    21                     filtering (subscriptions), seamless access to multiple \
    22                     transport protocols and more.
    23 
    24 homepage            http://www.zeromq.org/
    25 master_sites        http://download.zeromq.org/
    26 
    27 distname            zeromq-${version}
    28 
    29 checksums           rmd160  63c6ca84c292a72ffb0e18f1a97a6fa744a6be7c \
    30                     sha256  43904aeb9ea6844f72ca02e4e53bf1d481a1a0264e64979da761464e88604637
    31 
    32 if {[catch {set installed [lindex [registry_active zmq] 0]}]} {
    33     conflicts       zmq
    34 } else {
    35     set version [lindex $installed 1]
    36     if {[vercmp $version 3.2] < 0} {
    37         pre-activate {
    38             # provide an upgrade path for the zmq-update to 3.2
    39             registry_deactivate_composite zmq "" [list ports_nodepcheck 1]
    40         }
    41     } else {
    42         conflicts   zmq
    43     }
    44 }
    45 
    46 conflicts-append    zmq20
    47 
    48 universal_variant   yes
    49 
    50 variant pgm description {build with PGM extension} {
    51     configure.args-append   --with-pgm
    52 }
    53 
    54 livecheck.type      regex
    55 livecheck.url       ${homepage}area:download
    56 livecheck.regex     zeromq-(\[0-9.\]+)${extract.suffix}