[24560] trunk/dports/games/atanks
source_changes at macosforge.org
source_changes at macosforge.org
Fri Apr 27 22:26:04 PDT 2007
Revision: 24560
http://trac.macosforge.org/projects/macports/changeset/24560
Author: markd at macports.org
Date: 2007-04-27 22:26:04 -0700 (Fri, 27 Apr 2007)
Log Message:
-----------
Update to 2.3.
Modified Paths:
--------------
trunk/dports/games/atanks/Portfile
trunk/dports/games/atanks/files/patch-src-Makefile
Removed Paths:
-------------
trunk/dports/games/atanks/files/patch-src-parser.cc
Modified: trunk/dports/games/atanks/Portfile
===================================================================
--- trunk/dports/games/atanks/Portfile 2007-04-28 05:01:56 UTC (rev 24559)
+++ trunk/dports/games/atanks/Portfile 2007-04-28 05:26:04 UTC (rev 24560)
@@ -1,9 +1,9 @@
-# $Id$
+# $Id:
PortSystem 1.0
name atanks
-version 1.5a
+version 2.3
categories games
platforms darwin
maintainers nomaintainer at macports.org
@@ -11,35 +11,14 @@
long_description ${description}
homepage http://atanks.sourceforge.net/
-master_sites sourceforge
-checksums md5 eca740f3b99feb9f61e93c6c96d0d25c
-use_bzip2 yes
-
+master_sites sourceforge
+checksums md5 9b717e7922a7ff2bdc55abc42f76e88e
+worksrcdir ${name}
depends_lib port:allegro
-extract.post_args "| tar -xf - --exclude 'Atanks.exe' --exclude 'dumpImages'"
+patchfiles patch-src-Makefile
+use_configure no
-patchfiles patch-src-Makefile \
- patch-src-parser.cc
-
-configure {
- cd ${worksrcpath}/src
- reinplace "s|definitions|${prefix}/share/atanks/definitions|g" atanks.cc
- cd ${worksrcpath}/definitions
- reinplace "s|inGameImages/|${prefix}/share/atanks/inGameImages/|g" \
- 00plain-missiles.txt 10missile-spreads.txt 20mirvs.txt \
- 30cluster-bombs.txt 45shaped-explosives.txt 50burrowers.txt \
- 52multi-burrowers.txt 55earth-clearers.txt 60earth-creators.txt \
- 70single-rollers.txt 85napalm-bombs.txt 90tremors.txt 95lazers.txt \
- 99naturals.txt
- reinplace "s|stockImages/|${prefix}/share/atanks/stockImages/|g" \
- 00plain-missiles.txt 10missile-spreads.txt 20mirvs.txt \
- 30cluster-bombs.txt 45shaped-explosives.txt 50burrowers.txt \
- 52multi-burrowers.txt 55earth-clearers.txt 60earth-creators.txt \
- 70single-rollers.txt 85napalm-bombs.txt 90tremors.txt 95lazers.txt \
- 99naturals.txt
-}
-
build.env CFLAGS=-I${prefix}/include \
LDFLAGS=-L${prefix}/lib
build.args PREFIX=${prefix}
@@ -48,11 +27,9 @@
xinstall -m 755 ${worksrcpath}/atanks ${destroot}${prefix}/bin
xinstall -m 755 -d ${destroot}${prefix}/share/atanks
xinstall -m 644 -W ${worksrcpath} button.dat misc.dat missile.dat \
- sound.dat stock.dat tank.dat tankgun.dat title.dat revenge.txt \
- gloat.txt tanks.txt Help.txt ${destroot}${prefix}/share/atanks
- file copy ${worksrcpath}/definitions ${destroot}${prefix}/share/atanks
- file copy ${worksrcpath}/inGameImages ${destroot}${prefix}/share/atanks
- file copy ${worksrcpath}/stockImages ${destroot}${prefix}/share/atanks
+ sound.dat stock.dat tank.dat tankgun.dat title.dat Help.txt \
+ credits.txt gloat.txt instr.txt revenge.txt \
+ ${destroot}${prefix}/share/atanks
}
variant darwin {
Modified: trunk/dports/games/atanks/files/patch-src-Makefile
===================================================================
--- trunk/dports/games/atanks/files/patch-src-Makefile 2007-04-28 05:01:56 UTC (rev 24559)
+++ trunk/dports/games/atanks/files/patch-src-Makefile 2007-04-28 05:26:04 UTC (rev 24560)
@@ -1,11 +1,11 @@
---- src/Makefile Tue Apr 6 21:11:20 2004
-+++ src/Makefile.new Thu Nov 11 13:14:14 2004
+--- src/Makefile.org 2007-03-08 18:06:24.000000000 -0800
++++ src/Makefile 2007-04-27 21:57:29.000000000 -0700
@@ -4,12 +4,12 @@
- globaldata.o environment.o player.o virtobj.o floattext.o teleport.o physobj.o decor.o explosion.o missile.o beam.o tank.o atanks.o fade.o perlin.o sky.o parser.o collision.o
+ globaldata.o environment.o player.o virtobj.o floattext.o teleport.o physobj.o decor.o explosion.o missile.o beam.o tank.o atanks.o fade.o perlin.o sky.o
CC = g++
--FLAGS = -DLINUX -DVERSION=\"${VERSION}\" -DDATA_DIR=\".\"
-+FLAGS = -DLINUX -DVERSION=\"${VERSION}\" -DDATA_DIR=\"$(PREFIX)/share/atanks\"
+-FLAGS = -DLINUX -DVERSION=\"2.3\" -DDATA_DIR=\".\"
++FLAGS = -DLINUX -DVERSION=\"2.3\" -DDATA_DIR=\"$(PREFIX)/share/atanks\"
OUTPUT = ../atanks
WFLAGS =
OFLAGS =
Deleted: trunk/dports/games/atanks/files/patch-src-parser.cc
===================================================================
--- trunk/dports/games/atanks/files/patch-src-parser.cc 2007-04-28 05:01:56 UTC (rev 24559)
+++ trunk/dports/games/atanks/files/patch-src-parser.cc 2007-04-28 05:26:04 UTC (rev 24560)
@@ -1,10 +0,0 @@
---- src/parser.cc Fri Apr 2 17:38:09 2004
-+++ parser.cc Thu Nov 11 13:11:32 2004
-@@ -1,6 +1,7 @@
- #include <stdio.h>
- #include <string.h>
- #include <stdlib.h>
-+#include <sys/stat.h>
- #include "main.h"
- #include "parser.h"
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070427/92629ce3/attachment.html
More information about the macports-changes
mailing list