[65031] trunk/dports
adfernandes at macports.org
adfernandes at macports.org
Fri Mar 19 16:38:38 PDT 2010
Revision: 65031
http://trac.macports.org/changeset/65031
Author: adfernandes at macports.org
Date: 2010-03-19 16:38:37 -0700 (Fri, 19 Mar 2010)
Log Message:
-----------
Fix and clean up qscintilla port; split python variant to py26-qscintilla; closes #21372
Modified Paths:
--------------
trunk/dports/devel/qscintilla/Portfile
Added Paths:
-----------
trunk/dports/python/py26-qscintilla/
trunk/dports/python/py26-qscintilla/Portfile
Modified: trunk/dports/devel/qscintilla/Portfile
===================================================================
--- trunk/dports/devel/qscintilla/Portfile 2010-03-19 19:54:23 UTC (rev 65030)
+++ trunk/dports/devel/qscintilla/Portfile 2010-03-19 23:38:37 UTC (rev 65031)
@@ -3,45 +3,50 @@
PortSystem 1.0
name qscintilla
-version 2.4
+version 2.4.2
categories devel
-maintainers nomaintainer
+maintainers adfernandes openmaintainer
description QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor control.
homepage http://www.riverbankcomputing.com/software/qscintilla/
platforms darwin
-long_description QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor control. \
- As well as features found in standard text editing components, \
- QScintilla includes features especially useful when editing and \
- debugging source code. These include support for syntax styling, \
- error indicators, code completion and call tips. The selection \
- margin can contain markers like those used in debuggers to indicate \
- breakpoints and the current line. Styling choices are more open \
- than with many editors, allowing the use of proportional fonts, \
- bold and italics, multiple foreground and background colours and \
- multiple fonts.
+long_description QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor control. \
+ As well as features found in standard text editing components, \
+ QScintilla includes features especially useful when editing and \
+ debugging source code. These include support for syntax styling, \
+ error indicators, code completion and call tips. The selection \
+ margin can contain markers like those used in debuggers to indicate \
+ breakpoints and the current line. Styling choices are more open \
+ than with many editors, allowing the use of proportional fonts, \
+ bold and italics, multiple foreground and background colours and \
+ multiple fonts. See the py*-qscintilla port to install python bindings.
+#
+# NOTE: the version of this port must be kept in sync with the 'py*-qscintilla' port(s),
+# since they contain the python bindings!
+#
+
distname QScintilla-gpl-${version}
master_sites http://www.riverbankcomputing.com/static/Downloads/QScintilla2/
-checksums md5 dd69520ec91f1acb97a4eb74ddde37c9 \
- sha1 17962bb64d2641f9e181b39fdca39228170488a3 \
- rmd160 19e5d5c331705c217c5192b1fcac5d298942db69
+checksums sha1 17852eedaf3dfc8e8af32249d72130ddd3564019
-depends_lib path:bin/qmake-mac:qt4-mac \
- path:bin/python:python25
+depends_lib port:qt4-mac
universal_variant no
set qt_dir ${prefix}/libexec/qt4-mac
-configure.dir ${worksrcpath}/Qt4
-configure.pre_args INSTALLDIR=${prefix}/lib
-configure.cmd ${qt_dir}/bin/qmake qscintilla.pro
+configure.env QTDIR=${qt_dir}
+configure.cmd "cd ${worksrcpath}/Qt4; ${qt_dir}/bin/qmake qscintilla.pro; \
+ cd ${worksrcpath}/designer-Qt4; ${qt_dir}/bin/qmake designer.pro; \
+ echo"
-build.dir ${worksrcpath}/Qt4
+build.env QTDIR=${qt_dir} CPLUS_INCLUDE_PATH=${worksrcpath}/Qt4 LIBRARY_PATH=${worksrcpath}/Qt4
+build.cmd "cd ${worksrcpath}/Qt4; make; cd ${worksrcpath}/designer-Qt4; make; echo"
-build.env QTDIR=${qt_dir} PREFIX=${prefix}
+destroot.env QTDIR=${qt_dir} INSTALL_ROOT=${destroot}
+destroot.cmd "cd ${worksrcpath}/Qt4; make install; cd ${worksrcpath}/designer-Qt4; make install; echo"
post-build {
system "install_name_tool -id \
@@ -49,17 +54,6 @@
${worksrcpath}/Qt4/libqscintilla2.5.dylib"
}
-post-activate {
- system "cd ${worksrcpath}/Python;python configure.py;make;make install"
-}
-
-destroot.env QTDIR=${qt_dir} INSTALL_ROOT=${destroot}
-
-## post-configure {
-## system "cd ${worksrcpath}/clib/qtc && qmake qtc.pro INSTALLDIR=${prefix}/lib -o Makefile"
-## reinplace "s;-lqt;-lqt-mt;" ${worksrcpath}/clib/qtc/Makefile
-## }
-
-
-#
-##EOF
+livecheck.type regex
+livecheck.url ${master_sites}
+livecheck.regex QScintilla-gpl-\(\\d+.\\d+.\\d+\).tar.gz
Added: trunk/dports/python/py26-qscintilla/Portfile
===================================================================
--- trunk/dports/python/py26-qscintilla/Portfile (rev 0)
+++ trunk/dports/python/py26-qscintilla/Portfile 2010-03-19 23:38:37 UTC (rev 65031)
@@ -0,0 +1,51 @@
+# $Id$
+
+PortSystem 1.0
+#
+# PortGroup python26 1.0
+#
+# We do not use the 'PortGroup' sugar since this python module is built
+# quite differently than standard python extension modules.
+
+name py26-qscintilla
+version 2.4.2
+categories python devel
+maintainers adfernandes openmaintainer
+description Python bindings for QScintilla
+homepage http://www.riverbankcomputing.com/software/qscintilla/
+platforms darwin
+
+long_description Python bindings for QScintilla, \
+ a port to Qt of Neil Hodgson's Scintilla C++ editor control.
+
+#
+# NOTE: the version of this port must be kept in sync with the 'qscintilla' port,
+# since it contains the 'main' software distribution!
+#
+
+distname QScintilla-gpl-${version}
+master_sites http://www.riverbankcomputing.com/static/Downloads/QScintilla2/
+
+checksums sha1 17852eedaf3dfc8e8af32249d72130ddd3564019
+
+depends_lib port:qscintilla port:python26 port:py26-pyqt4
+
+universal_variant no
+
+set qt_dir ${prefix}/libexec/qt4-mac
+
+configure.env QTDIR=${qt_dir}
+configure.dir ${worksrcpath}/Python
+configure.cmd "${prefix}/bin/python2.6 configure.py; echo"
+
+build.env QTDIR=${qt_dir}
+build.dir ${worksrcpath}/Python
+build.cmd ${build.cmd}
+
+destroot.env QTDIR=${qt_dir} DESTDIR=${destroot}
+destroot.dir ${worksrcpath}/Python
+destroot.cmd ${build.cmd} install
+
+livecheck.type regex
+livecheck.url ${master_sites}
+livecheck.regex QScintilla-gpl-\(\\d+.\\d+.\\d+\).tar.gz
Property changes on: trunk/dports/python/py26-qscintilla/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100319/ff9f1d7f/attachment.html>
More information about the macports-changes
mailing list