1 | # $Id: Portfile 71156 2010-09-02 20:52:48Z adfernandes@macports.org $ |
---|
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 | # WARNING: The version of these python bindings must match the version |
---|
11 | # number of the installed qscintilla port, or configure/building |
---|
12 | # will fail with strange error messages. |
---|
13 | |
---|
14 | name py27-qscintilla |
---|
15 | version 2.4.5 |
---|
16 | categories python devel |
---|
17 | maintainers adfernandes openmaintainer |
---|
18 | description Python bindings for QScintilla |
---|
19 | homepage http://www.riverbankcomputing.com/software/qscintilla/ |
---|
20 | platforms darwin |
---|
21 | |
---|
22 | long_description Python bindings for QScintilla, \ |
---|
23 | a port to Qt of Neil Hodgson's Scintilla C++ editor control. |
---|
24 | |
---|
25 | # |
---|
26 | # NOTE: the version of this port must be kept in sync with the 'qscintilla' port, |
---|
27 | # since it contains the 'main' software distribution! |
---|
28 | # |
---|
29 | |
---|
30 | distname QScintilla-gpl-${version} |
---|
31 | master_sites http://www.riverbankcomputing.com/static/Downloads/QScintilla2/ \ |
---|
32 | http://gentoo.mirrors.easynews.com/linux/gentoo/distfiles/ \ |
---|
33 | http://www.gtlib.gatech.edu/pub/gentoo/distfiles/ \ |
---|
34 | http://gentoo.osuosl.org/distfiles/ |
---|
35 | |
---|
36 | checksums md5 8063f8f933513959432c27c5ffecf56b \ |
---|
37 | sha1 2401c2214ba0377ad61855c0fac6f6c7c95801d6 \ |
---|
38 | rmd160 d96cf05c879f314ee828ec6a1609bd1864692bd6 |
---|
39 | |
---|
40 | depends_lib port:qscintilla port:python27 port:py27-pyqt4 |
---|
41 | |
---|
42 | universal_variant no |
---|
43 | |
---|
44 | set qt_dir ${prefix}/libexec/qt4-mac |
---|
45 | |
---|
46 | configure.env QTDIR=${qt_dir} |
---|
47 | configure.dir ${worksrcpath}/Python |
---|
48 | configure.cmd "${prefix}/bin/python2.7 configure.py; echo" |
---|
49 | |
---|
50 | build.env QTDIR=${qt_dir} |
---|
51 | build.dir ${worksrcpath}/Python |
---|
52 | build.cmd ${build.cmd} |
---|
53 | |
---|
54 | destroot.env QTDIR=${qt_dir} DESTDIR=${destroot} |
---|
55 | destroot.dir ${worksrcpath}/Python |
---|
56 | destroot.cmd ${build.cmd} install |
---|
57 | |
---|
58 | livecheck.type regex |
---|
59 | livecheck.url ${master_sites} |
---|
60 | livecheck.regex QScintilla-gpl-\(\\d+.\\d+.\\d+\).tar.gz |
---|