[27630] trunk/dports/devel/libsdl_gfx-framework/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Fri Aug 10 17:32:57 PDT 2007
Revision: 27630
http://trac.macosforge.org/projects/macports/changeset/27630
Author: nox at macports.org
Date: 2007-08-10 17:32:57 -0700 (Fri, 10 Aug 2007)
Log Message:
-----------
libsdl_gfx-framework:
* Updated to version 2.0.16.
* Now uses the xcode portgroup.
* Taken over (with openmaintainer).
* Disabled universal variant.
* Added sha1 and rmd160 checksums.
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-10 23:40:19 UTC (rev 27629)
+++ trunk/dports/devel/libsdl_gfx-framework/Portfile 2007-08-11 00:32:57 UTC (rev 27630)
@@ -1,13 +1,16 @@
# $Id$
-PortSystem 1.0
+PortSystem 1.0
+PortGroup xcode 1.0
name libsdl_gfx-framework
-version 2.0.13
+set my_name SDL_gfx
+version 2.0.16
categories devel graphics
platforms macosx
-maintainers nomaintainer at macports.org
+maintainers nox openmaintainer
description graphics primitives SDL extension
+
long_description The SDL_gfx library evolved out of the \
SDL_gfxPrimitives code which provided basic drawing \
routines such as lines, circles or polygons and \
@@ -21,68 +24,39 @@
homepage http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/
master_sites ${homepage}
-distname SDL_gfx-${version}
+distname ${my_name}-${version}
dist_subdir libsdl_gfx
-checksums ${distname}${extract.suffix} md5 b1ce778232db0b1979695f0a5a945a13
+checksums md5 22dc2d9d916197829f9342c490d2d02b \
+ sha1 c0277d25daf4b680876ef04a893f64e90d9ce03d \
+ rmd160 1ee1b19f5699b5f3661a9ba461bc44a1e4f135da
-depends_lib port:libsdl-framework \
- port:libsdl_gfx
+depends_lib port:libsdl-framework
-configure.args --disable-mmx \
- --disable-sdltest
+worksrcdir ${distname}/PB
-set buildindir build
+universal_variant no
-platform darwin 8 {
-if {$xcodeversion == "2.1"} {
-set buildindir build/Deployment
-}
-}
+xcode.target SDL_gfx
+xcode.destroot.type framework
+xcode.destroot.settings SKIP_INSTALL=NO
-master_sites-append opendarwin:lt
-distfiles-append ltconfig13:lt ltmain13:lt
-checksums-append ltconfig13 md5 ea53f42a550c9f9e653758a8ed91574e \
- ltmain13 md5 e094ae92724c4015dbab97de151c2525
-extract.only ${distname}${extract.suffix}
-
post-extract {
- system "cd ${worksrcpath} && tar -xvzf OSX-PB.tgz"
+ system "tar -xzvf \"${workpath}/${distname}/Other Builds/OSX-PB.tgz\" -C ${workpath}/${distname}"
}
post-patch {
- xinstall -m 0644 ${distpath}/ltconfig13 ${worksrcpath}/ltconfig
- xinstall -m 0644 ${distpath}/ltmain13 ${worksrcpath}/ltmain.sh
- reinplace "s|-version-info|-no-undefined -release \$(LT_RELEASE) &|" \
- ${worksrcpath}/Makefile.in
reinplace "s|\$(SYSTEM_LIBRARY_DIR)/Frameworks|/Library/Frameworks|g" \
- ${worksrcpath}/PB/SDL_gfx.pbproj/project.pbxproj
+ ${worksrcpath}/SDL_gfx.pbproj/project.pbxproj
reinplace "s|\$(HOME)/Library/Frameworks|/Library/Frameworks|g" \
- ${worksrcpath}/PB/SDL_gfx.pbproj/project.pbxproj
+ ${worksrcpath}/SDL_gfx.pbproj/project.pbxproj
reinplace "s|/Users/ttongue/Library/Frameworks|/Library/Frameworks|g" \
- ${worksrcpath}/PB/SDL_gfx.pbproj/project.pbxproj
+ ${worksrcpath}/SDL_gfx.pbproj/project.pbxproj
reinplace "s|/Users/ttongue/Desktop/Code/PB/test/SDL_gfx-2.0.3|..|g" \
- ${worksrcpath}/PB/SDL_gfx.pbproj/project.pbxproj
- reinplace "s|build/SDL_gfx.framework|${buildindir}/SDL_gfx.framework|g" \
- ${worksrcpath}/PB/SDL_gfx.pbproj/project.pbxproj
+ ${worksrcpath}/SDL_gfx.pbproj/project.pbxproj
}
-build.dir "${worksrcpath}/PB"
-build.type pbx
-build.target -buildstyle Deployment -target SDL_gfx
-
-post-build {
- cd ${worksrcpath}/PB
- system "install_name_tool -id /Library/Frameworks/SDL_gfx.framework/SDL_gfx \
- ${buildindir}/SDL_gfx.framework/SDL_gfx"
+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}"
}
-
-destroot {
- cd "${worksrcpath}/PB/${buildindir}"
- xinstall -d -m 0755 ${destroot}/Library/Frameworks
- system "cp -R SDL_gfx.framework ${destroot}/Library/Frameworks"
-}
-
-platform darwin 6 {
- depends_lib-append lib:libdl:dlcompat
-}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070810/fd79e7d2/attachment.html
More information about the macports-changes
mailing list