Index: Portfile
===================================================================
--- Portfile	(revision 33523)
+++ Portfile	(working copy)
@@ -3,6 +3,7 @@
 PortSystem 1.0
 name			doxygen
 version			1.5.4
+revision		1
 categories		textproc devel
 maintainers		css@macports.org
 description		Documentation system for several programming languages
@@ -78,3 +79,19 @@
 	}
 }
 
+platform darwin 9 {
+	# Account for an iconv difference on Leopard.
+	patchfiles-append	patch-portable.cpp
+	# 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/MacPorts
+			xinstall -m 755 -d ${dpappdir}/doxywizard.app/Contents/MacOS
+			file rename ${destroot}${prefix}/bin/doxywizard \
+				${dpappdir}/doxywizard.app/Contents/MacOS/
+			xinstall -m 644 ${filespath}/Info.plist \
+				${dpappdir}/doxywizard.app/Contents/
+		}
+	}
+}

