[44224] trunk/dports/devel/qscintilla/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Tue Dec 23 13:34:18 PST 2008
Revision: 44224
http://trac.macports.org/changeset/44224
Author: mcalhoun at macports.org
Date: 2008-12-23 13:34:18 -0800 (Tue, 23 Dec 2008)
Log Message:
-----------
qscintilla: Accommodate changes to qt4-mac (r44214).
Modified Paths:
--------------
trunk/dports/devel/qscintilla/Portfile
Modified: trunk/dports/devel/qscintilla/Portfile
===================================================================
--- trunk/dports/devel/qscintilla/Portfile 2008-12-23 21:32:52 UTC (rev 44223)
+++ trunk/dports/devel/qscintilla/Portfile 2008-12-23 21:34:18 UTC (rev 44224)
@@ -4,7 +4,7 @@
name qscintilla
version 2.3.2
-revision 0
+revision 1
categories devel
maintainers ricci openmaintainer
description QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor control.
@@ -34,23 +34,25 @@
worksrcdir ${distname}
+set qt_dir ${prefix}/libexec/qt4-mac
+
configure.dir ${worksrcpath}/Qt4
configure.pre_args INSTALLDIR=${prefix}/lib
-configure.cmd qmake qscintilla.pro
+configure.cmd ${qt_dir}/bin/qmake qscintilla.pro
build.dir ${worksrcpath}/Qt4
-build.env QTDIR=${prefix} PREFIX=${prefix}
+build.env QTDIR=${qt_dir} PREFIX=${prefix}
post-build {
system "install_name_tool -id \
- ${prefix}/Library/Frameworks/libqscintilla2.5.dylib \
+ ${qt_dir}/lib/libqscintilla2.5.dylib \
${worksrcpath}/Qt4/libqscintilla2.5.dylib"
}
-destroot.env QTDIR=${prefix} INSTALL_ROOT=${destroot}
+destroot.env QTDIR=${qt_dir} INSTALL_ROOT=${destroot}
## post-configure {
## system "cd ${worksrcpath}/clib/qtc && qmake qtc.pro INSTALLDIR=${prefix}/lib -o Makefile"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081223/96e0c6c2/attachment.html>
More information about the macports-changes
mailing list