summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-06-06 17:32:31 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-06-06 17:32:31 +0000
commit3d50560fd5db4520cfad7ea871eb226479eccb04 (patch)
tree284af4028fc20f3ce70ceae9381d95d2c29c4c6a /games-action
parent[bump] virtual/perl-version-0.910.0 (diff)
downloadhistorical-3d50560fd5db4520cfad7ea871eb226479eccb04.tar.gz
historical-3d50560fd5db4520cfad7ea871eb226479eccb04.tar.bz2
historical-3d50560fd5db4520cfad7ea871eb226479eccb04.zip
version bump
Package-Manager: portage-2.1.9.42/cvs/Linux i686
Diffstat (limited to 'games-action')
-rw-r--r--games-action/atanks/ChangeLog8
-rw-r--r--games-action/atanks/Manifest5
-rw-r--r--games-action/atanks/atanks-5.0.ebuild41
-rw-r--r--games-action/atanks/files/atanks-5.0-build.patch134
4 files changed, 186 insertions, 2 deletions
diff --git a/games-action/atanks/ChangeLog b/games-action/atanks/ChangeLog
index 7ec8476383a1..bf004ec5bd00 100644
--- a/games-action/atanks/ChangeLog
+++ b/games-action/atanks/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-action/atanks
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.62 2011/04/25 19:00:30 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.63 2011/06/06 17:32:31 mr_bones_ Exp $
+
+*atanks-5.0 (06 Jun 2011)
+
+ 06 Jun 2011; Michael Sterrett <mr_bones_@gentoo.org> +atanks-5.0.ebuild,
+ +files/atanks-5.0-build.patch:
+ version bump
*atanks-4.9 (25 Apr 2011)
diff --git a/games-action/atanks/Manifest b/games-action/atanks/Manifest
index b468dd4ef78e..bf756f3770bb 100644
--- a/games-action/atanks/Manifest
+++ b/games-action/atanks/Manifest
@@ -1,8 +1,11 @@
AUX atanks-4.7-build.patch 5474 RMD160 98003db7b9c630f5dfe0de5f2e5ca3ee6d200857 SHA1 4371c6d18b8109a0e727690a2e1e975c93dc002f SHA256 f4dc5b4d891a771362fff418e156c46bd9aee9cd69f0774f5ff58b7e33ec41ef
AUX atanks-4.9-build.patch 5474 RMD160 98003db7b9c630f5dfe0de5f2e5ca3ee6d200857 SHA1 4371c6d18b8109a0e727690a2e1e975c93dc002f SHA256 f4dc5b4d891a771362fff418e156c46bd9aee9cd69f0774f5ff58b7e33ec41ef
+AUX atanks-5.0-build.patch 5474 RMD160 98003db7b9c630f5dfe0de5f2e5ca3ee6d200857 SHA1 4371c6d18b8109a0e727690a2e1e975c93dc002f SHA256 f4dc5b4d891a771362fff418e156c46bd9aee9cd69f0774f5ff58b7e33ec41ef
DIST atanks-4.7.tar.gz 3114429 RMD160 027546c34d4fc4bcfac3e116fcf12ec16ee44ed2 SHA1 bcb731c2c84d16efa1930fde8756b62c28993b24 SHA256 300be923cd6f4b7eb19c5f39db1dc001da2ee6c52f544c768e059dc5ad42a94d
DIST atanks-4.9.tar.gz 3125561 RMD160 352eed25e91c00f3ab43d75c50a54f3763c53c83 SHA1 a5d375476a6d079b5a403164aca7718010dd2832 SHA256 6d67aa0562d36fcd40a19b6463c433cecf16518c30d268222362922911e4b604
+DIST atanks-5.0.tar.gz 3125626 RMD160 e27dcac9fc6e33d0bced984498543a0651bbcb98 SHA1 d56d35277f4d12370cb2657a94e374714b8030c4 SHA256 d299e0c962748f5631ee154900e02c08fc15fdb6981c3ced6a7175d4262b4dc3
EBUILD atanks-4.7.ebuild 1037 RMD160 aff127aaa6498fe0783dd66ae168556e6c3be3eb SHA1 dc3e9ddcae9549d375c0cd7efec052704cf00750 SHA256 b760343a02111a645f95294ce7c465c3ca3c1d0c457a7010a8679d73cbad894a
EBUILD atanks-4.9.ebuild 1040 RMD160 44df8c678d5664b59274bea575c9976effdeba60 SHA1 a1bd81bdba60bd6afa6d2b35e84cfc7b79c708b1 SHA256 3d895b250aa8c7234c78c40d5c4c05dd2d388c197f6d18d8bc4bf9f5dee871e0
-MISC ChangeLog 8743 RMD160 8231fa273fd2ad59b2f5ecda0ba2a89a5adc00da SHA1 358b1677b628344972af0462b7786b856afa3639 SHA256 75217b8e157edab29960ae0d55f2aa72caac72907ecdcd94ea7d88561a024116
+EBUILD atanks-5.0.ebuild 1040 RMD160 abb4b8dfd70e7b179c8074f3d13d1d2d027663d0 SHA1 07495d3ac56c59c1622b6af9302e43f3f4fc3077 SHA256 afb6c7280daa99ad19daa499237d53f09e37663cff115143eeb7bcb2186bd48d
+MISC ChangeLog 8894 RMD160 6bd9a11c10ce295f723e162d34d3faba8b016280 SHA1 509170532ade26ae60ce55afba9aa96754116858 SHA256 e81fed9687c4320a584bd5af15101403365d4d1cfdb66cab47f412f7ce861cdf
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-action/atanks/atanks-5.0.ebuild b/games-action/atanks/atanks-5.0.ebuild
new file mode 100644
index 000000000000..ce427689dc5f
--- /dev/null
+++ b/games-action/atanks/atanks-5.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/atanks-5.0.ebuild,v 1.1 2011/06/06 17:32:31 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils games
+
+DESCRIPTION="Worms and Scorched Earth-like game"
+HOMEPAGE="http://atanks.sourceforge.net/"
+SRC_URI="mirror://sourceforge/atanks/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="<media-libs/allegro-5[X]"
+
+src_prepare() {
+ find . -type f -name ".directory" -exec rm -vf '{}' +
+ epatch "${FILESDIR}"/${P}-build.patch
+}
+
+src_compile() {
+ emake \
+ BINDIR="${GAMES_BINDIR}" \
+ INSTALLDIR="${GAMES_DATADIR}/${PN}" \
+ || die "emake failed"
+}
+
+src_install() {
+ dogamesbin ${PN} || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r button misc missile sound stock tank tankgun text title \
+ unicode.dat *.txt \
+ || die "doins failed"
+ doicon ${PN}.png
+ make_desktop_entry atanks "Atomic Tanks"
+ dodoc Changelog README TODO
+ prepgamesdirs
+}
diff --git a/games-action/atanks/files/atanks-5.0-build.patch b/games-action/atanks/files/atanks-5.0-build.patch
new file mode 100644
index 000000000000..aca3f4467baa
--- /dev/null
+++ b/games-action/atanks/files/atanks-5.0-build.patch
@@ -0,0 +1,134 @@
+diff -ru atanks-4.6.orig/src/Makefile atanks-4.6/src/Makefile
+--- atanks-4.6.orig/src/Makefile 2010-05-24 12:30:23.000000000 -0400
++++ atanks-4.6/src/Makefile 2010-06-02 03:22:25.112064819 -0400
+@@ -4,9 +4,6 @@
+ missile.o perlin.o physobj.o player.o satellite.o sky.o tank.o team.o teleport.o virtobj.o \
+ update.o network.o floattext.o land.o text.o client.o gameloop.o
+
+-CPP=g++
+-CC=gcc
+-LD=g++
+ LIB=ar
+ WINDRES=
+ # FLAGS += -DDATA_DIR=\".\" -Wno-write-strings -DNETWORK -DTHREADS
+@@ -15,9 +12,9 @@
+ WFLAGS =
+ OFLAGS =
+ LFLAGS +=
+-LDFLAGS = `allegro-config --libs`
++LDFLAGS += `allegro-config --libs`
+
+-CFLAGS += -g -Wall -Iinclude # -fprofile-arcs -ftest-coverage
++CXXFLAGS += -Wall -Iinclude # -fprofile-arcs -ftest-coverage
+
+ SRCS = $(MODULES:.o=.cpp)
+ GLOBALS = main.h imagedefs.h externs.h
+@@ -33,82 +30,82 @@
+ $(MODULES): Makefile
+
+ atanks.o: atanks.cpp globals.h main.h menucontent.h
+- $(CPP) -c atanks.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c atanks.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ button.o: button.cpp button.h
+- $(CPP) -c button.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c button.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ client.o: client.h client.cpp
+- $(CPP) -c client.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGSS) $(CFLAGS)
++ $(CXX) -c client.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGSS) $(CXXFLAGS)
+
+ environment.o: environment.cpp environment.h
+- $(CPP) -c environment.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c environment.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ explosion.o: explosion.cpp explosion.h
+- $(CPP) -c explosion.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c explosion.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ files.o: files.cpp files.h text.h text.cpp
+- $(CPP) -c files.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c files.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ floattext.o: floattext.cpp floattext.h
+- $(CPP) -c floattext.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c floattext.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ gameloop.o: gameloop.cpp atanks.cpp main.h
+- $(CPP) -c gameloop.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c gameloop.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ globaldata.o: globaldata.cpp globaldata.h
+- $(CPP) -c globaldata.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c globaldata.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ land.o: land.cpp land.h globaldata.h environment.h
+- $(CPP) -c land.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c land.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ missile.o: missile.cpp missile.h
+- $(CPP) -c missile.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c missile.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ teleport.o: teleport.cpp teleport.h
+- $(CPP) -c teleport.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c teleport.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ physobj.o: physobj.cpp physobj.h
+- $(CPP) -c physobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c physobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ player.o: player.cpp player.h
+- $(CPP) -c player.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c player.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ tank.o: tank.cpp tank.h
+- $(CPP) -c tank.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c tank.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ team.o: team.cpp team.h
+- $(CPP) -c team.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c team.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ virtobj.o: virtobj.cpp virtobj.h
+- $(CPP) -c virtobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c virtobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ fade.o: fade.cpp
+- $(CPP) -c fade.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c fade.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ perlin.o: perlin.cpp
+- $(CPP) -c perlin.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c perlin.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ sky.o: sky.cpp sky.h
+- $(CPP) -c sky.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c sky.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ satellite.o: satellite.cpp satellite.h
+- $(CPP) -c satellite.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c satellite.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ text.o: text.cpp text.h
+- $(CPP) -c text.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c text.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ update.o: update.cpp update.h
+- $(CPP) -c update.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c update.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ network.o: network.cpp network.h
+- $(CPP) -c network.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c network.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ %.o: %.cpp %.h
+- $(CPP) -c $< -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c $< -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ $(OUTPUT): $(OBJECTS) $(MODULES)
+- $(CPP) $(MODULES) -o $(OUTPUT) $(FLAGS) $(LFLAGS) $(LDFLAGS) $(SFLAGS) $(CFLAGS)
++ $(CXX) $(MODULES) -o $(OUTPUT) $(FLAGS) $(LFLAGS) $(LDFLAGS) $(SFLAGS) $(CXXFLAGS)
+ # strip $(OUTPUT)
+
+ # dependencies: