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

source_changes at macosforge.org source_changes at macosforge.org
Sat Nov 11 10:35:18 PST 2006


Revision: 20637
          http://trac.macosforge.org/projects/macports/changeset/20637
Author:   css at macports.org
Date:     2006-11-11 10:35:17 -0800 (Sat, 11 Nov 2006)

Log Message:
-----------
Fix building doxywizard (#10985) to build only for the host architecture.

 * Fix Qt include directory.
 * Explicitly specify build platform to prevent attempting a universal build.
 * Install doxywizard app into /Applications/MacPorts.

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

Modified: trunk/dports/textproc/doxygen/Portfile
===================================================================
--- trunk/dports/textproc/doxygen/Portfile	2006-11-11 16:45:33 UTC (rev 20636)
+++ trunk/dports/textproc/doxygen/Portfile	2006-11-11 18:35:17 UTC (rev 20637)
@@ -3,6 +3,7 @@
 PortSystem 1.0
 name				doxygen
 version				1.5.0
+revision			1
 categories			textproc devel
 maintainers			css at macports.org
 description			Documentation system for several programming languages
@@ -42,6 +43,8 @@
 		${worksrcpath}/addon/doxywizard/Makefile.doxywizard
 	reinplace "s|@@X11PREFIX@@|${x11prefix}|g" \
 		${worksrcpath}/addon/doxywizard/Makefile.doxywizard
+	reinplace "s|(QTDIR)/include|(QTDIR)/include/qt3|g" \
+		${worksrcpath}/addon/doxywizard/Makefile.doxywizard
 }
 
 configure.pre_args	--prefix ${prefix}
@@ -62,9 +65,11 @@
 }
 
 variant darwin {
+	# Specify the platform explicitly to avoid a universal build.
+	configure.args-append	--platform macosx-c++
 	if {[variant_isset wizard]} {
 		post-destroot {
-			set dpappdir	${destroot}/Applications/DarwinPorts
+			set dpappdir	${destroot}/Applications/MacPorts
 			xinstall -m 755 -d ${dpappdir}/doxywizard.app/Contents/MacOS
 			file rename ${destroot}${prefix}/bin/doxywizard \
 				${dpappdir}/doxywizard.app/Contents/MacOS/

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


More information about the macports-changes mailing list