Ticket #23956: Portfile.3

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

py31-qscintilla Portfile

Line 
1# $Id: Portfile 65097 2010-03-22 03:03:11Z adfernandes@macports.org $
2
3PortSystem          1.0
4#
5# PortGroup           python31 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                py31-qscintilla
11version             2.4.4
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    4b6ecb8090a546b14fa4c0ce86ff2c7e97261005
33
34depends_lib         port:qscintilla port:python31 port:py31-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/python3.1 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