Ticket #46981: Portfile

File Portfile, 1.8 KB (added by Schamschula (Marius Schamschula), 10 years ago)
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           github 1.0
6
7github.setup        tatsuhiro-t nghttp2 0.7.5 v
8categories          www
9license             MIT
10maintainers         gmail.com:mschamschula openmaintainer
11description         nghttp2 is an implementation of HTTP/2 in C.
12long_description    ${description} Included are a HTTP/2 client, server and proxy. The \
13                    package also provides a load test and benchmarking tool for HTTP/2.
14platforms           darwin
15use_xz              yes
16
17checksums           rmd160 049b966448247caee40425de482a125679ce5163 \
18                    sha256 b2a05b4481881228db90314e14cb33511037a9e5940e31b826b688f27a6628d1
19
20depends_build       port:pkgconfig
21
22depends_lib         port:jansson \
23                    port:libev \
24                    port:libevent \
25                    port:libxml2 \
26                    port:openssl \
27                    port:py27-cython \
28                    port:py27-setuptools \
29                    port:python27 \
30                    port:zlib
31
32configure.args      --disable-threads
33
34configure.env       PYTHON=${prefix}/bin/python2.7 CYTHON=${prefix}/bin/cython-2.7 \
35                    JANSSON_CFLAGS=-I${prefix}/include JANSSON_LIBS="-L${prefix}/lib -ljansson" \
36                    LIBEVENT_OPENSSL_CFLAGS=-I${prefix}/include/event2 \
37                    LIBEVENT_OPENSSL_LIBS="-L${prefix}/lib -levent -levent_openssl" \
38                    OPENSSL_CFLAGS=-I${prefix}/include/openssl \
39                    OPENSSL_LIBS="-L${prefix}/lib -lcrypto -lssl" \
40                    PYTHON_EXTRA_LDFLAGS="-u _PyMac_Error ${prefix}/Library/Frameworks/Python.framework/Versions/2.7/Python"