1 | # $Id: Portfile 65097 2010-03-22 03:03:11Z adfernandes@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name qscintilla |
---|
6 | version 2.4.5 |
---|
7 | categories devel |
---|
8 | maintainers adfernandes openmaintainer |
---|
9 | description QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor control. |
---|
10 | homepage http://www.riverbankcomputing.com/software/qscintilla/ |
---|
11 | platforms darwin |
---|
12 | |
---|
13 | long_description QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor control. \ |
---|
14 | As well as features found in standard text editing components, \ |
---|
15 | QScintilla includes features especially useful when editing and \ |
---|
16 | debugging source code. These include support for syntax styling, \ |
---|
17 | error indicators, code completion and call tips. The selection \ |
---|
18 | margin can contain markers like those used in debuggers to indicate \ |
---|
19 | breakpoints and the current line. Styling choices are more open \ |
---|
20 | than with many editors, allowing the use of proportional fonts, \ |
---|
21 | bold and italics, multiple foreground and background colours and \ |
---|
22 | multiple fonts. See the py*-qscintilla port to install python bindings. |
---|
23 | |
---|
24 | # |
---|
25 | # NOTE: the version of this port must be kept in sync with the 'py*-qscintilla' port(s), |
---|
26 | # since they contain the python bindings! |
---|
27 | # |
---|
28 | |
---|
29 | distname QScintilla-gpl-${version} |
---|
30 | master_sites http://www.riverbankcomputing.com/static/Downloads/QScintilla2/ \ |
---|
31 | http://gentoo.mirrors.easynews.com/linux/gentoo/distfiles/ \ |
---|
32 | http://www.gtlib.gatech.edu/pub/gentoo/distfiles/ \ |
---|
33 | http://gentoo.osuosl.org/distfiles/ |
---|
34 | |
---|
35 | checksums sha1 2401c2214ba0377ad61855c0fac6f6c7c95801d6 |
---|
36 | |
---|
37 | depends_lib port:qt4-mac |
---|
38 | |
---|
39 | universal_variant no |
---|
40 | |
---|
41 | set qt_dir ${prefix}/libexec/qt4-mac |
---|
42 | |
---|
43 | configure.env QTDIR=${qt_dir} |
---|
44 | configure.cmd "cd ${worksrcpath}/Qt4; ${qt_dir}/bin/qmake qscintilla.pro; \ |
---|
45 | cd ${worksrcpath}/designer-Qt4; ${qt_dir}/bin/qmake designer.pro; \ |
---|
46 | echo" |
---|
47 | |
---|
48 | build.env QTDIR=${qt_dir} CPLUS_INCLUDE_PATH=${worksrcpath}/Qt4 LIBRARY_PATH=${worksrcpath}/Qt4 |
---|
49 | build.cmd "cd ${worksrcpath}/Qt4; make; cd ${worksrcpath}/designer-Qt4; make; echo" |
---|
50 | |
---|
51 | destroot.env QTDIR=${qt_dir} INSTALL_ROOT=${destroot} |
---|
52 | destroot.cmd "cd ${worksrcpath}/Qt4; make install; cd ${worksrcpath}/designer-Qt4; make install; echo" |
---|
53 | |
---|
54 | post-build { |
---|
55 | system "install_name_tool -id \ |
---|
56 | ${qt_dir}/lib/libqscintilla2.5.dylib \ |
---|
57 | ${worksrcpath}/Qt4/libqscintilla2.5.dylib" |
---|
58 | } |
---|
59 | |
---|
60 | livecheck.type regex |
---|
61 | livecheck.url ${master_sites} |
---|
62 | livecheck.regex QScintilla-gpl-\(\\d+.\\d+.\\d+\).tar.gz |
---|