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

source_changes at macosforge.org source_changes at macosforge.org
Sun Aug 12 18:38:48 PDT 2007


Revision: 27726
          http://trac.macosforge.org/projects/macports/changeset/27726
Author:   nox at macports.org
Date:     2007-08-12 18:38:48 -0700 (Sun, 12 Aug 2007)

Log Message:
-----------
libsdl-framework:
 * Now uses xcode.build.settings instead of lame reinplace calls for setting SDKROOT_ppc.
 * Added livecheck.
 * long_description is now correctly escaped.
 * Finally, +universal now works.

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

Modified: trunk/dports/devel/libsdl-framework/Portfile
===================================================================
--- trunk/dports/devel/libsdl-framework/Portfile	2007-08-13 00:53:34 UTC (rev 27725)
+++ trunk/dports/devel/libsdl-framework/Portfile	2007-08-13 01:38:48 UTC (rev 27726)
@@ -15,10 +15,14 @@
                 to the graphics framebuffer and audio device. It is \
                 used by MPEG playback software, emulators, and many \
                 popular games, including the award winning Linux \
-                port of "Civilization: Call To Power." Simple \
+                port of \"Civilization: Call To Power.\" Simple \
                 DirectMedia Layer supports Linux, Win32, BeOS, \
                 MacOS, Solaris, IRIX, and FreeBSD.
 
+# Dummy configure to enable the universal variant.
+use_configure	yes
+configure		{}
+
 homepage        http://www.libsdl.org/
 master_sites    ${homepage}release/
 distname        SDL-${version}
@@ -32,18 +36,16 @@
 
 worksrcdir      ${distname}/Xcode/SDL
 
-xcode.target        "Framework Without X11 Stuff (for those who didn't install the X11 headers with Xcode)"
-xcode.destroot.type framework
+xcode.target        	"Framework Without X11 Stuff (for those who didn't install the X11 headers with Xcode)"
+xcode.build.settings	MACOSX_DEPLOYMENT_TARGET_ppc=10.3 \
+						SDKROOT_ppc=/Developer/SDKs/MacOSX10.3.9.sdk
+xcode.destroot.settings	${xcode.build.settings}
+xcode.destroot.type 	framework
 
 post-extract {
     system "cd ${workpath}/${distname} && tar -xvzf Xcode.tar.gz"
 }
 
-post-patch {
-    reinplace "s|10\.2;|10.3;|" ${worksrcpath}/SDL.xcodeproj/project.pbxproj
-    reinplace "s|10\.2\.8|10.3.9|" ${worksrcpath}/SDL.xcodeproj/project.pbxproj
-}
-
 variant x11 {
     xcode.target Framework
 }
@@ -61,3 +63,4 @@
 		xcode.destroot.settings-append	ARCHS=ppc
     }
 }
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070812/31bb118a/attachment.html


More information about the macports-changes mailing list