[55296] trunk/dports/sysutils/MacPorts/Portfile
jmr at macports.org
jmr at macports.org
Sat Aug 8 05:18:41 PDT 2009
Revision: 55296
http://trac.macports.org/changeset/55296
Author: jmr at macports.org
Date: 2009-08-08 05:18:41 -0700 (Sat, 08 Aug 2009)
Log Message:
-----------
MacPorts port: add darwin 10
Modified Paths:
--------------
trunk/dports/sysutils/MacPorts/Portfile
Modified: trunk/dports/sysutils/MacPorts/Portfile
===================================================================
--- trunk/dports/sysutils/MacPorts/Portfile 2009-08-08 12:16:36 UTC (rev 55295)
+++ trunk/dports/sysutils/MacPorts/Portfile 2009-08-08 12:18:41 UTC (rev 55296)
@@ -149,6 +149,21 @@
configure.args-append SHLIB_LDFLAGS='-arch ppc -arch i386'
}
+platform darwin 10 {
+ # Supply architecture flags to build MacPorts Universal on an Intel Mac
+ configure.cflags-append -arch x86_64 -arch i386
+ configure.args-append SHLIB_LDFLAGS='-arch x86_64 -arch i386'
+ post-pkg {
+ global resources_scripts resources_lang
+ reinplace "s|is built|contains a Universal installer|" ${resources_lang}/ReadMe.rtf
+ reinplace "s|__XVERS__|10.6|" ${resources_lang}/ReadMe.rtf \
+ ${resources_lang}/InstallationCheck.strings
+ reinplace "s|3|6|" ${resources_lang}/Welcome.html
+ reinplace "s|or newer ||" ${resources_lang}/Welcome.html
+ reinplace "s|__DARWINVERS__|10|" ${resources_scripts}/InstallationCheck
+ }
+}
+
destroot.violate_mtree yes
destroot.keepdirs ${destroot}${prefix}/include \
${destroot}${prefix}/lib \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090808/6f8d8f7c/attachment.html>
More information about the macports-changes
mailing list