Index: Portfile =================================================================== --- Portfile (revision 20215) +++ Portfile (working copy) @@ -4,6 +4,7 @@ name py-sip version 4.4.5 +revision 1 categories python devel maintainers mww@opendarwin.org description create Python bindings for C and C++ libraries @@ -20,7 +21,9 @@ http://www.gtlib.gatech.edu/pub/gentoo/distfiles/ distname sip-${version} -checksums md5 ba334c4412cee1dbc6c56ff9a58e7bb0 +checksums md5 ba334c4412cee1dbc6c56ff9a58e7bb0 \ + sha1 54a77fa84806636239834d88b6f9c216b74d6c05 \ + rmd160 c74640a9d64da539afb6e58575ff1304415830a0 dist_subdir python depends_lib port:python24 @@ -32,8 +35,11 @@ -e ${prefix}/include/python2.4 \ -v ${prefix}/share/sip \ -p macx-g++ -configure.post_args LFLAGS=-L${prefix}/lib +configure.post_args LFLAGS="-F${prefix}/Library/Frameworks -L${prefix}/lib" +test.run yes +test.cmd cd siplib && ${prefix}/bin/python2.4 -c 'import sip' + post-destroot { xinstall -m 755 -d ${destroot}/${prefix}/share/doc file copy ${worksrcpath}/doc ${destroot}/${prefix}/share/doc/${name}