[22473] trunk/dports/aqua/qt3-mac/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Mar 1 14:25:44 PST 2007


Revision: 22473
          http://trac.macosforge.org/projects/macports/changeset/22473
Author:   blair at macports.org
Date:     2007-03-01 14:25:44 -0800 (Thu, 01 Mar 2007)

Log Message:
-----------
New upstream 3.3.8 release.
Add my own website as an HTTP master site for places that cannot access
  FTP sites.  This was required since the current HTTP mirror does not
  yet have 3.3.8.
Depend upon the zlib, libpng and libmng ports and have qt use them.
Rename the mysql variant to mysql4 and add a mysql5 variant.
Rename /Applications/MacPorts/Qt to /Applications/MacPorts/Qt3 to make
  space for Qt4.

Modified Paths:
--------------
    trunk/dports/aqua/qt3-mac/Portfile

Modified: trunk/dports/aqua/qt3-mac/Portfile
===================================================================
--- trunk/dports/aqua/qt3-mac/Portfile	2007-03-01 22:22:30 UTC (rev 22472)
+++ trunk/dports/aqua/qt3-mac/Portfile	2007-03-01 22:25:44 UTC (rev 22473)
@@ -2,26 +2,26 @@
 PortSystem		1.0
 
 name			qt3-mac
-version			3.3.7
+version			3.3.8
 categories		aqua
-maintainers		leimy at opendarwin.org
+maintainers		leimy at opendarwin.org blair at orcaware.com
 description		Qt Tool Kit (Native Aqua Version)
 long_description	This is Qt, TrollTech's C++ toolkit for writing \
 				cross-platform GUI applications.
 homepage		http://www.trolltech.com/
 master_sites		ftp://ftp.trolltech.com/qt/source/ \
-			http://ftp.silug.org/mirrors/ftp.trolltech.com/qt/source/
+			http://ftp.silug.org/mirrors/ftp.trolltech.com/qt/source/ \
+			http://www-devel.orcaware.com/packages/macports/aqua/qt3-mac/
 distname		qt-mac-free-${version}
-use_bzip2		yes
-checksums		md5 5531fcabdb2d8f7d2d14c8995e4a9ff2 \
-			sha1 11ba1ed34a6d7eede1b3fa0d4d94dcde7ff9e4ff \
-			rmd160 8ef23cd4ba996246dbd209948cc921bd6bf52346
+checksums		md5 dc8013ea4e5b54849f1ed5eedf6b03a3 \
+			sha1 b4835adbf5afc15042ce25270e684df395fe897c \
+			rmd160 dd2bfc62488e2d0dd500df4899aeaf28738bd8b0
 platforms		darwin
 
-depends_lib		lib:libz.1:zlib
+depends_lib		port:zlib port:libpng port:libmng
 
-variant mysql {
-	depends_lib-append	lib:libmysqlclient.12:mysql4
+variant mysql4 {
+	depends_lib-append	port:mysql4
 	configure.args-delete	-no-sql-mysql
 	configure.args-append	-qt-sql-mysql \
 					-L${prefix}/lib/mysql \
@@ -29,6 +29,15 @@
 					-plugin-sql-mysql
 }
 
+variant mysql5 {
+	depends_lib-append	port:mysql5
+	configure.args-delete	-no-sql-mysql
+	configure.args-append	-qt-sql-mysql \
+					-L${prefix}/lib/mysql5/mysql \
+					-I${prefix}/include/mysql5/mysql \
+					-plugin-sql-mysql
+}
+
 variant ipv6 {
 	configure.args-delete	-no-ipv6
 	configure.args-append	-ipv6
@@ -45,7 +54,9 @@
 			-qt-gif -qt-imgfmt-png -qt-imgfmt-jpeg -qt-imgfmt-mng \
 			-no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql \
 			-no-sql-sqlite -no-nis -no-cups -no-ipv6 \
-			-system-zlib -largefile \
+			-largefile \
+			-system-zlib -system-libpng -system-libjpeg \
+			-system-libmng \
 			'-I${prefix}/include' '-L${prefix}/lib'
 
 build.env	QMAKESPEC='' QTDIR='' DYLD_LIBRARY_PATH="${worksrcpath}/lib"
@@ -63,7 +74,7 @@
 					patch-mkspecs-qmake.conf
 	post-destroot {
 		system "sh ${filespath}/fix_install_names.sh '${prefix}' '${destroot}'"
-		set appPath ${destroot}/Applications/MacPorts/Qt
+		set appPath ${destroot}/Applications/MacPorts/Qt3
 		xinstall -d -m 0755 ${appPath}
 		foreach app {assistant designer linguist qtconfig} {
 			system "mv -v ${destroot}${prefix}/bin/${app}.app \

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070301/af534a48/attachment.html


More information about the macports-changes mailing list