Ticket #26830: Portfile

File Portfile, 2.2 KB (added by dsdale24@…, 14 years ago)

py27-qscintilla

Line 
1# $Id: Portfile 71156 2010-09-02 20:52:48Z 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
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
14name                py27-qscintilla
15version             2.4.5
16categories          python devel
17maintainers         adfernandes openmaintainer
18description         Python bindings for QScintilla
19homepage            http://www.riverbankcomputing.com/software/qscintilla/
20platforms           darwin
21
22long_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
30distname            QScintilla-gpl-${version}
31master_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
36checksums           md5     8063f8f933513959432c27c5ffecf56b \
37                    sha1    2401c2214ba0377ad61855c0fac6f6c7c95801d6 \
38                    rmd160  d96cf05c879f314ee828ec6a1609bd1864692bd6
39
40depends_lib         port:qscintilla port:python27 port:py27-pyqt4
41
42universal_variant   no
43
44set qt_dir          ${prefix}/libexec/qt4-mac
45
46configure.env       QTDIR=${qt_dir}
47configure.dir       ${worksrcpath}/Python
48configure.cmd       "${prefix}/bin/python2.7 configure.py; echo"
49
50build.env           QTDIR=${qt_dir}
51build.dir           ${worksrcpath}/Python
52build.cmd           ${build.cmd}
53
54destroot.env        QTDIR=${qt_dir} DESTDIR=${destroot}
55destroot.dir        ${worksrcpath}/Python
56destroot.cmd        ${build.cmd} install
57
58livecheck.type      regex
59livecheck.url       ${master_sites}
60livecheck.regex     QScintilla-gpl-\(\\d+.\\d+.\\d+\).tar.gz