[30052] trunk/dports/aqua/qt4-mac/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Thu Oct 18 23:49:45 PDT 2007
Revision: 30052
http://trac.macosforge.org/projects/macports/changeset/30052
Author: jochen at macports.org
Date: 2007-10-18 23:49:45 -0700 (Thu, 18 Oct 2007)
Log Message:
-----------
configure to actually use the system (MacPorts) graphics libraries,
do not unset DYLD_LIBRARY_PATH,
instead add -I and -L for $prefix *and* $destroot/$prefix,
do not install qdbusviewer (was not build for me),
bump revision,
take maintainership
Modified Paths:
--------------
trunk/dports/aqua/qt4-mac/Portfile
Modified: trunk/dports/aqua/qt4-mac/Portfile
===================================================================
--- trunk/dports/aqua/qt4-mac/Portfile 2007-10-19 06:17:45 UTC (rev 30051)
+++ trunk/dports/aqua/qt4-mac/Portfile 2007-10-19 06:49:45 UTC (rev 30052)
@@ -1,35 +1,38 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
-name qt4-mac
-version 4.3.1
-categories aqua
-homepage http://www.trolltech.com/
-platforms macosx
-maintainers nomaintainer
+PortSystem 1.0
-description Qt Tool Kit (Native Aqua Version)
-long_description \
- This is Qt, TrollTech's C++ toolkit for writing \
- cross-platform GUI applications.
+name qt4-mac
+version 4.3.1
+revision 1
+categories aqua
+homepage http://www.trolltech.com
+platforms macosx
+maintainers openmaintainer jochen
-master_sites \
- ftp://ftp.trolltech.com/qt/source/ \
- http://ftp.iasi.roedu.net/mirrors/ftp.trolltech.com/qt/source/ \
- http://ftp.ntua.gr/pub/X11/Qt/qt/source/ \
- http://wftp.tu-chemnitz.de/pub/Qt/qt/source/
+description Qt Tool Kit (Native Aqua Version)
+long_description This is Qt, TrollTech's C++ toolkit for writing \
+ cross-platform GUI applications. \
+ This version uses the native Aqua UI. For a X11 version, \
+ see qt4-x11.
-distname qt-mac-opensource-src-${version}
-checksums md5 adfb4196ee569d6ff5f7c7e539a76cd2 \
- sha1 efdeb87a81f5e3f7303d4a92fbb0267f196419ac \
- rmd160 b9e83a4cb42b4eec9e60da3a415499b2325f2e1a
+master_sites ftp://ftp.trolltech.com/qt/source/ \
+ http://ftp.iasi.roedu.net/mirrors/ftp.trolltech.com/qt/source/ \
+ http://ftp.ntua.gr/pub/X11/Qt/qt/source/ \
+ http://wftp.tu-chemnitz.de/pub/Qt/qt/source/
-depends_lib port:libmng port:libpng port:tiff
+distname qt-mac-opensource-src-${version}
+checksums md5 adfb4196ee569d6ff5f7c7e539a76cd2 \
+ sha1 efdeb87a81f5e3f7303d4a92fbb0267f196419ac \
+ rmd160 b9e83a4cb42b4eec9e60da3a415499b2325f2e1a
+depends_lib port:libmng port:libpng port:jpeg port:tiff
+
# have to build with Apple gcc because of -fconstant-cfstrings
configure.compiler gcc-4.0
configure.cmd "echo yes | ./configure"
-configure.env QMAKESPEC='' QTDIR='' DYLD_LIBRARY_PATH=''
+configure.env QMAKESPEC='' QTDIR=''
configure.pre_args
configure.args \
-v \
@@ -39,16 +42,16 @@
-headerdir '${prefix}/include/qt4' \
-plugindir '${prefix}/lib/qt4-plugins' \
-translationdir '${prefix}/share/qt4/translations' \
- -release -shared -fast -stl \
- -qt-gif -qt-libpng -qt-libjpeg -qt-libmng \
- -qt-libtiff -optimized-qmake \
- -no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql \
- -no-sql-sqlite -no-nis -no-cups -nomake examples \
- -system-zlib -largefile -no-framework -nomake demos \
- -I${prefix}/include -L${prefix}/lib
+ -release -shared -fast -stl \
+ -system-libpng -system-libjpeg -system-libmng -system-libtiff \
+ -qt-gif -optimized-qmake \
+ -no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql \
+ -no-sql-sqlite -no-nis -no-cups -nomake examples \
+ -system-zlib -largefile -no-framework -nomake demos \
+ -I${destroot}/${prefix}/include -L${destroot}/${prefix}/lib \
+ -I${prefix}/include -L${prefix}/lib
-build.env QMAKESPEC='' QTDIR='' DYLD_LIBRARY_PATH="${worksrcpath}/lib"
-#build.target symlinks src-qmake src-moc sub-src sub-tools
+build.env QMAKESPEC='' QTDIR=''
build.target first
destroot.destdir INSTALL_ROOT="${destroot}"
@@ -56,7 +59,7 @@
post-destroot {
xinstall -d -m 0755 ${appPath}
- foreach app {assistant Designer Linguist pixeltool qdbusviewer} {
+ foreach app {assistant Designer Linguist pixeltool} {
move ${destroot}${prefix}/bin/${app}.app \
${appPath}
}
@@ -82,24 +85,30 @@
-I${prefix}/include/mysql \
-plugin-sql-mysql
}
+
variant ipv6 {
configure.args-delete -no-ipv6
configure.args-append -ipv6
}
+
variant framework {
configure.args-delete -no-framework
configure.args-append -framework
post-destroot {
# move the stuff that doesn't belong into /Library/Frameworks into ${prefix}/lib
- foreach f {libQtUiTools.a libQtUiTools.prl libQtUiTools_debug.a libQtUiTools_debug.prl pkgconfig Qt3Support.la QtCore.la QtDBus.la QtGui.la QtNetwork.la QtOpenGL.la QtScript.la QtSql.la QtSvg.la QtTest.la QtXml.la} {
+ foreach f {libQtUiTools.a libQtUiTools.prl libQtUiTools_debug.a libQtUiTools_debug.prl \
+ pkgconfig Qt3Support.la QtCore.la QtDBus.la QtGui.la QtNetwork.la QtOpenGL.la \
+ QtScript.la QtSql.la QtSvg.la QtTest.la QtXml.la} {
move ${destroot}/Library/Frameworks/$f ${destroot}${prefix}/lib
}
}
}
+
variant examples {
configure.args-delete -nomake examples
configure.args-append -make examples
}
+
variant demos {
configure.args-delete -nomake demos
configure.args-append -make demos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071018/716f0baf/attachment.html
More information about the macports-changes
mailing list