summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/tornado/tornado-1.3.ebuild')
-rw-r--r--games-strategy/tornado/tornado-1.3.ebuild20
1 files changed, 7 insertions, 13 deletions
diff --git a/games-strategy/tornado/tornado-1.3.ebuild b/games-strategy/tornado/tornado-1.3.ebuild
index fecf25abaaba..44c161358463 100644
--- a/games-strategy/tornado/tornado-1.3.ebuild
+++ b/games-strategy/tornado/tornado-1.3.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2005 Gentoo Foundation
+# 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.6 2007/04/18 01:36:36 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/tornado/tornado-1.3.ebuild,v 1.7 2009/02/12 14:09:39 tupone Exp $
-inherit games
+EAPI=2
+inherit eutils games
DESCRIPTION="Clone of a C64 game - destroy the opponent's house"
HOMEPAGE="http://home.kcore.de/~kiza/linux/tornado/"
@@ -13,23 +14,16 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
-DEPEND=">=sys-libs/ncurses-5.3"
+DEPEND=""
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- sed -i \
- -e "s:/usr/local:/usr:" \
- -e "s:-O2:${CFLAGS}:" \
- Makefile \
- || die "sed failed"
+src_prepare() {
sed -i \
-e "s:PREFIX/bin:${GAMES_BINDIR}:" \
-e "s:PREFIX/man:/usr/man:" \
-e "s:/usr/local:/usr:" \
doc/man/tornado.6.in \
|| die "sed failed"
+ epatch "${FILESDIR}"/${P}-gentoo.patch
}
src_install() {