[27740] trunk/dports/devel/libsdl-framework/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon Aug 13 07:47:38 PDT 2007


Revision: 27740
          http://trac.macosforge.org/projects/macports/changeset/27740
Author:   nox at macports.org
Date:     2007-08-13 07:47:37 -0700 (Mon, 13 Aug 2007)

Log Message:
-----------
libsdl-framework:
 * Fixed a typo in the tar system call.
 * Removed default values for (MACOSX_DEPLOYMENT|GCC_VERSION|SDKROOT)_ppc to let Xcode figure them out.
 * Now uses a pre-destroot stage to copy build settings in destroot settings.

Modified Paths:
--------------
    trunk/dports/devel/libsdl-framework/Portfile

Modified: trunk/dports/devel/libsdl-framework/Portfile
===================================================================
--- trunk/dports/devel/libsdl-framework/Portfile	2007-08-13 14:03:08 UTC (rev 27739)
+++ trunk/dports/devel/libsdl-framework/Portfile	2007-08-13 14:47:37 UTC (rev 27740)
@@ -36,40 +36,34 @@
 
 xcode.project			Xcode/SDL/SDL.xcodeproj
 xcode.target        	"Framework Without X11 Stuff (for those who didn't install the X11 headers with Xcode)"
-xcode.destroot.settings	${xcode.build.settings}
 xcode.destroot.type 	framework
 
 post-extract {
-    system "cd ${srcworkpath} && tar -xvzf Xcode.tar.gz"
+    system "cd ${worksrcpath} && tar -x Xcode/SDL/{Info-Framework{,NoX11}.plist,SDL.xcodeproj} -vzf Xcode.tar.gz"
 }
 
-variant x11 {
-    xcode.target Framework
+post-patch {
+	reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|GCC_VERSION|SDKROOT)_ppc =/d" \
+		${worksrcpath}/${xcode.project}/project.pbxproj
 }
 
-platform darwin 7 {
-	xcode.build.settings	MACOSX_DEPLOYMENT_TARGET_ppc=10.3 \
-							SDKROOT_ppc=/Developer/SDKs/MacOSX10.3.9.sdk
-	xcode.destroot.settings	${xcode.build.settings}
+pre-destroot {
+	xcode.destroot.settings ${xcode.build.settings}
 }
 
-platform darwin 8 {
-	xcode.build.settings	MACOSX_DEPLOYMENT_TARGET_ppc=10.4 \
-							SDKROOT_ppc=/Developer/SDKs/MacOSX10.4u.sdk
-	xcode.destroot.settings	${xcode.build.settings}
+variant x11 {
+    xcode.target Framework
 }
 
 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
     }
 }
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070813/1cf27534/attachment.html


More information about the macports-changes mailing list