/[gentoo-x86]/games-sports/bygfoot/bygfoot-2.3.2.ebuild
Gentoo

Contents of /games-sports/bygfoot/bygfoot-2.3.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Mon Jan 13 00:57:23 2014 UTC (6 years ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +7 -9 lines
fix underlinking (bug #497932; EAPI=5

(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-sports/bygfoot/bygfoot-2.3.2.ebuild,v 1.6 2012/10/04 06:51:52 mr_bones_ Exp $
4
5 EAPI=5
6 inherit eutils games
7
8 DESCRIPTION="GTK+2 Soccer Management Game"
9 HOMEPAGE="http://bygfoot.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ~ppc x86"
15 IUSE=""
16
17 RDEPEND="x11-libs/gtk+:2
18 media-libs/freetype:2
19 app-arch/zip
20 virtual/libintl"
21 DEPEND="${RDEPEND}
22 virtual/pkgconfig
23 sys-devel/gettext"
24
25 src_prepare() {
26 sed -i \
27 -e 's:$(gnulocaledir):/usr/share/locale:' \
28 -e '/PACKAGE_LOCALE_DIR/s:\$(prefix)/\$(DATADIRNAME):/usr/share:' \
29 -e '/bygfoot_LDADD/s/$/ -lm/' \
30 po/Makefile.in.in src/Makefile.in || die
31 }
32
33 src_configure() {
34 egamesconf --disable-gstreamer
35 }
36
37 src_install() {
38 emake DESTDIR="${D}" install
39 esvn_clean "${D}"
40 dodoc AUTHORS ChangeLog README TODO UPDATE
41 newicon support_files/pixmaps/bygfoot_icon.png ${PN}.png
42 make_desktop_entry ${PN} Bygfoot
43 prepgamesdirs
44 }

  ViewVC Help
Powered by ViewVC 1.1.20