[75296] trunk/dports/devel/libsdl_net-framework/Portfile

jmr at macports.org jmr at macports.org
Thu Jan 20 01:09:34 PST 2011


Revision: 75296
          http://trac.macports.org/changeset/75296
Author:   jmr at macports.org
Date:     2011-01-20 01:09:31 -0800 (Thu, 20 Jan 2011)
Log Message:
-----------
libsdl_net-framework: remove remaining hardcoded values from project file (#25054), remove unnecessary code from portfile

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

Modified: trunk/dports/devel/libsdl_net-framework/Portfile
===================================================================
--- trunk/dports/devel/libsdl_net-framework/Portfile	2011-01-20 07:41:59 UTC (rev 75295)
+++ trunk/dports/devel/libsdl_net-framework/Portfile	2011-01-20 09:09:31 UTC (rev 75296)
@@ -7,7 +7,6 @@
 set my_name     SDL_net
 version         1.2.7
 revision        1
-platforms       macosx
 categories      devel net
 maintainers     jmr openmaintainer
 description     cross-platform networking library
@@ -31,20 +30,6 @@
 xcode.target        Framework
 xcode.destroot.type framework
 
-# Dummy configure to enable +universal variant.
-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 {
     system "cd ${worksrcpath} && tar -xvzf Xcode.tar.gz Xcode/{exports/${my_name}.x,Info-Framework__Upgraded_.plist,${my_name}.xcodeproj}"
 }
@@ -52,7 +37,7 @@
 post-patch {
     set pbxproj ${worksrcpath}/${xcode.project}/project.pbxproj
 
-    reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|GCC_VERSION|SDKROOT)(_ppc)? =/d" ${pbxproj}
+    reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|GCC_VERSION|SDKROOT)(_ppc|_i386)? =/d" ${pbxproj}
     reinplace "s|~/Library/Frameworks|./build/Frameworks|g" ${pbxproj}
     reinplace "s|\$(HOME)/Library/Frameworks|${frameworks_dir}|g" ${pbxproj}
 }
@@ -60,4 +45,3 @@
 livecheck.type  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/20110120/4e32d46c/attachment.html>


More information about the macports-changes mailing list