Ticket #25068: Portfile

File Portfile, 1.1 KB (added by jrjsmrtn, 14 years ago)

py26-zmq-0.1 Portfile

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$
3
4PortSystem 1.0
5PortGroup python26 1.0
6
7name                    py26-zmq
8version                 0.1
9distname                                pyzmq-${version}
10
11description             Python bindings for ØMQ
12long_description        This package contains Python bindings for ØQM. ØMQ is a \
13                        lightweight and fast messaging implementation.
14maintainers             openmaintainer jrjsmrtn
15categories              python devel net
16platforms               darwin
17
18homepage                http://github.com/ellisonbg/pyzmq
19master_sites            http://github.com/ellisonbg/pyzmq/downloads/
20
21depends_lib                             port:zmq
22# should really be:     port:zmq+gitmaster
23depends_build                   port:py26-cython
24
25fetch.type                              git
26git.url                                 http://github.com/ellisonbg/pyzmq.git
27git.branch                              origin/master
28
29build.cmd                               ${python.bin} setup.py
30
31pre-build {
32        set setup_cfg ${worksrcpath}/setup.cfg
33        file copy ${worksrcpath}/setup.cfg.template ${setup_cfg}
34    reinplace "s|/usr/local/zeromq-dev|${prefix}|g" ${setup_cfg}
35}