# $Id: Portfile 30513 2007-10-30 04:46:51Z markd@macports.org $ PortSystem 1.0 name py-sip version 4.6 categories python devel maintainers blair openmaintainer description create Python bindings for C and C++ libraries long_description SIP is a tool that makes it very easy to create \ Python bindings for C and C++ libraries. \ It was originally developed to create PyQt, \ the Python bindings for the Qt toolkit, \ but can be used to create bindings for any \ C or C++ library. homepage http://www.riverbankcomputing.co.uk/sip/ master_sites http://www.riverbankcomputing.com/Downloads/sip4/ \ http://gentoo.mirrors.easynews.com/linux/gentoo/distfiles/ \ http://gentoo.osuosl.org/distfiles/ \ http://www.gtlib.gatech.edu/pub/gentoo/distfiles/ distname sip-${version} checksums md5 2f57b65de36e85067b3bdf5830315460 \ sha1 604fef1204942146091df32f0e2276c5ab77a71c \ rmd160 3453108db9d07cdd4ab894f0e9f2f9bf4ba139c8 dist_subdir python depends_lib port:python24 patchfiles patch-siputils.py configure.cmd ${prefix}/bin/python2.4 configure.py configure.pre_args -d ${prefix}/lib/python2.4/site-packages \ -e ${prefix}/include/python2.4 \ -v ${prefix}/share/sip \ -p macx-g++ 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} xinstall -m 644 -W ${worksrcpath} LICENSE NEWS README THANKS TODO \ ${destroot}${prefix}/share/doc/${name} system "${prefix}/bin/python2.4 ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/compileall.py ${destroot}${prefix}" system "${prefix}/bin/python2.4 -O ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/compileall.py ${destroot}${prefix}" }