Ticket #21372: Portfile

File Portfile, 1.6 KB (added by adfernandes (Andrew Fernandes), 15 years ago)
Line 
1# $Id:  $
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.2
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
29checksums           sha1    17852eedaf3dfc8e8af32249d72130ddd3564019
30
31depends_lib         port:qscintilla port:python26 port:py26-pyqt4
32
33universal_variant   no
34
35set qt_dir          ${prefix}/libexec/qt4-mac
36
37configure.env       QTDIR=${qt_dir}
38configure.dir       ${worksrcpath}/Python
39configure.cmd       "${prefix}/bin/python2.6 configure.py; echo"
40
41build.env           QTDIR=${qt_dir}
42build.dir           ${worksrcpath}/Python
43build.cmd           ${build.cmd}
44
45destroot.env        QTDIR=${qt_dir} DESTDIR=${destroot}
46destroot.dir        ${worksrcpath}/Python
47destroot.cmd        ${build.cmd} install
48
49livecheck.type      regex
50livecheck.url       ${master_sites}
51livecheck.regex     QScintilla-gpl-\(\\d+.\\d+.\\d+\).tar.gz