diff options
Diffstat (limited to 'games-sports/bygfoot/bygfoot-1.9.6.ebuild')
-rw-r--r-- | games-sports/bygfoot/bygfoot-1.9.6.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/games-sports/bygfoot/bygfoot-1.9.6.ebuild b/games-sports/bygfoot/bygfoot-1.9.6.ebuild new file mode 100644 index 000000000000..aff164198e90 --- /dev/null +++ b/games-sports/bygfoot/bygfoot-1.9.6.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-sports/bygfoot/bygfoot-1.9.6.ebuild,v 1.1 2006/05/14 22:44:37 mr_bones_ Exp $ + +inherit eutils games + +DESCRIPTION="GTK+2 Soccer Management Game" +HOMEPAGE="http://bygfoot.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=">=x11-libs/gtk+-2.0" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_unpack() { + unpack ${A} + + sed -i \ + -e '/PACKAGE_LOCALE_DIR/s:\$(prefix)/\$(DATADIRNAME):/usr/share:' \ + "${S}"/src/Makefile.in \ + || die "sed failed" + sed -i \ + -e '/localedir/s:\$(libdir):/usr/share:' \ + -e '/gnulocaledir/s:\$(datadir):/usr/share:' \ + "${S}"/po/Makefile.in.in \ + || die "sed failed" +} + +src_install() { + localedir=/usr/share/locale \ + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog README TODO UPDATE + newicon support_files/pixmaps/bygfoot_icon.png ${PN}.png + make_desktop_entry ${PN} "Bygfoot" + prepgamesdirs +} |