Ticket #48847: Portfile-nghttp2.diff
File Portfile-nghttp2.diff, 2.0 KB (added by Schamschula (Marius Schamschula), 9 years ago) |
---|
-
Portfile
old new 5 5 PortGroup cxx11 1.0 6 6 PortGroup github 1.0 7 7 8 github.setup tatsuhiro-t nghttp2 1.3. 0v8 github.setup tatsuhiro-t nghttp2 1.3.1 v 9 9 set PythonVersion 2.7 10 set PythonBranch [join [lrange [split ${PythonVersion} .] 0 1] ""] 10 11 categories www 11 12 platforms darwin 12 13 maintainers gmail.com:mschamschula openmaintainer … … 20 21 github.tarball_from releases 21 22 use_xz yes 22 23 23 checksums rmd160 776f53c071ee5f0611f6195958007c11a1c39000\24 sha256 85be1e859cf310bd13204c58d1e4539cfb1d74eb5ef6b0146063fa2907d7b3f224 checksums rmd160 07f3a86b6aa640a63653b726509148696108ad2a \ 25 sha256 2497ac04c04168cacab77626cf0d67a673ecec74b367a7619d911ff6add0e24e 25 26 26 27 depends_build port:pkgconfig 27 28 … … 30 31 port:libevent \ 31 32 port:libxml2 \ 32 33 path:lib/libssl.dylib:openssl \ 33 port:py 27-cython \34 port:py 27-setuptools \35 port:python 27\34 port:py${PythonBranch}-cython \ 35 port:py${PythonBranch}-setuptools \ 36 port:python${PythonBranch} \ 36 37 port:zlib 37 38 39 patchfiles patch-src-shrpx.cc.diff 40 38 41 configure.args --disable-silent-rules \ 39 42 --disable-threads 40 43 … … 47 50 PYTHON=${prefix}/bin/python${PythonVersion} \ 48 51 PYTHON_EXTRA_LDFLAGS="-u _PyMac_Error ${frameworks_dir}/Python.framework/Versions/${PythonVersion}/Python" 49 52 50 destroot.env PYTHONPATH=${destroot}${prefix}/lib/python 2.7/site-packages/53 destroot.env PYTHONPATH=${destroot}${prefix}/lib/python${PythonVersion}/site-packages/ 51 54 52 55 pre-destroot { 53 56 xinstall -d ${destroot}${prefix}/lib/python${PythonVersion}/site-packages/