1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | # |
---|
5 | # PortGroup python26 1.0 |
---|
6 | # |
---|
7 | # We do not use the 'PortGroup' sugar since this python module is built |
---|
8 | # quite differently than standard python extension modules. |
---|
9 | |
---|
10 | name py26-qscintilla |
---|
11 | version 2.4.2 |
---|
12 | categories python devel |
---|
13 | maintainers adfernandes openmaintainer |
---|
14 | description Python bindings for QScintilla |
---|
15 | homepage http://www.riverbankcomputing.com/software/qscintilla/ |
---|
16 | platforms darwin |
---|
17 | |
---|
18 | long_description Python bindings for QScintilla, \ |
---|
19 | a port to Qt of Neil Hodgson's Scintilla C++ editor control. |
---|
20 | |
---|
21 | # |
---|
22 | # NOTE: the version of this port must be kept in sync with the 'qscintilla' port, |
---|
23 | # since it contains the 'main' software distribution! |
---|
24 | # |
---|
25 | |
---|
26 | distname QScintilla-gpl-${version} |
---|
27 | master_sites http://www.riverbankcomputing.com/static/Downloads/QScintilla2/ |
---|
28 | |
---|
29 | checksums sha1 17852eedaf3dfc8e8af32249d72130ddd3564019 |
---|
30 | |
---|
31 | depends_lib port:qscintilla port:python26 port:py26-pyqt4 |
---|
32 | |
---|
33 | universal_variant no |
---|
34 | |
---|
35 | set qt_dir ${prefix}/libexec/qt4-mac |
---|
36 | |
---|
37 | configure.env QTDIR=${qt_dir} |
---|
38 | configure.dir ${worksrcpath}/Python |
---|
39 | configure.cmd "${prefix}/bin/python2.6 configure.py; echo" |
---|
40 | |
---|
41 | build.env QTDIR=${qt_dir} |
---|
42 | build.dir ${worksrcpath}/Python |
---|
43 | build.cmd ${build.cmd} |
---|
44 | |
---|
45 | destroot.env QTDIR=${qt_dir} DESTDIR=${destroot} |
---|
46 | destroot.dir ${worksrcpath}/Python |
---|
47 | destroot.cmd ${build.cmd} install |
---|
48 | |
---|
49 | livecheck.type regex |
---|
50 | livecheck.url ${master_sites} |
---|
51 | livecheck.regex QScintilla-gpl-\(\\d+.\\d+.\\d+\).tar.gz |
---|