Ticket #25067: Portfile-zmq.diff

File Portfile-zmq.diff, 2.9 KB (added by jrjsmrtn, 14 years ago)
  • Portfile

    old new  
    1 # $Id: Portfile 53957 2009-07-17 07:57:58Z ryandesign@macports.org $
     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$
    23
    34PortSystem 1.0
    45name                    zmq
    5 version                 1.0.0
    6 description             Ultra-fast AMQP-compliant messaging server
    7 long_description        0MQ is a lightweight messaging kernel. It achieves 25 \
    8                         microsecond end-to-end latencies and 2.8 million messages \
    9                         per second. It is intended to be fully AMQP-compliant.
     6version                 2.0.6
     7description             ØMQ lightweight messaging kernel
     8long_description        The ØMQ lightweight messaging kernel is a library which \
     9                        extends the standard socket interfaces with features \
     10                        traditionally provided by specialised messaging middleware \
     11                        products. ØMQ sockets provide an abstraction of asynchronous \
     12                        message queues, multiple messaging patterns, message \
     13                        filtering (subscriptions), seamless access to multiple \
     14                        transport protocols and more.
    1015maintainers             openmaintainer brett
    1116categories              sysutils net
    1217platforms               darwin
    1318homepage                http://www.zeromq.org/
    1419master_sites            http://www.zeromq.org/local--files/area:download/
    15 checksums               sha1 2013d8739ab03b14f28f46a355171d9680c27b20
    16 configure.args          --mandir=${prefix}/share/man \
    17                         --with-c
    18 # configure.env           JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6
     20distname                                zeromq-${version}
     21checksums               md5     ffb5d724d1400550a12c81dd81874892 \
     22                            sha1    403ed9fe9626407fae4a20938a85e699517cef6c \
     23                        rmd160  ef45ae6f78651012fb93e0c202fd82b120a0b363
    1924
    20 # variant python description {build Python language binding} {
    21 #     depends_lib-append     port:python26
    22 #     configure.args-append  --with-python
    23 # }
     25variant gitmaster description {Use git master branch} {
     26        fetch.type                      git
     27        git.url                         http://github.com/sustrik/zeromq2.git
     28        git.branch                      origin/master
    2429
    25 variant java description {build Java language binding} {
    26     depends_lib-append bin:java:kaffe
    27     configure.args-append   --with-java
    28 }
    29 
    30 variant amqp description {build libzmq with AMQP extension} {
    31     configure.args-append   --with-amqp
    32 }
    33 
    34 variant ruby description {build Ruby language binding} {
    35     depends_lib-append     port:ruby
    36     configure.args-append   --with-ruby
    37     configure.args-append   --with-ruby-headersdir=${prefix}/lib/ruby/1.8/i686-darwin9
     30    post-patch {
     31        system "cd ${worksrcpath} && ./autogen.sh"
     32    }
    3833}