1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name PyQt |
---|
5 | version 3.16 |
---|
6 | revision 0 |
---|
7 | platforms darwin |
---|
8 | categories python devel |
---|
9 | maintainers darwinports@opendarwin.org |
---|
10 | description PyQt is a set of Python bindings for the Qt toolkit |
---|
11 | long_description PyQt is a set of Python bindings for the Qt toolkit. The bindings \ |
---|
12 | are implemented as a set of Python modules: qt, qtcanvas, qtgl, \ |
---|
13 | qtnetwork, qtsql, qttable, qtui and qtxml, and contains 300 \ |
---|
14 | classes and over 5,750 functions and methods. |
---|
15 | homepage http://www.riverbankcomputing.co.uk/pyqt/index.php |
---|
16 | master_sites http://www.riverbankcomputing.com/Downloads/PyQt3/GPL/ |
---|
17 | distname ${name}-mac-gpl-${version} |
---|
18 | |
---|
19 | checksums md5 46deec16bad11e3f216b19fd5e3d1f9b |
---|
20 | |
---|
21 | depends_lib port:py-sip \ |
---|
22 | port:qt3-mac |
---|
23 | |
---|
24 | patchfiles patch-configure.py |
---|
25 | |
---|
26 | pre-configure { |
---|
27 | file copy -force ${prefix}/share/qt3/mkspecs/macx-g++/qmake.conf \ |
---|
28 | ${worksrcpath}/qmake.conf |
---|
29 | |
---|
30 | reinplace "s|-framework Python||" ${worksrcpath}/qmake.conf |
---|
31 | reinplace "s|-bundle|-bundle -flat_namespace -undefined suppress|" \ |
---|
32 | ${worksrcpath}/qmake.conf |
---|
33 | } |
---|
34 | |
---|
35 | configure.cmd "echo yes | ${prefix}/bin/python2.4 configure.py \ |
---|
36 | -g ${prefix}/include/qt3 -q ${prefix} -y qt-mt" |
---|
37 | configure.pre_args |
---|
38 | |
---|
39 | post-destroot { |
---|
40 | xinstall -m 755 -d ${destroot}/${prefix}/share/doc |
---|
41 | file copy ${worksrcpath}/doc ${destroot}/${prefix}/share/doc/${name} |
---|
42 | file copy ${worksrcpath}/examples2 ${destroot}/${prefix}/share/doc/${name} |
---|
43 | file copy ${worksrcpath}/examples3 ${destroot}/${prefix}/share/doc/${name} |
---|
44 | xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE NEWS README THANKS \ |
---|
45 | ${destroot}${prefix}/share/doc/${name} |
---|
46 | } |
---|