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