summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-05-04 00:00:43 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-05-04 00:00:43 +0000
commit202c5634b36cb62cdfb5a33ca0dec12903fc8baf (patch)
tree7606cadb11226d26430ff9f555f3d8242369b0ba /games-action
parentNew version shipping gtk-doc.m4 of gtk-doc-1.11 (diff)
downloadhistorical-202c5634b36cb62cdfb5a33ca0dec12903fc8baf.tar.gz
historical-202c5634b36cb62cdfb5a33ca0dec12903fc8baf.tar.bz2
historical-202c5634b36cb62cdfb5a33ca0dec12903fc8baf.zip
version bump (bug #267097)
Package-Manager: portage-2.1.6.11/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-3.5.ebuild31
-rw-r--r--games-action/atanks/files/atanks-3.5-build.patch125
4 files changed, 167 insertions, 2 deletions
diff --git a/games-action/atanks/ChangeLog b/games-action/atanks/ChangeLog
index fdd40c2c0fa7..ec363980f349 100644
--- a/games-action/atanks/ChangeLog
+++ b/games-action/atanks/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-action/atanks
# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.37 2009/03/18 22:36:24 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.38 2009/05/04 00:00:42 mr_bones_ Exp $
+
+*atanks-3.5 (04 May 2009)
+
+ 04 May 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/atanks-3.5-build.patch, +atanks-3.5.ebuild:
+ version bump (bug #267097)
18 Mar 2009; Brent Baude <ranger@gentoo.org> atanks-3.2.ebuild:
stable ppc, bug 259251
diff --git a/games-action/atanks/Manifest b/games-action/atanks/Manifest
index e2a48af695c3..58ef87f4abb4 100644
--- a/games-action/atanks/Manifest
+++ b/games-action/atanks/Manifest
@@ -1,4 +1,7 @@
+AUX atanks-3.5-build.patch 4501 RMD160 5aa852588acb47722fad47b9bea1c295e3586816 SHA1 aa26195db17662e8e327a8d720438d64f0dd04b0 SHA256 4ab71883465973bbb8ea3a026929c41b935a8ecbb7126f83e3c0a626ad801f6b
DIST atanks-3.2.tar.gz 1380799 RMD160 1468b6c797f85320e078bad8aa611bf9e2085055 SHA1 64e9424c0e0bfe4afeedcfc40f033e4cff8d8d0f SHA256 0c5ec5c110aec13378071b63d8127454dc8daa88f59358d8f7ab29c16ce60d66
+DIST atanks-3.5-r1.tar.gz 1441924 RMD160 a99e51c7033886d6b965bf5c17d9b38aec07f91b SHA1 8715276a94b1e222d34084c340a7f9c299c2733a SHA256 c1cea2fce13ef6ed9424a1fb1a83d695507f6a544b0d19db4136086dc6a77477
EBUILD atanks-3.2.ebuild 1022 RMD160 68fd537b659cf827d3f7ea1d8ad46ef995ed9edf SHA1 9d2621f3ba9552fd8900717e1c993f81097a4c30 SHA256 3e913cb0dd0e8e1f4c763723fcd25ea142fd735863e393bb418400ddd8eeb1c4
-MISC ChangeLog 5608 RMD160 1320a26f1ba767bbce2a042d51553828a4516cb3 SHA1 b5d041a602111e723224b39e584e4e0132ef86b2 SHA256 9524195d7dbf0ef41bce0ad3b0763ab891b922136722449ec758fc871eb84d16
+EBUILD atanks-3.5.ebuild 799 RMD160 c28907b02f717c7366f285baaeae065b213f9392 SHA1 83f0910276895a585578474d1a96ff7a1ffaa460 SHA256 b032be717e5d8b248322b9e45669d20fa65ec9492f2a49f2c39d524fcde3dc78
+MISC ChangeLog 5776 RMD160 c07bd58ffd3b62df62fbb8dc4032a60b5f971309 SHA1 f38ff2bed4d2a70a406b8c5e7298b93b7029bdaa SHA256 18b947edc7accb790fe4436ed63cea10349cae8e1ca6ef0df97c22739ceefb3b
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-action/atanks/atanks-3.5.ebuild b/games-action/atanks/atanks-3.5.ebuild
new file mode 100644
index 000000000000..b164e90a43f3
--- /dev/null
+++ b/games-action/atanks/atanks-3.5.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/atanks-3.5.ebuild,v 1.1 2009/05/04 00:00:42 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}-r1.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="media-libs/allegro[X]"
+
+S=${WORKDIR}/${P}-r1
+
+PATCHES=( "${FILESDIR}"/${P}-build.patch )
+
+src_install() {
+ dogamesbin ${PN} || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins *.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-3.5-build.patch b/games-action/atanks/files/atanks-3.5-build.patch
new file mode 100644
index 000000000000..c2f9377ba713
--- /dev/null
+++ b/games-action/atanks/files/atanks-3.5-build.patch
@@ -0,0 +1,125 @@
+diff -ru atanks-3.5-r1.orig/Makefile atanks-3.5-r1/Makefile
+--- atanks-3.5-r1.orig/Makefile 2009-03-25 04:39:23.000000000 -0400
++++ atanks-3.5-r1/Makefile 2009-05-03 19:40:02.000000000 -0400
+@@ -4,7 +4,7 @@
+ BINPREFIX = $(PREFIX)
+
+ BINDIR = ${BINPREFIX}games/bin/
+-INSTALLDIR = ${PREFIX}share/games/atanks
++INSTALLDIR = ${PREFIX}share/games/atanks
+
+ export VERSION
+ export PREFIX
+diff -ru atanks-3.5-r1.orig/src/Makefile atanks-3.5-r1/src/Makefile
+--- atanks-3.5-r1.orig/src/Makefile 2009-03-23 04:58:36.000000000 -0400
++++ atanks-3.5-r1/src/Makefile 2009-05-03 19:41:56.000000000 -0400
+@@ -3,9 +3,6 @@
+ MODULES = atanks.o beam.o button.o environment.o explosion.o fade.o files.o globaldata.o \
+ missile.o perlin.o physobj.o player.o satellite.o sky.o tank.o team.o teleport.o virtobj.o
+
+-CPP=g++
+-CC=gcc
+-LD=g++
+ LIB=ar
+ WINDRES=
+ FLAGS += -DDATA_DIR=\"${INSTALLDIR}\"
+@@ -13,10 +10,10 @@
+ WFLAGS =
+ OFLAGS =
+ LFLAGS +=
+-LDFLAGS = `allegro-config --libs`
++LDFLAGS += `allegro-config --libs`
+
+-CFLAGS += -Wall -Iinclude # -fprofile-arcs -ftest-coverage
+-# CFLAGS += -g # debug vs optimize flags
++CXXFLAGS += -Wall -Iinclude # -fprofile-arcs -ftest-coverage
++# CXXFLAGS += -g # debug vs optimize flags
+ # No, let the user decide!
+
+ SRCS = $(MODULES:.o=.cpp)
+@@ -33,65 +30,65 @@
+ $(MODULES): Makefile
+
+ atanks.o:
+- $(CPP) -c atanks.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c atanks.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ button.o:
+- $(CPP) -c button.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c button.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ environment.o:
+- $(CPP) -c environment.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c environment.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ explosion.o:
+- $(CPP) -c explosion.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c explosion.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ files.o:
+- $(CPP) -c files.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c files.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ # No longer needed, as floattext is fully inline now!
+ # floattext.o:
+-# $(CPP) -c floattext.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++# $(CXX) -c floattext.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ globaldata.o:
+- $(CPP) -c globaldata.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c globaldata.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ missile.o:
+- $(CPP) -c missile.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c missile.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ teleport.o:
+- $(CPP) -c teleport.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c teleport.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ physobj.o:
+- $(CPP) -c physobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c physobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ player.o:
+- $(CPP) -c player.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c player.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ tank.o:
+- $(CPP) -c tank.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c tank.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ team.o:
+- $(CPP) -c team.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c team.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ virtobj.o:
+- $(CPP) -c virtobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c virtobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ fade.o:
+- $(CPP) -c fade.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c fade.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ perlin.o:
+- $(CPP) -c perlin.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c perlin.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ sky.o:
+- $(CPP) -c sky.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c sky.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ satellite.o:
+- $(CPP) -c satellite.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c satellite.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)
++ $(CXX) $(MODULES) -o $(OUTPUT) $(FLAGS) $(LFLAGS) $(LDFLAGS) $(SFLAGS)
+ # strip $(OUTPUT)
+
+ # dependencies: