[65829] trunk/dports/textproc/doxygen/Portfile
jameskyle at macports.org
jameskyle at macports.org
Thu Apr 1 08:37:42 PDT 2010
Revision: 65829
http://trac.macports.org/changeset/65829
Author: jameskyle at macports.org
Date: 2010-04-01 08:37:40 -0700 (Thu, 01 Apr 2010)
Log Message:
-----------
Added some reinplaces to the doxygen +wizard variant so it should correctly
build for all arches.
Modified Paths:
--------------
trunk/dports/textproc/doxygen/Portfile
Modified: trunk/dports/textproc/doxygen/Portfile
===================================================================
--- trunk/dports/textproc/doxygen/Portfile 2010-04-01 15:37:37 UTC (rev 65828)
+++ trunk/dports/textproc/doxygen/Portfile 2010-04-01 15:37:40 UTC (rev 65829)
@@ -1,4 +1,4 @@
-# $Id$
+# $Id: Portfile 62746 2010-01-15 15:04:40Z css at macports.org $
PortSystem 1.0
@@ -69,6 +69,7 @@
variant wizard description {Include the GUI wizard based on Qt} {
configure.env-append QTDIR=${prefix}/libexec/qt4-mac
+ configure.env-append QMAKE=${prefix}/bin/qmake-mac
build.env-append QTDIR=${prefix}/libexec/qt4-mac
depends_lib-append path:bin/qmake-mac:qt4-mac
configure.args-append --with-doxywizard
@@ -77,6 +78,10 @@
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}/bin/moc-mac|g" ${worksrcpath}/addon/doxywizard/Makefile.doxywizard
+ reinplace "s|-arch ppc -arch i386|-arch ${build_arch}|g" ${worksrcpath}/addon/doxywizard/Makefile.doxywizard
+ reinplace "s|/Developer/qt/bin/qmake|${prefix}/bin/qmake-mac|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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100401/2800c6a1/attachment.html>
More information about the macports-changes
mailing list