[72591] trunk/dports/textproc/doxygen/Portfile

michaelld at macports.org michaelld at macports.org
Thu Oct 21 05:32:59 PDT 2010


Revision: 72591
          http://trac.macports.org/changeset/72591
Author:   michaelld at macports.org
Date:     2010-10-21 05:32:56 -0700 (Thu, 21 Oct 2010)
Log Message:
-----------
Changes to use qt4 portgroup.

Modified Paths:
--------------
    trunk/dports/textproc/doxygen/Portfile

Modified: trunk/dports/textproc/doxygen/Portfile
===================================================================
--- trunk/dports/textproc/doxygen/Portfile	2010-10-21 12:32:02 UTC (rev 72590)
+++ trunk/dports/textproc/doxygen/Portfile	2010-10-21 12:32:56 UTC (rev 72591)
@@ -4,6 +4,7 @@
 
 name			doxygen
 version			1.7.1
+revision                1
 categories		textproc devel
 maintainers		css
 description		Documentation system for several programming languages
@@ -70,25 +71,22 @@
 				port:texlive-latex-extra
 }
 
-variant wizard description {Include the GUI wizard based on Qt} {
-	configure.env-append	QTDIR=${prefix}/libexec/qt4-mac
-	configure.env-append QMAKE=${prefix}/libexec/qt4-mac/bin/qmake
-	build.env-append	QTDIR=${prefix}/libexec/qt4-mac
-	depends_lib-append	port:qt4-mac
+variant wizard description {Include the GUI wizard based on Qt4} {
+	PortGroup qt4 1.0
 	configure.args-append	--with-doxywizard
 
 	# on Macs, qmake builds .app directories
 	patchfiles-append	patch-Makfile.in.diff
 
 	post-patch {
-	  reinplace "s|/Developer/qt-4.4.3|${prefix}/libexec/qt4-mac|g" ${worksrcpath}/addon/doxywizard/Makefile.doxywizard
-    reinplace "s|/Developer/qt/bin/moc|${prefix}/libexec/qt4-mac/bin/moc|g" ${worksrcpath}/addon/doxywizard/Makefile.doxywizard
-    reinplace "s|/Developer/qt/bin/qmake|${prefix}/libexec/qt4-mac/bin/qmake|g" ${worksrcpath}/addon/doxywizard/Makefile.doxywizard
+	  reinplace "s|/Developer/qt-4.4.3|${qt_dir}|g" ${worksrcpath}/addon/doxywizard/Makefile.doxywizard
+    reinplace "s|/Developer/qt/bin/moc|${qt_moc_cmd}|g" ${worksrcpath}/addon/doxywizard/Makefile.doxywizard
+    reinplace "s|/Developer/qt/bin/qmake|${qt_qmake_cmd}|g" ${worksrcpath}/addon/doxywizard/Makefile.doxywizard
 		# give doxywizard the more mac-like name of DoxyWizard
 		reinplace "/^TARGET\[\[:space:\]\]/s%=.*%= DoxyWizard%" ${worksrcpath}/addon/doxywizard/doxywizard.pro.in
 		reinplace "s|__APPLICATIONS_DIR__|${applications_dir}|" ${worksrcpath}/addon/doxywizard/Makefile.in
 		reinplace "s|\$(INSTALL)|\$(DESTDIR)\$(INSTALL)|g" ${worksrcpath}/addon/doxywizard/Makefile.in
-		reinplace "s|QMAKE=qmake|QMAKE=${prefix}/libexec/qt4-mac/bin/qmake|g" ${worksrcpath}/addon/doxywizard/Makefile.in
+		reinplace "s|QMAKE=qmake|QMAKE=${qt_qmake_cmd}|g" ${worksrcpath}/addon/doxywizard/Makefile.in
 
 		if { ![variant_isset universal] } {
 			reinplace "s|x86 ppc|[string map {i386 x86} ${build_arch}]|g" ${worksrcpath}/addon/doxywizard/doxywizard.pro.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101021/c5006b00/attachment.html>


More information about the macports-changes mailing list