You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-sports/bygfoot/bygfoot-2.3.2.ebuild

46 lines
1.1 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-sports/bygfoot/bygfoot-2.3.2.ebuild,v 1.5 2012/05/03 03:35:39 jdhore Exp $
EAPI=2
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
media-libs/freetype:2
virtual/libintl"
DEPEND="${RDEPEND}
virtual/pkgconfig
sys-devel/gettext"
src_prepare() {
sed -i \
-e 's:$(gnulocaledir):/usr/share/locale:' \
-e '/PACKAGE_LOCALE_DIR/s:\$(prefix)/\$(DATADIRNAME):/usr/share:' \
po/Makefile.in.in src/Makefile.in \
|| die "sed failed"
}
src_configure() {
egamesconf \
--disable-dependency-tracking \
--disable-gstreamer
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
esvn_clean "${D}"
dodoc AUTHORS ChangeLog README TODO UPDATE
newicon support_files/pixmaps/bygfoot_icon.png ${PN}.png
make_desktop_entry ${PN} Bygfoot
prepgamesdirs
}