[47104] trunk/dports/audio
raimue at macports.org
raimue at macports.org
Sat Feb 21 19:48:31 PST 2009
Revision: 47104
http://trac.macports.org/changeset/47104
Author: raimue at macports.org
Date: 2009-02-21 19:48:30 -0800 (Sat, 21 Feb 2009)
Log Message:
-----------
devel/libsdl_mixer-framework, devel/libsdl_sound-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/audio/libsdl_mixer-framework/Portfile
trunk/dports/audio/libsdl_sound-framework/Portfile
Modified: trunk/dports/audio/libsdl_mixer-framework/Portfile
===================================================================
--- trunk/dports/audio/libsdl_mixer-framework/Portfile 2009-02-22 03:31:04 UTC (rev 47103)
+++ trunk/dports/audio/libsdl_mixer-framework/Portfile 2009-02-22 03:48:30 UTC (rev 47104)
@@ -6,7 +6,7 @@
name libsdl_mixer-framework
set my_name SDL_mixer
version 1.2.8
-revision 1
+revision 2
categories audio devel
maintainers nomaintainer
description Audio mixer library for SDL
@@ -31,8 +31,11 @@
}
post-patch {
- reinplace -E "/(SDKROOT|MACOSX_DEPLOYMENT_TARGET|GCC_VERSION)_ppc =/d" \
- ${worksrcpath}/${xcode.project}/project.pbxproj
+ set pbxproj ${worksrcpath}/${xcode.project}/project.pbxproj
+
+ reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|GCC_VERSION|SDKROOT)_ppc =/d" ${pbxproj}
+ reinplace "s|~/Library/Frameworks|./build/Frameworks|g" ${pbxproj}
+ reinplace "s|\$(HOME)/Library/Frameworks|${frameworks_dir}|g" ${pbxproj}
}
xcode.project Xcode/SDL_mixer.xcodeproj
Modified: trunk/dports/audio/libsdl_sound-framework/Portfile
===================================================================
--- trunk/dports/audio/libsdl_sound-framework/Portfile 2009-02-22 03:31:04 UTC (rev 47103)
+++ trunk/dports/audio/libsdl_sound-framework/Portfile 2009-02-22 03:48:30 UTC (rev 47104)
@@ -6,6 +6,7 @@
name libsdl_sound-framework
version 1.0.3
+revision 1
categories audio devel
maintainers nox openmaintainer
description handles decoding of several popular sound file formats
@@ -36,7 +37,12 @@
patchfiles patch-project.pbxproj.diff
post-patch {
- reinplace s|@PREFIX@|$prefix|g $worksrcpath/${xcode.project}/project.pbxproj
+ set pbxproj ${worksrcpath}/${xcode.project}/project.pbxproj
+
+ reinplace s|@PREFIX@|$prefix|g ${pbxproj}
+ reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|GCC_VERSION|SDKROOT)_ppc =/d" ${pbxproj}
+ reinplace "s|~/Library/Frameworks|./build/Frameworks|g" ${pbxproj}
+ reinplace "s|\$(HOME)/Library/Frameworks|${frameworks_dir}|g" ${pbxproj}
}
xcode.project PBProjects/SDL_sound.pbproj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090221/71d1545e/attachment.html>
More information about the macports-changes
mailing list