1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name PyQt |
---|
5 | version 3.16 |
---|
6 | revision 0 |
---|
7 | platforms macosx |
---|
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|-bundle|-bundle -flat_namespace -undefined suppress|" \ |
---|
31 | ${worksrcpath}/qmake.conf |
---|
32 | } |
---|
33 | |
---|
34 | configure.cmd "echo yes | ${prefix}/bin/python configure.py \ |
---|
35 | -g ${prefix}/include/qt3 -q ${prefix} -y qt-mt" |
---|
36 | configure.pre_args |
---|
37 | |
---|
38 | post-destroot { |
---|
39 | xinstall -m 755 -d ${destroot}/${prefix}/share/doc |
---|
40 | file copy ${worksrcpath}/doc ${destroot}/${prefix}/share/doc/${name} |
---|
41 | file copy ${worksrcpath}/examples2 ${destroot}/${prefix}/share/doc/${name} |
---|
42 | file copy ${worksrcpath}/examples3 ${destroot}/${prefix}/share/doc/${name} |
---|
43 | xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE NEWS README THANKS \ |
---|
44 | ${destroot}${prefix}/share/doc/${name} |
---|
45 | } |
---|