# $Id: Portfile 78594 2011-05-13 17:25:06Z jmr@macports.org $ PortSystem 1.0 name py26-sip-qt3 version 4.7.4 categories python devel maintainers blair platforms macosx description create Python bindings for C and C++ libraries long_description This version of SIP is for building py26-pyqt3 on \ Mac OS X 10.6. This port not meant to coexist with \ py26-sip for Qt4. 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/static/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 3bae6d0fb931fe2ddcd6f6c1da245afa \ sha1 be35863fae6a14f092cd3ce47c3ab545b9233168 \ rmd160 8682a1e5cbf0f8b42f3ebe99d4b9e0b363ce8034 dist_subdir python conflicts py26-sip depends_lib port:python26 patchfiles patch-siputils.py.diff configure.cmd ${prefix}/bin/python2.6 configure.py configure.pre_args -d ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages \ -e ${prefix}/include/python2.6 \ -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.6 -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.6 ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/compileall.py ${destroot}${prefix}" system "${prefix}/bin/python2.6 -O ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/compileall.py ${destroot}${prefix}" }