Ticket #21372: Portfile.diff
File Portfile.diff, 4.2 KB (added by adfernandes (Andrew Fernandes), 15 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name qscintilla 6 version 2.4 6 version 2.4.2 7 7 categories devel 8 maintainers nomaintainer8 maintainers adfernandes openmaintainer 9 9 description QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor control. 10 10 homepage http://www.riverbankcomputing.com/software/qscintilla/ 11 11 platforms darwin 12 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. 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 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 24 29 distname QScintilla-gpl-${version} 25 30 master_sites http://www.riverbankcomputing.com/static/Downloads/QScintilla2/ 26 31 27 checksums md5 dd69520ec91f1acb97a4eb74ddde37c9 \ 28 sha1 17962bb64d2641f9e181b39fdca39228170488a3 \ 29 rmd160 19e5d5c331705c217c5192b1fcac5d298942db69 32 checksums sha1 17852eedaf3dfc8e8af32249d72130ddd3564019 30 33 31 depends_lib path:bin/qmake-mac:qt4-mac \ 32 path:bin/python:python25 34 depends_lib port:qt4-mac 33 35 34 36 universal_variant no 35 37 36 38 set qt_dir ${prefix}/libexec/qt4-mac 37 39 38 configure.dir ${worksrcpath}/Qt4 39 configure.pre_args INSTALLDIR=${prefix}/lib 40 configure.cmd ${qt_dir}/bin/qmake qscintilla.pro 40 configure.env QTDIR=${qt_dir} 41 configure.cmd "cd ${worksrcpath}/Qt4; ${qt_dir}/bin/qmake qscintilla.pro; \ 42 cd ${worksrcpath}/designer-Qt4; ${qt_dir}/bin/qmake designer.pro; \ 43 echo" 41 44 42 build.dir ${worksrcpath}/Qt4 45 build.env QTDIR=${qt_dir} CPLUS_INCLUDE_PATH=${worksrcpath}/Qt4 LIBRARY_PATH=${worksrcpath}/Qt4 46 build.cmd "cd ${worksrcpath}/Qt4; make; cd ${worksrcpath}/designer-Qt4; make; echo" 43 47 44 build.env QTDIR=${qt_dir} PREFIX=${prefix} 48 destroot.env QTDIR=${qt_dir} INSTALL_ROOT=${destroot} 49 destroot.cmd "cd ${worksrcpath}/Qt4; make install; cd ${worksrcpath}/designer-Qt4; make install; echo" 45 50 46 51 post-build { 47 52 system "install_name_tool -id \ … … 49 54 ${worksrcpath}/Qt4/libqscintilla2.5.dylib" 50 55 } 51 56 52 post-activate { 53 system "cd ${worksrcpath}/Python;python configure.py;make;make install" 54 } 55 56 destroot.env QTDIR=${qt_dir} INSTALL_ROOT=${destroot} 57 58 ## post-configure { 59 ## system "cd ${worksrcpath}/clib/qtc && qmake qtc.pro INSTALLDIR=${prefix}/lib -o Makefile" 60 ## reinplace "s;-lqt;-lqt-mt;" ${worksrcpath}/clib/qtc/Makefile 61 ## } 62 63 64 # 65 ##EOF 57 livecheck.type regex 58 livecheck.url ${master_sites} 59 livecheck.regex QScintilla-gpl-\(\\d+.\\d+.\\d+\).tar.gz