[47103] trunk/dports/devel/libsdl_image-framework/Portfile

raimue at macports.org raimue at macports.org
Sat Feb 21 19:31:04 PST 2009


Revision: 47103
          http://trac.macports.org/changeset/47103
Author:   raimue at macports.org
Date:     2009-02-21 19:31:04 -0800 (Sat, 21 Feb 2009)
Log Message:
-----------
devel/libsdl_image-framework:
Install into ${frameworks_dir}, as the libsdl-framework installs there now.
Fixes building. Bumping revision so everyone gets the new location.

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

Modified: trunk/dports/devel/libsdl_image-framework/Portfile
===================================================================
--- trunk/dports/devel/libsdl_image-framework/Portfile	2009-02-22 03:15:22 UTC (rev 47102)
+++ trunk/dports/devel/libsdl_image-framework/Portfile	2009-02-22 03:31:04 UTC (rev 47103)
@@ -6,6 +6,7 @@
 name            libsdl_image-framework
 set my_name     SDL_image
 version         1.2.6
+revision        1
 categories      devel graphics
 platforms       macosx
 maintainers     nox openmaintainer
@@ -53,8 +54,9 @@
 
     reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|GCC_VERSION|SDKROOT)_ppc =/d" ${pbxproj}
     reinplace "s|~/Library/Frameworks|./build/Frameworks|g" ${pbxproj}
-    reinplace "s|\$(HOME)/Library/Frameworks|/Library/Frameworks|g" ${pbxproj}
-    reinplace "s|graphics/include| ${prefix}/include|g" ${pbxproj}
+    reinplace "s|\$(HOME)/Library/Frameworks|${frameworks_dir}|g" ${pbxproj}
+    reinplace -E "s|(\t+)/Library/Frameworks|\\1${frameworks_dir}|g" ${pbxproj}
+    reinplace "s|graphics/include|${prefix}/include|g" ${pbxproj}
     reinplace "s|graphics/lib|${prefix}/lib|g" ${pbxproj}
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090221/c30abd28/attachment.html>


More information about the macports-changes mailing list