1 | --- Portfile.orig 2006-08-18 15:42:04.000000000 -0400 |
---|
2 | +++ Portfile 2006-08-18 16:51:47.000000000 -0400 |
---|
3 | @@ -1,11 +1,11 @@ |
---|
4 | -# $Id: Portfile,v 1.11 2006/04/23 18:31:41 mww Exp $ |
---|
5 | +# $Id: $ |
---|
6 | |
---|
7 | PortSystem 1.0 |
---|
8 | |
---|
9 | name py-sip |
---|
10 | -version 4.4.2 |
---|
11 | +version 4.4.5 |
---|
12 | +revision 0 |
---|
13 | categories python devel |
---|
14 | -platforms darwin |
---|
15 | maintainers mww@opendarwin.org |
---|
16 | description create Python bindings for C and C++ libraries |
---|
17 | long_description SIP is a tool that makes it very easy to create Python \ |
---|
18 | @@ -15,42 +15,25 @@ |
---|
19 | C or C++ library. |
---|
20 | |
---|
21 | homepage http://www.riverbankcomputing.co.uk/sip/ |
---|
22 | -master_sites http://www.riverbankcomputing.com/Downloads/sip4/ |
---|
23 | +master_sites http://www.riverbankcomputing.com/Downloads/sip4/ \ |
---|
24 | + http://gentoo.mirrors.easynews.com/linux/gentoo/distfiles/ \ |
---|
25 | + http://gentoo.osuosl.org/distfiles/ \ |
---|
26 | + http://www.gtlib.gatech.edu/pub/gentoo/distfiles/ |
---|
27 | + |
---|
28 | distname sip-${version} |
---|
29 | -checksums sha1 e1a7a0aa558750f78da3d2561ca457fcfb81bc3b |
---|
30 | +checksums md5 ba334c4412cee1dbc6c56ff9a58e7bb0 |
---|
31 | dist_subdir python |
---|
32 | |
---|
33 | depends_lib port:python24 |
---|
34 | |
---|
35 | -patchfiles patch-specs_macx-g++ patch-siputils.py |
---|
36 | +patchfiles patch-siputils.py |
---|
37 | |
---|
38 | configure.cmd ${prefix}/bin/python2.4 configure.py |
---|
39 | configure.pre_args -d ${prefix}/lib/python2.4/site-packages \ |
---|
40 | -e ${prefix}/include/python2.4 \ |
---|
41 | - -v ${prefix}/share/sip |
---|
42 | -configure.post_args LFLAGS="-L${prefix}/lib" |
---|
43 | - |
---|
44 | -#variant qt3-x11 { |
---|
45 | -# depends_lib-append lib:libqt-mt:qt3 |
---|
46 | -# configure.env-append QTDIR=${prefix} |
---|
47 | -# configure.args-append -l qt-mt |
---|
48 | -# configure.post_args-append INCDIR_QT=${prefix}/include/qt3 |
---|
49 | -#} |
---|
50 | - |
---|
51 | -#variant qt3-mac { |
---|
52 | -# depends_lib-append lib:libqt-mt:qt3-mac |
---|
53 | -# configure.env-append QTDIR=${prefix} |
---|
54 | -# configure.args-append -l qt-mt |
---|
55 | -# configure.post_args-append INCDIR_QT=${prefix}/include/qt3 |
---|
56 | -#} |
---|
57 | - |
---|
58 | -variant darwin { |
---|
59 | - configure.args -p macx-g++ |
---|
60 | -} |
---|
61 | - |
---|
62 | -platform darwin 8 { |
---|
63 | - configure.post_args-append CC=/usr/bin/gcc-4.0 CXX=/usr/bin/g++-4.0 |
---|
64 | -} |
---|
65 | + -v ${prefix}/share/sip \ |
---|
66 | + -p macx-g++ |
---|
67 | +configure.post_args LFLAGS=-L${prefix}/lib |
---|
68 | |
---|
69 | post-destroot { |
---|
70 | xinstall -m 755 -d ${destroot}/${prefix}/share/doc |
---|
71 | @@ -58,4 +41,3 @@ |
---|
72 | xinstall -m 644 -W ${worksrcpath} LICENSE NEWS README THANKS TODO \ |
---|
73 | ${destroot}${prefix}/share/doc/${name} |
---|
74 | } |
---|
75 | - |
---|