summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-03-27 02:04:04 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-03-27 02:04:04 +0000
commit0eed8780a5e18cfe09bc84768941909d288023c6 (patch)
tree2ef06db736344229bfa446d9053078c133046cc5 /games-strategy
parentBuild sys-devel/gcc with mudflap support by default if supported gcc version (diff)
downloadgentoo-2-0eed8780a5e18cfe09bc84768941909d288023c6.tar.gz
gentoo-2-0eed8780a5e18cfe09bc84768941909d288023c6.tar.bz2
gentoo-2-0eed8780a5e18cfe09bc84768941909d288023c6.zip
version bump; fix HOMEPAGE (bug #263907)
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/tornado/ChangeLog8
-rw-r--r--games-strategy/tornado/files/tornado-1.4-gentoo.patch26
-rw-r--r--games-strategy/tornado/tornado-1.3.ebuild6
-rw-r--r--games-strategy/tornado/tornado-1.4.ebuild38
4 files changed, 74 insertions, 4 deletions
diff --git a/games-strategy/tornado/ChangeLog b/games-strategy/tornado/ChangeLog
index 72b930579191..1b1d5cf5342b 100644
--- a/games-strategy/tornado/ChangeLog
+++ b/games-strategy/tornado/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/tornado
# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/tornado/ChangeLog,v 1.12 2009/02/12 14:09:39 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/tornado/ChangeLog,v 1.13 2009/03/27 02:04:04 mr_bones_ Exp $
+
+*tornado-1.4 (27 Mar 2009)
+
+ 27 Mar 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/tornado-1.4-gentoo.patch, tornado-1.3.ebuild, +tornado-1.4.ebuild:
+ version bump; fix HOMEPAGE (bug #263907)
12 Feb 2009; Alfredo Tupone <tupone@gentoo.org>
+files/tornado-1.3-gentoo.patch, tornado-1.3.ebuild:
diff --git a/games-strategy/tornado/files/tornado-1.4-gentoo.patch b/games-strategy/tornado/files/tornado-1.4-gentoo.patch
new file mode 100644
index 000000000000..fb8966841158
--- /dev/null
+++ b/games-strategy/tornado/files/tornado-1.4-gentoo.patch
@@ -0,0 +1,26 @@
+--- Makefile.old 2009-02-12 12:42:25.000000000 +0100
++++ Makefile 2009-02-12 12:44:52.000000000 +0100
+@@ -1,10 +1,9 @@
+-CC = gcc
+ MAKE = make
+-LDFLAGS = -lncurses
++LDLIBS = -lncurses
+ OBJFILES = main.o draw.o erwin.o network.o scores.o
+-PREFIX = /usr/local
+-LOCALEPATH = /usr/local/share/locale
+-CFLAGS = -Wall -O2 -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\""
++PREFIX = /usr
++LOCALEPATH = /usr/share/locale
++CFLAGS += -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\""
+ VERSION = `grep " VERSION" version.h | sed s/\"//g | sed s/\#define\ VERSION\ //`
+ LOCALES = de
+ MAN = doc/man
+@@ -25,7 +24,7 @@
+ $(MAKE) -C $(MAN) all
+
+ tornado: $(OBJFILES)
+- $(CC) $(LDFLAGS) $(OBJFILES) -o tornado
++ $(CC) $(LDFLAGS) $(OBJFILES) $(LDLIBS) -o tornado
+
+ debug: tornado.6 locales
+ gcc -g -ggdb -Wall -ansi -pedantic -o tornado draw.c main.c erwin.c network.c scores.c -lncurses -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\""
diff --git a/games-strategy/tornado/tornado-1.3.ebuild b/games-strategy/tornado/tornado-1.3.ebuild
index 44c161358463..c479fbff3e2c 100644
--- a/games-strategy/tornado/tornado-1.3.ebuild
+++ b/games-strategy/tornado/tornado-1.3.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/tornado/tornado-1.3.ebuild,v 1.7 2009/02/12 14:09:39 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/tornado/tornado-1.3.ebuild,v 1.8 2009/03/27 02:04:04 mr_bones_ Exp $
EAPI=2
inherit eutils games
DESCRIPTION="Clone of a C64 game - destroy the opponent's house"
-HOMEPAGE="http://home.kcore.de/~kiza/linux/tornado/"
-SRC_URI="http://home.kcore.de/~kiza/linux/tornado/download/${P}.tar.gz"
+HOMEPAGE="http://kiza.kcore.de/software/tornado/"
+SRC_URI="http://kiza.kcore.de/software/tornado/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
diff --git a/games-strategy/tornado/tornado-1.4.ebuild b/games-strategy/tornado/tornado-1.4.ebuild
new file mode 100644
index 000000000000..520b30de01ae
--- /dev/null
+++ b/games-strategy/tornado/tornado-1.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/tornado/tornado-1.4.ebuild,v 1.1 2009/03/27 02:04:04 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils games
+
+DESCRIPTION="Clone of a C64 game - destroy the opponent's house"
+HOMEPAGE="http://kiza.kcore.de/software/tornado/"
+SRC_URI="http://kiza.kcore.de/software/tornado/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=""
+
+src_prepare() {
+ sed -i \
+ -e "s:PREFIX/bin:${GAMES_BINDIR}:" \
+ -e "s:PREFIX/man:/usr/man:" \
+ -e "s:/var/games:${GAMES_STATEDIR}:" \
+ -e "s:/usr/local:/usr:" \
+ doc/man/tornado.6.in \
+ || die "sed failed"
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_install() {
+ dogamesbin tornado || die "dogamesbin failed"
+ doman doc/man/tornado.6
+ dodoc AUTHOR CREDITS Changelog README TODO
+ insinto "${GAMES_STATEDIR}"
+ doins tornado.scores
+ prepgamesdirs
+ fperms 664 "${GAMES_STATEDIR}/tornado.scores"
+}