[72576] trunk/dports/devel/qscintilla/Portfile
michaelld at macports.org
michaelld at macports.org
Thu Oct 21 05:19:42 PDT 2010
Revision: 72576
http://trac.macports.org/changeset/72576
Author: michaelld at macports.org
Date: 2010-10-21 05:19:38 -0700 (Thu, 21 Oct 2010)
Log Message:
-----------
Changes to use qt4 portgroup.
Modified Paths:
--------------
trunk/dports/devel/qscintilla/Portfile
Modified: trunk/dports/devel/qscintilla/Portfile
===================================================================
--- trunk/dports/devel/qscintilla/Portfile 2010-10-21 12:18:53 UTC (rev 72575)
+++ trunk/dports/devel/qscintilla/Portfile 2010-10-21 12:19:38 UTC (rev 72576)
@@ -2,9 +2,11 @@
# $Id$
PortSystem 1.0
+PortGroup qt4 1.0
name qscintilla
version 2.4.5
+revision 1
categories devel
maintainers adfernandes openmaintainer
description QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor control.
@@ -37,21 +39,15 @@
sha1 2401c2214ba0377ad61855c0fac6f6c7c95801d6 \
rmd160 d96cf05c879f314ee828ec6a1609bd1864692bd6
-depends_lib port:qt4-mac
-
universal_variant no
-set qt_dir ${prefix}/libexec/qt4-mac
-
-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; \
+configure.cmd "cd ${worksrcpath}/Qt4; ${qt_qmake_cmd} qscintilla.pro; \
+ cd ${worksrcpath}/designer-Qt4; ${qt_qmake_cmd} designer.pro; \
echo"
-build.env QTDIR=${qt_dir} CPLUS_INCLUDE_PATH=${worksrcpath}/Qt4 LIBRARY_PATH=${worksrcpath}/Qt4
+build.env-append CPLUS_INCLUDE_PATH=${worksrcpath}/Qt4 LIBRARY_PATH=${worksrcpath}/Qt4
build.cmd "cd ${worksrcpath}/Qt4; make; cd ${worksrcpath}/designer-Qt4; make; echo"
-destroot.env QTDIR=${qt_dir} INSTALL_ROOT=${destroot}
destroot.cmd "cd ${worksrcpath}/Qt4; make install; cd ${worksrcpath}/designer-Qt4; make install; echo"
post-build {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101021/4726c884/attachment.html>
More information about the macports-changes
mailing list