# $Id: Portfile 72957 2010-10-30 20:26:02Z jmr@macports.org $ PortSystem 1.0 name py26-pyqt3 version 3.17.4 platforms macosx supported_archs i386 ppc categories python devel maintainers blair description PyQt is a set of Python bindings for the Qt toolkit long_description \ PyQt is a set of Python bindings for the Qt 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/PyQt3/GPL/ \ http://pyqwt.sourceforge.net/support/ \ http://distfiles.macports.org/py-pyqt3 distname PyQt-mac-gpl-${version} checksums md5 b14ab1b52e4e1a529a7fbca586b5ed8f \ sha1 e5b1c7ca98a8366db46a9d5d4be7b43f14b2349e \ rmd160 f5f6e7be5475b91a71473a2352a2cba3a5b403dc depends_lib port:qt3-mac port:py26-sip-qt3 patchfiles patch-configure.py pre-configure { file copy -force ${prefix}/share/qt3/mkspecs/macx-g++/qmake.conf \ ${worksrcpath}/qmake.conf reinplace "s|-bundle|-bundle -flat_namespace -undefined suppress|" \ ${worksrcpath}/qmake.conf } configure.cmd "echo yes | ${prefix}/bin/python2.6 configure.py \ -g ${prefix}/include/qt3 -q ${prefix} -y qt-mt" configure.pre_args configure.post_args LFLAGS="-F${prefix}/Library/Frameworks -L${prefix}/lib" test.run yes test.cmd cd qt && ${prefix}/bin/python2.6 -c 'import qt' post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name} file copy ${worksrcpath}/examples2 \ ${destroot}${prefix}/share/doc/${name} file copy ${worksrcpath}/examples3 \ ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} \ ChangeLog LICENSE NEWS README THANKS \ ${destroot}${prefix}/share/doc/${name} }