Ticket #26331: Portfile.2

File Portfile.2, 1.9 KB (added by dsdale24@…, 14 years ago)

py26

Line 
1# $Id: Portfile 65097 2010-03-22 03:03:11Z adfernandes@macports.org $
2
3PortSystem          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
10name                py26-qscintilla
11version             2.4.5
12categories          python devel
13maintainers         adfernandes openmaintainer
14description         Python bindings for QScintilla
15homepage            http://www.riverbankcomputing.com/software/qscintilla/
16platforms           darwin
17
18long_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
26distname            QScintilla-gpl-${version}
27master_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
32checksums           sha1    2401c2214ba0377ad61855c0fac6f6c7c95801d6
33
34depends_lib         port:qscintilla port:python26 port:py26-pyqt4
35
36universal_variant   no
37
38set qt_dir          ${prefix}/libexec/qt4-mac
39
40configure.env       QTDIR=${qt_dir}
41configure.dir       ${worksrcpath}/Python
42configure.cmd       "${prefix}/bin/python2.6 configure.py; echo"
43
44build.env           QTDIR=${qt_dir}
45build.dir           ${worksrcpath}/Python
46build.cmd           ${build.cmd}
47
48destroot.env        QTDIR=${qt_dir} DESTDIR=${destroot}
49destroot.dir        ${worksrcpath}/Python
50destroot.cmd        ${build.cmd} install
51
52livecheck.type      regex
53livecheck.url       ${master_sites}
54livecheck.regex     QScintilla-gpl-\(\\d+.\\d+.\\d+\).tar.gz