| 1 | # $Id: Portfile 65097 2010-03-22 03:03:11Z 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 | name py26-qscintilla |
|---|
| 11 | version 2.4.5 |
|---|
| 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 | http://gentoo.mirrors.easynews.com/linux/gentoo/distfiles/ \ |
|---|
| 29 | http://www.gtlib.gatech.edu/pub/gentoo/distfiles/ \ |
|---|
| 30 | http://gentoo.osuosl.org/distfiles/ |
|---|
| 31 | |
|---|
| 32 | checksums sha1 2401c2214ba0377ad61855c0fac6f6c7c95801d6 |
|---|
| 33 | |
|---|
| 34 | depends_lib port:qscintilla port:python26 port:py26-pyqt4 |
|---|
| 35 | |
|---|
| 36 | universal_variant no |
|---|
| 37 | |
|---|
| 38 | set qt_dir ${prefix}/libexec/qt4-mac |
|---|
| 39 | |
|---|
| 40 | configure.env QTDIR=${qt_dir} |
|---|
| 41 | configure.dir ${worksrcpath}/Python |
|---|
| 42 | configure.cmd "${prefix}/bin/python2.6 configure.py; echo" |
|---|
| 43 | |
|---|
| 44 | build.env QTDIR=${qt_dir} |
|---|
| 45 | build.dir ${worksrcpath}/Python |
|---|
| 46 | build.cmd ${build.cmd} |
|---|
| 47 | |
|---|
| 48 | destroot.env QTDIR=${qt_dir} DESTDIR=${destroot} |
|---|
| 49 | destroot.dir ${worksrcpath}/Python |
|---|
| 50 | destroot.cmd ${build.cmd} install |
|---|
| 51 | |
|---|
| 52 | livecheck.type regex |
|---|
| 53 | livecheck.url ${master_sites} |
|---|
| 54 | livecheck.regex QScintilla-gpl-\(\\d+.\\d+.\\d+\).tar.gz |
|---|