[27725] trunk/dports/devel/libsdl_gfx-framework/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sun Aug 12 17:53:35 PDT 2007
Revision: 27725
http://trac.macosforge.org/projects/macports/changeset/27725
Author: nox at macports.org
Date: 2007-08-12 17:53:34 -0700 (Sun, 12 Aug 2007)
Log Message:
-----------
libsdl_gfix-framework:
* Added livecheck.
* Now uses the latest xcode project from upstream.
* xcodebuild does not skip anymore installation, custom destroot stage removed).
Modified Paths:
--------------
trunk/dports/devel/libsdl_gfx-framework/Portfile
Modified: trunk/dports/devel/libsdl_gfx-framework/Portfile
===================================================================
--- trunk/dports/devel/libsdl_gfx-framework/Portfile 2007-08-12 23:24:29 UTC (rev 27724)
+++ trunk/dports/devel/libsdl_gfx-framework/Portfile 2007-08-13 00:53:34 UTC (rev 27725)
@@ -32,33 +32,24 @@
depends_lib port:libsdl-framework
-worksrcdir ${distname}/PB
-
universal_variant no
-xcode.target SDL_gfx
+xcode.target ${my_name}
xcode.destroot.type framework
-xcode.destroot.settings SKIP_INSTALL=NO
post-extract {
- system "tar -xzvf \"${workpath}/${distname}/Other Builds/OSX-PB.tgz\" -C ${workpath}/${distname}"
+ cd ${worksrcpath}
+ system "unzip \"Other Builds/OSX-PB-Xcode.zip\""
+ system "tar -x PB/{English.lproj,Test} --strip-path 1 -zvf \"Other Builds/OSX-PB.tgz\""
}
post-patch {
- reinplace "s|\$(SYSTEM_LIBRARY_DIR)/Frameworks|/Library/Frameworks|g" \
- ${worksrcpath}/SDL_gfx.pbproj/project.pbxproj
- reinplace "s|\$(HOME)/Library/Frameworks|/Library/Frameworks|g" \
- ${worksrcpath}/SDL_gfx.pbproj/project.pbxproj
- reinplace "s|/Users/ttongue/Library/Frameworks|/Library/Frameworks|g" \
- ${worksrcpath}/SDL_gfx.pbproj/project.pbxproj
- reinplace "s|/Users/ttongue/Desktop/Code/PB/test/SDL_gfx-2.0.3|..|g" \
- ${worksrcpath}/SDL_gfx.pbproj/project.pbxproj
- reinplace "s|@executable_path/..|/Library|g" \
- ${worksrcpath}/SDL_gfx.pbproj/project.pbxproj
-}
+ set pbxproj ${worksrcpath}/SDL_gfx.pbproj/project.pbxproj
-post-destroot {
- set framework_dir /Library/Frameworks
- xinstall -m 0755 -d ${destroot}${framework_dir}
- system "cp -vR ${worksrcpath}/build/Deployment/SDL_gfx.framework ${destroot}${framework_dir}"
+ reinplace -E "/SKIP_INSTALL/d" ${pbxproj}
+ reinplace "s|@executable_path/|@executable_path@/|" ${pbxproj}
}
+
+livecheck.check regex
+livecheck.url http://www.ferzkopp.net/joomla/content/view/19/14/
+livecheck.regex "${my_name}-(\\d+\\.\\d+(?:\\.\\d+)+)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070812/f4853c62/attachment.html
More information about the macports-changes
mailing list