/[gentoo-x86]/games-strategy/tornado/tornado-1.4.ebuild
Gentoo

Contents of /games-strategy/tornado/tornado-1.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Nov 13 17:18:36 2009 UTC (4 years, 10 months ago) by volkmar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for ppc.
Fix bug 285851.
(Portage version: 14755-svn/cvs/Linux ppc)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-strategy/tornado/tornado-1.4.ebuild,v 1.2 2009/09/22 08:22:43 maekke Exp $
4
5 EAPI=2
6 inherit eutils games
7
8 DESCRIPTION="Clone of a C64 game - destroy the opponent's house"
9 HOMEPAGE="http://kiza.kcore.de/software/tornado/"
10 SRC_URI="http://kiza.kcore.de/software/tornado/download/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ppc x86"
15 IUSE=""
16
17 DEPEND=""
18
19 src_prepare() {
20 sed -i \
21 -e "s:PREFIX/bin:${GAMES_BINDIR}:" \
22 -e "s:PREFIX/man:/usr/man:" \
23 -e "s:/var/games:${GAMES_STATEDIR}:" \
24 -e "s:/usr/local:/usr:" \
25 doc/man/tornado.6.in \
26 || die "sed failed"
27 epatch "${FILESDIR}"/${P}-gentoo.patch
28 }
29
30 src_install() {
31 dogamesbin tornado || die "dogamesbin failed"
32 doman doc/man/tornado.6
33 dodoc AUTHOR CREDITS Changelog README TODO
34 insinto "${GAMES_STATEDIR}"
35 doins tornado.scores
36 prepgamesdirs
37 fperms 664 "${GAMES_STATEDIR}/tornado.scores"
38 }

  ViewVC Help
Powered by ViewVC 1.1.20