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

jmr at macports.org jmr at macports.org
Thu Jan 20 02:53:43 PST 2011


Revision: 75300
          http://trac.macports.org/changeset/75300
Author:   jmr at macports.org
Date:     2011-01-20 02:53:43 -0800 (Thu, 20 Jan 2011)
Log Message:
-----------
libsdl_gfx-framework: fix link names (#24781), use frameworks_dir, mark noarch, depend on libsdl-framework, cleanup

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

Modified: trunk/dports/devel/libsdl_gfx-framework/Portfile
===================================================================
--- trunk/dports/devel/libsdl_gfx-framework/Portfile	2011-01-20 10:03:27 UTC (rev 75299)
+++ trunk/dports/devel/libsdl_gfx-framework/Portfile	2011-01-20 10:53:43 UTC (rev 75300)
@@ -2,13 +2,13 @@
 # $Id$
 
 PortSystem      1.0
-PortGroup       xcode 1.0
 
 name            libsdl_gfx-framework
 set my_name     SDL_gfx
-version         20100314
+version         20110120
 categories      devel graphics
 platforms       macosx
+supported_archs noarch
 maintainers     nomaintainer
 description     Framework version of libsdl_gfx
 
@@ -18,17 +18,17 @@
 homepage        http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/
 distfiles
 
-depends_run     port:libsdl_gfx
+depends_run     port:libsdl_gfx port:libsdl-framework
 
 use_configure   no
 build           {}
 
 destroot {
-    set path ${prefix}/Library/Frameworks/SDL_ttf.framework
+    set path ${frameworks_dir}/SDL_gfx.framework
     xinstall -d ${destroot}${path}/Versions/A/Headers
 
-    ln -sf ${prefix}/lib/libSDL_ttf.dylib ${destroot}${path}/Versions/A/SDL_ttf
-    ln -sf Versions/A/SDL_ttf ${destroot}${path}/SDL_ttf
+    ln -sf ${prefix}/lib/libSDL_gfx.dylib ${destroot}${path}/Versions/A/SDL_gfx
+    ln -sf Versions/A/SDL_gfx ${destroot}${path}/SDL_gfx
     ln -sf Versions/A/Headers ${destroot}${path}/Headers
 
     set headers {
@@ -46,6 +46,4 @@
     }
 }
 
-universal_variant   no
-
 livecheck.type  none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110120/f6fbda4a/attachment.html>


More information about the macports-changes mailing list