[28569] trunk/dports/games

source_changes at macosforge.org source_changes at macosforge.org
Mon Sep 3 13:41:57 PDT 2007


Revision: 28569
          http://trac.macosforge.org/projects/macports/changeset/28569
Author:   mww at macports.org
Date:     2007-09-03 13:41:56 -0700 (Mon, 03 Sep 2007)

Log Message:
-----------
replace configure.env if appropriate

Modified Paths:
--------------
    trunk/dports/games/CrimsonFields/Portfile
    trunk/dports/games/SDLInvaders/Portfile
    trunk/dports/games/barrage/Portfile
    trunk/dports/games/bzflag/Portfile
    trunk/dports/games/cannonsmash/Portfile
    trunk/dports/games/cmatrix/Portfile
    trunk/dports/games/euchre/Portfile
    trunk/dports/games/fbg/Portfile
    trunk/dports/games/freedroidclassic/Portfile
    trunk/dports/games/gnubg/Portfile
    trunk/dports/games/gtetrinet/Portfile
    trunk/dports/games/lbreakout2/Portfile
    trunk/dports/games/lincity/Portfile
    trunk/dports/games/lmarbles/Portfile
    trunk/dports/games/lpairs/Portfile
    trunk/dports/games/ltris/Portfile
    trunk/dports/games/nwntools/Portfile
    trunk/dports/games/openmortal/Portfile
    trunk/dports/games/svinepalsen/Portfile
    trunk/dports/games/teg/Portfile
    trunk/dports/games/wesnoth/Portfile
    trunk/dports/games/xboard/Portfile
    trunk/dports/games/xgalaga/Portfile
    trunk/dports/games/xmahjongg/Portfile
    trunk/dports/games/xqf/Portfile
    trunk/dports/games/xscorch/Portfile
    trunk/dports/games/xtet42/Portfile

