[27749] trunk/dports/devel/libsdl_net-framework/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Mon Aug 13 09:38:22 PDT 2007
Revision: 27749
http://trac.macosforge.org/projects/macports/changeset/27749
Author: nox at macports.org
Date: 2007-08-13 09:38:22 -0700 (Mon, 13 Aug 2007)
Log Message:
-----------
libsdl_net-framework: Nicer +universal support.
Modified Paths:
--------------
trunk/dports/devel/libsdl_net-framework/Portfile
Modified: trunk/dports/devel/libsdl_net-framework/Portfile
===================================================================
--- trunk/dports/devel/libsdl_net-framework/Portfile 2007-08-13 16:37:09 UTC (rev 27748)
+++ trunk/dports/devel/libsdl_net-framework/Portfile 2007-08-13 16:38:22 UTC (rev 27749)
@@ -34,6 +34,16 @@
use_configure yes
configure {}
+if {! [variant_isset universal]} {
+ set arch ${os.arch}
+ if {! [string compare ${os.arch} powerpc]} {
+ set arch ppc
+ }
+
+ xcode.build.settings-append archs=${arch}
+ xcode.destroot.settings-append archs=${arch}
+}
+
post-extract {
cd ${worksrcpath}
system "tar -x Xcode/{exports/${my_name}.x,Info-Framework__Upgraded_.plist,${my_name}.xcodeproj} -vzf Xcode.tar.gz"
@@ -47,20 +57,6 @@
reinplace "s|\$(HOME)/Library/Frameworks|/Library/Frameworks|g" ${pbxproj}
}
-platform darwin i386 {
- if {! [variant_isset universal]} {
- xcode.build.settings-append ARCHS=i386
- xcode.destroot.settings-append ARCHS=i386
- }
-}
-
-platform darwin powerpc {
- if {! [variant_isset universal]} {
- xcode.build.settings-append ARCHS=ppc
- xcode.destroot.settings-append ARCHS=ppc
- }
-}
-
livecheck.check regex
livecheck.url ${homepage}
livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070813/ea38a190/attachment.html
More information about the macports-changes
mailing list