summaryrefslogtreecommitdiff
blob: 637911cb31d7caadfdf44cde762912ca8e31a1a4 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-sports/bygfoot/bygfoot-1.8.1.ebuild,v 1.1 2005/06/08 20:41:24 wolf31o2 Exp $

inherit games

DESCRIPTION="GTK+2 Soccer Management Game"
HOMEPAGE="http://bygfoot.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

IUSE=""
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"

# Other depends would be (and why not listed):
# * pkgconfig > 0.9.0 - Oldest ebuild is 0.12.0
# * glib2, pango, atk - Depends from gtk+2
# * freetype2 - Depends from pango
DEPEND=">=x11-libs/gtk+-2.0
	dev-util/pkgconfig"

src_install() {
	dogamesbin src/bygfoot || die "Installation bygfoot failed."
	dogamesbin b-u/bygfoot-update-gui || die "Installation of bygfoot failed."
	dodoc AUTHORS ChangeLog INSTALL README TODO UPDATE
	insinto "${GAMES_DATADIR}/${PN}" 
	doins -r support_files/ || die "Installation of game data failed."
	newicon support_files/pixmaps/football.png ${PN}.png
	make_desktop_entry ${PN} "Bygfoot" ${PN}.png

	prepgamesdirs
}