Modified: trunk/dports/games/CrimsonFields/Portfile
===================================================================
--- trunk/dports/games/CrimsonFields/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/CrimsonFields/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -33,7 +33,7 @@
 				--enable-comet
 
 platform darwin 8 {
-	configure.env	CC=/usr/bin/gcc-4.0 CXX=/usr/bin/g++-4.0 CPP=/usr/bin/cpp-4.0
+	configure.compiler	gcc-4.0
 }
 
 post-destroot {

Modified: trunk/dports/games/SDLInvaders/Portfile
===================================================================
--- trunk/dports/games/SDLInvaders/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/SDLInvaders/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -14,15 +14,14 @@
 master_sites	http://home.snafu.de/nath/SDLInvaders/
 checksums	md5 f3fbca07eb05acfae23d2d554a0f1375
 
-depends_lib	lib:libsdl:libsdl \
-		lib:libsdl_image:libsdl_image \
-		lib:libsdl_mixer:libsdl_mixer
+depends_lib	port:libsdl \
+		port:libsdl_image \
+		port:libsdl_mixer
 
-configure.env	CFLAGS=-I${prefix}/include \
-		LDFLAGS=-L${prefix}/lib
+configure.cflags-append	"-I${prefix}/include"
 configure.args	--disable-sdltest
 
-build.env	${configure.env}
+build.env	CFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
 
 platform darwin	{
 	post-destroot	{

Modified: trunk/dports/games/barrage/Portfile
===================================================================
--- trunk/dports/games/barrage/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/barrage/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -21,11 +21,10 @@
 master_sites	sourceforge:lgames
 checksums	md5 5ed847cf05d51f80c7e49d71af7c7938
 
-depends_lib	lib:libsdl:libsdl \
-		lib:libsdl_mixer:libsdl_mixer
+depends_lib	port:libsdl \
+		port:libsdl_mixer
 
-configure.env	CFLAGS=-I${prefix}/include \
-		LDFLAGS=-L${prefix}/lib
+configure.cflags-append	"-I${prefix}/include"
 
 post-destroot	{
 	file delete -force ${destroot}${prefix}/share/applications

Modified: trunk/dports/games/bzflag/Portfile
===================================================================
--- trunk/dports/games/bzflag/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/bzflag/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -29,5 +29,5 @@
 		    --without-x
 
 platform darwin 8 {
-	configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }

Modified: trunk/dports/games/cannonsmash/Portfile
===================================================================
--- trunk/dports/games/cannonsmash/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/cannonsmash/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -22,6 +22,5 @@
 
 patchfiles			patch-loadparts.cpp patch-matrix patch-configure
 
-configure.env		CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
 configure.args		--disable-sdltest
 

Modified: trunk/dports/games/cmatrix/Portfile
===================================================================
--- trunk/dports/games/cmatrix/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/cmatrix/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -16,5 +16,5 @@
 configure.args		--mandir=${prefix}/share/man
 
 platform darwin 8 {
-	configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }

Modified: trunk/dports/games/euchre/Portfile
===================================================================
--- trunk/dports/games/euchre/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/euchre/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -23,6 +23,6 @@
 }
 
 platform darwin 8 {
-	configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }
 

Modified: trunk/dports/games/fbg/Portfile
===================================================================
--- trunk/dports/games/fbg/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/fbg/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -25,8 +25,8 @@
 		patch-all_OpenGL.diff \
 		patch-Makefile.in.diff
 
-configure.env	CFLAGS="-I/System/Library/Frameworks/OpenGL.framework/Headers -I${prefix}/include" \
-		LDFLAGS="-L${prefix}/lib -lphysfs"
+configure.cflags-append	"-I/System/Library/Frameworks/OpenGL.framework/Headers -I${prefix}/include"
+configure.ldflags-append "-lphysfs"
 configure.args	--mandir=${prefix}/share/man --disable-sdltest --with-sdl-prefix=${prefix}
 
 build.env	CFLAGS="-I/System/Library/Frameworks/OpenGL.framework/Headers -I${prefix}/include" \

Modified: trunk/dports/games/freedroidclassic/Portfile
===================================================================
--- trunk/dports/games/freedroidclassic/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/freedroidclassic/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -29,8 +29,7 @@
 		lib:libSDL_mixer:libsdl_mixer
 
 configure.args	--mandir=${prefix}/share/man
-configure.env	CFLAGS=-I${prefix}/include \
-		LDFLAGS=-L${prefix}/lib
+configure.cflags-append	"-I${prefix}/include"
 
 post-destroot	{
 	set dir ${destroot}${prefix}/share/freedroid

Modified: trunk/dports/games/gnubg/Portfile
===================================================================
--- trunk/dports/games/gnubg/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/gnubg/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -26,11 +26,11 @@
 checksums		${name}-${version}.tar.gz md5 b3ab1ace76fa4bea69db8e617ab587da \
 			${name}.weights-0.14.gz md5 9f1154a9b327954a260726aa6aa6eea5
 
-depends_lib		lib:libgtk.2:gtk2 \
-			lib:libxml.2:libxml2 \
-			lib:freetype:freetype \
-			lib:libreadline:readline \
-			bin:pkg-config:pkgconfig
+depends_lib		port:gtk2 \
+			port:libxml2 \
+			port:freetype \
+			port:readline \
+			port:pkgconfig
 
 post-extract {		cd ${worksrcpath}
 			system "cp ${distpath}/${name}.weights-0.14.gz ."
@@ -42,10 +42,8 @@
 
 platform darwin 8	{ patchfiles-append	patch-rollout.h.diff }
 
-configure.env		CPPFLAGS="-I${prefix}/include" \
-			CFLAGS="-lmx" \
-			LDFLAGS="-L${prefix}/lib -L${x11prefix}/lib -lX11 \
-			-bind_at_load -multiply_defined suppress"
+configure.cflags-append "-lmx"
+configure.ldflags-append "-L${x11prefix}/lib -lX11 -bind_at_load -multiply_defined suppress"
 			
 
 configure.args		--mandir=${prefix}/share/man \

Modified: trunk/dports/games/gtetrinet/Portfile
===================================================================
--- trunk/dports/games/gtetrinet/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/gtetrinet/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -22,8 +22,8 @@
 
 depends_lib	lib:libgnomeui-2:libgnomeui
 
-configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
-                CFLAGS="-flat_namespace -L${prefix}/lib"
+configure.cppflags-append "-L${prefix}/lib"
+configure.cflags-append "-flat_namespace -L${prefix}/lib"
 
 post-destroot	{
 	file rename ${destroot}${prefix}/games/gtetrinet \

Modified: trunk/dports/games/lbreakout2/Portfile
===================================================================
--- trunk/dports/games/lbreakout2/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/lbreakout2/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -27,8 +27,7 @@
 				lib:libpng:libpng \
 				lib:libsdl_net:libsdl_net
 
-configure.env	CFLAGS=-I${prefix}/include \
-				LDFLAGS=-L${prefix}/lib
+configure.cflags-append	"-I${prefix}/include"
 configure.args	--enable-warp \
 				--disable-sdltest \
 				--with-highscore-path=${prefix}/var/lib/games/

Modified: trunk/dports/games/lincity/Portfile
===================================================================
--- trunk/dports/games/lincity/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/lincity/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -22,5 +22,4 @@
 
 patchfiles       patch-readpng.c
 
-configure.env    CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
 configure.args   --mandir=${prefix}/share/man

Modified: trunk/dports/games/lmarbles/Portfile
===================================================================
--- trunk/dports/games/lmarbles/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/lmarbles/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -23,11 +23,10 @@
 master_sites	sourceforge:lgames
 checksums	md5 b29156bc5021877d080e5e268012f4ec
 
-depends_lib	lib:libsdl:libsdl \
-		lib:libsdl_mixer:libsdl_mixer
+depends_lib	port:libsdl \
+		port:libsdl_mixer
 
-configure.env	CFLAGS=-I${prefix}/include \
-		LDFLAGS=-L${prefix}/lib
+configure.cflags-append	"-I${prefix}/include"
 configure.args	--enable-ascii \
 		--with-profile-path=${prefix}/var/lib/games/ \
 		--disable-sdltest

Modified: trunk/dports/games/lpairs/Portfile
===================================================================
--- trunk/dports/games/lpairs/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/lpairs/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -17,8 +17,7 @@
 master_sites	sourceforge:lgames
 checksums	md5 600d05861abeaecb0764998ff091eb6c
 
-depends_lib	lib:libsdl:libsdl
+depends_lib	port:libsdl
 
-configure.env	CFLAGS=-I${prefix}/include \
-		LDFLAGS=-L${prefix}/lib
+configure.cflags-append	"-I${prefix}/include"
 configure.args	--disable-sdltest

Modified: trunk/dports/games/ltris/Portfile
===================================================================
--- trunk/dports/games/ltris/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/ltris/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -23,11 +23,9 @@
 master_sites	sourceforge:lgames
 checksums		md5 51f719df95636f42e00fe5a777610dd3
 
-depends_lib		lib:libsdl:libsdl \
-				lib:libsdl_mixer:libsdl_mixer
+depends_lib		port:libsdl port:libsdl_mixer
 
-configure.env	CFLAGS=-I${prefix}/include \
-				LDFLAGS=-L${prefix}/lib
+configure.cflags-append	"-I${prefix}/include"
 configure.args	--with-highscore-path=${prefix}/var/lib/games/ \
 				--disable-sdltest
 

Modified: trunk/dports/games/nwntools/Portfile
===================================================================
--- trunk/dports/games/nwntools/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/nwntools/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -18,5 +18,5 @@
 checksums                  sha1 cab2c8af5b0b2834444a018d87663614f8c057cf
 
 platform darwin 8 {
-    configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+    configure.compiler	gcc-4.0
 }

Modified: trunk/dports/games/openmortal/Portfile
===================================================================
--- trunk/dports/games/openmortal/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/openmortal/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -43,8 +43,6 @@
 	}
 }
 
-configure.env	LDFLAGS="-L${prefix}/lib" \
-		CPPFLAGS="-I${prefix}/include"
 configure.args	--enable-main \
 		--enable-characters \
 		--enable-additional \

Modified: trunk/dports/games/svinepalsen/Portfile
===================================================================
--- trunk/dports/games/svinepalsen/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/svinepalsen/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -30,15 +30,14 @@
 		${name}-data-${version}${extract.suffix} \
 			md5 51580dffcfdc8c9301d653145cd4bc75
 
-depends_lib	lib:libsdl:libsdl \
-		lib:libsdl_mixer:libsdl_mixer \
-		lib:libsdl_image:libsdl_image \
-		lib:libSDL_ttf:libsdl_ttf \
-		lib:libsmpeg:smpeg
+depends_lib	port:libsdl \
+		port:libsdl_mixer \
+		port:libsdl_image \
+		port:libsdl_ttf \
+		port:smpeg
 
 configure.dir	${workpath}/${name}
-configure.env	CPPFLAGS='-I${prefix}/include -I${prefix}/include/smpeg' \
-		LDFLAGS='-L${prefix}/lib'
+configure.cppflags-append	'-I${prefix}/include/smpeg'
 configure.args	--disable-sdltest
 
 post-configure	{
@@ -50,7 +49,7 @@
 }
 
 build.dir	${configure.dir}
-build.env	${configure.env}
+build.env	CPPFLAGS="-I${prefix}/include -I${prefix}/include/smpeg" LDFLAGS="-L${prefix}/lib"
 
 destroot.dir	${build.dir}
 

Modified: trunk/dports/games/teg/Portfile
===================================================================
--- trunk/dports/games/teg/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/teg/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -16,7 +16,7 @@
 				rmd160 2069bb40936fbd87dcf04be145890d0ccb53f6d3
 
 configure.args	--sysconfdir=${destroot}${prefix}/etc
-configure.env	CPPFLAGS="-I${prefix}/include/libxml2"
+configure.cppflags-append	"-I${prefix}/include/libxml2"
 
 depends_lib	\
 	bin:autoconf:autoconf \

Modified: trunk/dports/games/wesnoth/Portfile
===================================================================
--- trunk/dports/games/wesnoth/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/wesnoth/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -36,7 +36,7 @@
 				--disable-gnome2
 
 platform darwin 8 {
-	configure.env-append	CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }
 
 platform macosx {

Modified: trunk/dports/games/xboard/Portfile
===================================================================
--- trunk/dports/games/xboard/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/xboard/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -3,7 +3,6 @@
 PortSystem 1.0
 name		xboard
 version		4.2.6
-revision	0
 categories	games
 maintainers	nomaintainer at macports.org
 description	X frontend for Crafty, GNUChess, Internet Chess Servers, or e-mail chess
@@ -24,5 +23,5 @@
 		file copy -force /usr/share/libtool/config.guess ${worksrcpath}/  
 		file copy -force /usr/share/libtool/config.sub ${worksrcpath}/  
 	}
-	configure.env	CPPFLAGS=-no-cpp-precomp
+	configure.cppflags-append	"-no-cpp-precomp"
 }

Modified: trunk/dports/games/xgalaga/Portfile
===================================================================
--- trunk/dports/games/xgalaga/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/xgalaga/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -32,7 +32,7 @@
 	configure.args	--host=i686-apple-darwin
 }
 
-platform darwin 8 {
-	configure.env CC=/usr/bin/gcc-3.3 CPP=/usr/bin/cpp-3.3
+platform darwin 8 powerpc {
+	configure.compiler	gcc-3.3
 }
 

Modified: trunk/dports/games/xmahjongg/Portfile
===================================================================
--- trunk/dports/games/xmahjongg/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/xmahjongg/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -20,5 +20,5 @@
 		file copy -force /usr/share/libtool/config.guess ${worksrcpath}/  
 		file copy -force /usr/share/libtool/config.sub ${worksrcpath}/  
 	}
-	configure.env	CPPFLAGS=-no-cpp-precomp
+	configure.cppflags-append	"-no-cpp-precomp"
 }

Modified: trunk/dports/games/xqf/Portfile
===================================================================
--- trunk/dports/games/xqf/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/xqf/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -22,11 +22,8 @@
 			port:p5-xml-parser \
 			lib:libreadline:readline
 
-depends_run		bin:qstat:qstat
+depends_run		port:qstat
 
-configure.env		LDFLAGS="-L${prefix}/lib" \
-			CPPFLAGS="-I${prefix}/include"
-
 configure.args		--with-qstat=${prefix}/bin/qstat \
 			--enable-bzip2 \
 			--enable-externalrcon \

Modified: trunk/dports/games/xscorch/Portfile
===================================================================
--- trunk/dports/games/xscorch/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/xscorch/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -26,5 +26,5 @@
 
 configure.args	--disable-warn --disable-network --with-gtk=${prefix} \
 		--disable-gnome --enable-opt
-configure.env	LDFLAGS="-L${prefix}/lib" CPPFLAGS="-I${prefix}/include \
-		-no-cpp-precomp" CFLAGS="-I${prefix}/include"
+configure.cppflags-append "-no-cpp-precomp"
+configure.cflags-append "-I${prefix}/include"

Modified: trunk/dports/games/xtet42/Portfile
===================================================================
--- trunk/dports/games/xtet42/Portfile	2007-09-03 20:33:58 UTC (rev 28568)
+++ trunk/dports/games/xtet42/Portfile	2007-09-03 20:41:56 UTC (rev 28569)
@@ -28,6 +28,6 @@
 destroot.destdir	prefix=${destroot}${prefix}
 
 platform darwin 8 {
-	configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070903/74385d8d/attachment.html


More information about the macports-changes mailing list