Ticket #10953: py-sip-patch2.txt

File py-sip-patch2.txt, 1.1 KB (added by blair (Blair Zajac), 18 years ago)
Line 
1Index: Portfile
2===================================================================
3--- Portfile    (revision 20215)
4+++ Portfile    (working copy)
5@@ -4,6 +4,7 @@
6 
7 name                   py-sip
8 version                        4.4.5
9+revision               1
10 categories             python devel
11 maintainers            mww@opendarwin.org
12 description            create Python bindings for C and C++ libraries
13@@ -20,7 +21,9 @@
14                 http://www.gtlib.gatech.edu/pub/gentoo/distfiles/
15                 
16 distname               sip-${version}
17-checksums              md5 ba334c4412cee1dbc6c56ff9a58e7bb0
18+checksums              md5 ba334c4412cee1dbc6c56ff9a58e7bb0 \
19+                       sha1 54a77fa84806636239834d88b6f9c216b74d6c05 \
20+                       rmd160 c74640a9d64da539afb6e58575ff1304415830a0
21 dist_subdir            python
22 
23 depends_lib            port:python24
24@@ -32,8 +35,11 @@
25                                -e ${prefix}/include/python2.4 \
26                                -v ${prefix}/share/sip \
27                                -p macx-g++
28-configure.post_args    LFLAGS=-L${prefix}/lib
29+configure.post_args    LFLAGS="-F${prefix}/Library/Frameworks -L${prefix}/lib"
30 
31+test.run       yes
32+test.cmd       cd siplib && ${prefix}/bin/python2.4 -c 'import sip'
33+
34 post-destroot {
35        xinstall -m 755 -d ${destroot}/${prefix}/share/doc
36        file copy ${worksrcpath}/doc ${destroot}/${prefix}/share/doc/${name}