summaryrefslogtreecommitdiff
path: root/games-sports/bygfoot
diff options
context:
space:
mode:
Diffstat (limited to 'games-sports/bygfoot')
-rw-r--r--games-sports/bygfoot/Manifest1
-rw-r--r--games-sports/bygfoot/bygfoot-2.3.2.ebuild44
-rw-r--r--games-sports/bygfoot/metadata.xml8
3 files changed, 53 insertions, 0 deletions
diff --git a/games-sports/bygfoot/Manifest b/games-sports/bygfoot/Manifest
new file mode 100644
index 00000000000..a70300bd010
--- /dev/null
+++ b/games-sports/bygfoot/Manifest
@@ -0,0 +1 @@
+DIST bygfoot-2.3.2.tar.bz2 1585550 SHA256 2e7f300ff33d45406cae3fa9e846fd5abcccbef500787a690ec8eccd020a224d SHA512 ce93333f50de6696538a494794d469d6768b93332f8cca1c96725259d23a78f64b94fcfff1e6227ddce52e75ae2d1e55ed78f2e94603bf1c06c6fc808f0b9626 WHIRLPOOL 33132c3410924e2edf29c85a465dcedff6f63fe9283f02cfe198e351710330e46d4ac4d0b7cfcbca74952bb4c5c19c0a85c8c6d712363df1080b7015e9f902f8
diff --git a/games-sports/bygfoot/bygfoot-2.3.2.ebuild b/games-sports/bygfoot/bygfoot-2.3.2.ebuild
new file mode 100644
index 00000000000..24ad0c46138
--- /dev/null
+++ b/games-sports/bygfoot/bygfoot-2.3.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+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
+ app-arch/zip
+ 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:' \
+ -e '/bygfoot_LDADD/s/$/ -lm/' \
+ po/Makefile.in.in src/Makefile.in || die
+}
+
+src_configure() {
+ egamesconf --disable-gstreamer
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ esvn_clean "${D}"
+ dodoc AUTHORS ChangeLog README TODO UPDATE
+ newicon support_files/pixmaps/bygfoot_icon.png ${PN}.png
+ make_desktop_entry ${PN} Bygfoot
+ prepgamesdirs
+}
diff --git a/games-sports/bygfoot/metadata.xml b/games-sports/bygfoot/metadata.xml
new file mode 100644
index 00000000000..193d489e2fc
--- /dev/null
+++ b/games-sports/bygfoot/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">bygfoot</remote-id>
+ </upstream>
+</pkgmetadata>