/[gentoo-x86]/games-puzzle/4stattack/4stattack-2.1.4.ebuild
Gentoo

Contents of /games-puzzle/4stattack/4stattack-2.1.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Thu Mar 15 14:07:57 2007 UTC (7 years, 5 months ago) by nyhm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +15 -17 lines
Install menu entry, bug #159770
(Portage version: 2.1.2.2)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/4stattack/4stattack-2.1.4.ebuild,v 1.8 2005/09/26 18:13:01 wolf31o2 Exp $
4
5 inherit eutils games
6
7 DESCRIPTION="Connect-4 game, single or network multiplayer"
8 HOMEPAGE="http://forcedattack.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/forcedattack/4stAttack-${PV}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 hppa ppc x86"
14 IUSE=""
15
16 RDEPEND="dev-python/pygame"
17
18 S=${WORKDIR}/4stAttack-${PV}
19
20 src_unpack() {
21 unpack ${A}
22 cd "${S}"
23
24 # move the doc files aside so it's easier to install the game files
25 mv README.txt credits.txt changelog.txt ..
26 rm -f GPL version~
27
28 # This patch makes the game save settings in $HOME
29 epatch "${FILESDIR}"/${P}-gentoo.diff
30 }
31
32 src_install() {
33 games_make_wrapper ${PN} "python ${PN}.py" "${GAMES_DATADIR}"/${PN}
34 insinto "${GAMES_DATADIR}"/${PN}
35 doins -r * || die "doins failed"
36 newicon kde/icons/48x48/forcedattack2.png ${PN}.png
37 make_desktop_entry ${PN} "4st Attack 2"
38 dodoc ../{README.txt,credits.txt,changelog.txt}
39 prepgamesdirs
40 }

  ViewVC Help
Powered by ViewVC 1.1.20