blob: 1849d778de6b882df9276acef9e70e521b431398 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/tornado/tornado-1.2.1a.ebuild,v 1.2 2004/02/20 07:38:17 mr_bones_ Exp $
inherit 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"
LICENSE="GPL-2"
KEYWORDS="x86"
SLOT="0"
IUSE=""
RDEPEND=">=sys-libs/ncurses-5.3"
DEPEND="${RDEPEND}
>=sys-apps/sed-4
sys-apps/textutils"
src_unpack() {
unpack ${A}
cd ${S}
sed -i \
-e "s:/usr/local:/usr:" \
-e "s:-O2:${CFLAGS}:" Makefile || \
die "sed Makefile failed"
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 doc/man/tornado.6 failed"
}
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
}
|