[32693] trunk/dports/devel/libsdl_ttf-framework/Portfile
nox at macports.org
nox at macports.org
Fri Jan 11 07:43:19 PST 2008
Revision: 32693
http://trac.macosforge.org/projects/macports/changeset/32693
Author: nox at macports.org
Date: 2008-01-11 07:43:17 -0800 (Fri, 11 Jan 2008)
Log Message:
-----------
libsdl_ttf-framework: Fixed universal support.
Modified Paths:
--------------
trunk/dports/devel/libsdl_ttf-framework/Portfile
Modified: trunk/dports/devel/libsdl_ttf-framework/Portfile
===================================================================
--- trunk/dports/devel/libsdl_ttf-framework/Portfile 2008-01-11 08:45:02 UTC (rev 32692)
+++ trunk/dports/devel/libsdl_ttf-framework/Portfile 2008-01-11 15:43:17 UTC (rev 32693)
@@ -7,7 +7,6 @@
set my_name SDL_ttf
version 2.0.9
categories devel graphics
-platforms macosx
maintainers nox openmaintainer
description add on library for libSDL for rendering TrueType fonts
@@ -32,6 +31,16 @@
xcode.target Framework
xcode.destroot.type framework
+if {! [variant_isset universal]} {
+ set arch ${os.arch}
+ if {! [string compare ${os.arch} powerpc]} {
+ set arch ppc
+ }
+
+ xcode.build.settings ARCHS=${arch}
+ xcode.destroot.settings ARCHS=${arch}
+}
+
post-extract {
system "cd ${worksrcpath} && \
tar -xvzf Xcode.tar.gz Xcode/{exports/${my_name}.x,Info-Framework__Upgraded_.plist,${my_name}.xcodeproj}"
@@ -47,17 +56,8 @@
reinplace "s|freetype/lib|${prefix}/lib|g" ${pbxproj}
}
-variant universal {
- set arch ${os.arch}
- if {! [string compare ${os.arch} powerpc]} {
- set arch ppc
- }
+variant universal {}
- xcode.build.settings ARCHS=${arch}
- xcode.destroot.settings ARCHS=${arch}
-}
-
livecheck.check regex
livecheck.url ${homepage}
livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080111/566e3fc0/attachment.html
More information about the macports-changes
mailing list