summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-strategy/tornado/files/tornado-1.4-gentoo.patch26
-rw-r--r--games-strategy/tornado/tornado-1.4.ebuild37
2 files changed, 0 insertions, 63 deletions
diff --git a/games-strategy/tornado/files/tornado-1.4-gentoo.patch b/games-strategy/tornado/files/tornado-1.4-gentoo.patch
deleted file mode 100644
index fb8966841158..000000000000
--- a/games-strategy/tornado/files/tornado-1.4-gentoo.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- 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.4.ebuild b/games-strategy/tornado/tornado-1.4.ebuild
deleted file mode 100644
index 0c6638176e97..000000000000
--- a/games-strategy/tornado/tornado-1.4.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-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 ~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
- doman doc/man/tornado.6
- dodoc AUTHOR CREDITS Changelog README TODO
- insinto "${GAMES_STATEDIR}"
- doins tornado.scores
- prepgamesdirs
- fperms 664 "${GAMES_STATEDIR}/tornado.scores"
-}