[41793] trunk/dports/devel/libsdl_gfx-framework/Portfile

nox at macports.org nox at macports.org
Mon Nov 10 11:36:21 PST 2008


Revision: 41793
          http://trac.macports.org/changeset/41793
Author:   nox at macports.org
Date:     2008-11-10 11:36:21 -0800 (Mon, 10 Nov 2008)
Log Message:
-----------
libsdl_gfx-framework:
 * Updated to 2.0.17.
 * Now installs itself in $prefix/Library/Frameworks.

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

Modified: trunk/dports/devel/libsdl_gfx-framework/Portfile
===================================================================
--- trunk/dports/devel/libsdl_gfx-framework/Portfile	2008-11-10 19:24:27 UTC (rev 41792)
+++ trunk/dports/devel/libsdl_gfx-framework/Portfile	2008-11-10 19:36:21 UTC (rev 41793)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem      1.0
@@ -5,7 +6,7 @@
 
 name            libsdl_gfx-framework
 set my_name     SDL_gfx
-version         2.0.16
+version         2.0.17
 categories      devel graphics
 platforms       macosx
 maintainers     nox openmaintainer
@@ -23,36 +24,33 @@
 distname        ${my_name}-${version}
 dist_subdir     libsdl_gfx
 
-depends_lib		port:libsdl-framework
+depends_lib     port:libsdl-framework
 
-checksums       md5 22dc2d9d916197829f9342c490d2d02b \
-                sha1 c0277d25daf4b680876ef04a893f64e90d9ce03d \
-                rmd160 1ee1b19f5699b5f3661a9ba461bc44a1e4f135da
+checksums       md5     a7ab98ad530fdc59a23f7dff502db8d3 \
+                sha1    7be52033ca8f014ee7761f6f298feac8336bfa5a \
+                rmd160  8baf08699fdcbc19ae836f68f8bc2de224c955d0
 
-xcode.target        ${my_name}
-xcode.destroot.type framework
-
-universal_variant   no
-# Dummy configure to enable universal variant.
-#use_configure	yes
-#configure		{}
-
 post-extract {
-    system "cd ${worksrcpath} && unzip \"Other Builds/OSX-PB-XCode.zip\""
-    system "cd ${worksrcpath} && \
-        tar -xzvf \"Other Builds/OSX-PB.tgz\"; mv PB/English.lproj ."
+    system "unzip \"$worksrcpath/Other Builds/OSX-PB-XCode.zip\" -d $worksrcpath"
+    system "tar xf \"$worksrcpath/Other Builds/OSX-PB.tgz\" -C $worksrcpath"
+    move $worksrcpath/PB/English.lproj $worksrcpath
 }
 
 post-patch {
     reinplace -E "/SKIP_INSTALL/d" ${worksrcpath}/SDL_gfx.pbproj/project.pbxproj
 }
 
-# Waiting on #12429.
-#variant universal {
-#	xcode.build.settings-append	"ARCHS=\"ppc i386\""
-#	xcode.destroot.settings		${xcode.build.settings}
-#}
+xcode.target        $my_name
 
+xcode.build.settings    HEADER_SEARCH_PATHS=$prefix/Library/Frameworks/SDL.framework/Versions/A/Headers \
+                        FRAMEWORK_SEARCH_PATHS=$prefix/Library/Frameworks \
+                        INSTALL_PATH=$prefix/Library/Frameworks
+
+xcode.destroot.type             framework
+eval xcode.destroot.settings    ${xcode.build.settings}
+
+universal_variant   no
+
 livecheck.check regex
 livecheck.url   http://www.ferzkopp.net/joomla/content/view/19/14/
-livecheck.regex "${my_name}-(\\d+\\.\\d+(?:\\.\\d+)+)"
+livecheck.regex ${my_name}-(\\d+\\.\\d+(?:\\.\\d+)+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081110/0e9e0960/attachment-0001.html>


More information about the macports-changes mailing list