Ticket #3210: Portfile

File Portfile, 1.1 KB (added by erickt@…, 19 years ago)

portfile for py-pyqt3

Line 
1PortSystem      1.0
2
3name                    py-pyqt3
4version                 3.14.1
5categories              python devel
6maintainers             erickt@dslextreme.com
7description             PyQt is a set of Python bindings for the Qt toolkit
8long_description        PyQt is a set of Python bindings for the Qt toolkit
9homepage                http://www.yzis.org/
10platforms               darwin
11
12distname        PyQt-mac-gpl-${version}
13checksums md5   07acbab4428be3f164a444ff8edc1159
14homepage        http://www.riverbankcomputing.co.uk/PyQt/
15master_sites    http://www.river-bank.demon.co.uk/download/PyQt/
16
17depends_lib     port:python24 \
18                port:py-sip \
19                lib:libqt.3:qt3
20                                       
21configure.cmd           "echo yes | ${prefix}/bin/python2.4 configure.py"
22configure.pre_args
23
24post-destroot {
25        xinstall -m 755 -d ${destroot}/${prefix}/share/doc
26        file copy ${worksrcpath}/doc ${destroot}/${prefix}/share/doc/${name}
27        file copy ${worksrcpath}/examples2 ${destroot}/${prefix}/share/doc/${name}
28        file copy ${worksrcpath}/examples3 ${destroot}/${prefix}/share/doc/${name}
29        xinstall -m 644 -W ${worksrcpath} \
30                ChangeLog LICENSE NEWS README README.AIX README.MacOSX \
31                README.SunOS THANKS \
32                ${destroot}${prefix}/share/doc/${name}
33}