# $Id: Portfile 37929 2008-06-29 22:28:34Z ryandesign@macports.org $ PortSystem 1.0 name py25-pyqt4 version 4.4.2 platforms macosx categories python devel maintainers saispo@macports.org description PyQt4 is a set of Python bindings for the Qt4 toolkit long_description \ PyQt4 is a set of Python bindings for the Qt4 toolkit. The \ bindings are implemented as a set of Python modules: qt, \ qtcanvas, qtgl, qtnetwork, qtsql, qttable, qtui and qtxml, \ and contains 300 classes and over 5,750 functions and methods. homepage http://www.riverbankcomputing.co.uk/pyqt/index.php master_sites http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/ \ http://pyqwt.sourceforge.net/support/ distname PyQt-mac-gpl-${version} checksums md5 d9ee5b863513e27799898fcd543a4443 \ sha1 88e4ac07af67726f38d8c9ff5a5014c153da48f3 \ rmd160 24eb43818e28230258edf6e665b2fbe92b240343 depends_lib port:py25-sip port:qt4-mac #patchfiles patch-configure.py pre-configure { file copy -force ${prefix}/share/qt4-mac/mkspecs/macx-g++/qmake.conf \ ${worksrcpath}/qmake.conf reinplace "s|-bundle|-bundle -flat_namespace -undefined suppress|" \ ${worksrcpath}/qmake.conf } configure.cmd "${prefix}/bin/python2.5 configure.py \ -g -q ${prefix}/bin/qmake \ --confirm-license" configure.pre_args configure.post_args LFLAGS="-F${prefix}/Library/Frameworks -L${prefix}/lib" test.run yes test.cmd cd qt && ${prefix}/bin/python2.5 -c 'import PyQt4' post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name} file copy ${worksrcpath}/examples \ ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} \ ChangeLog GPL_EXCEPTION.TXT GPL_EXCEPTION_ADDENDUM.TXT \ LICENSE.GPL2 LICENSE.GPL3 OPENSOURCE-NOTICE.TXT NEWS README \ THANKS \ ${destroot}${prefix}/share/doc/${name} }