summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-01-12 01:19:43 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-01-12 01:19:43 +0000
commit9297da6ac04adf6884b7de815011f4c924ccc444 (patch)
treebc9b334fc97dcb00006c6a1cd1593d5f689bf33f /games-sports
parentStable on sparc wrt #161652 (diff)
downloadgentoo-2-9297da6ac04adf6884b7de815011f4c924ccc444.tar.gz
gentoo-2-9297da6ac04adf6884b7de815011f4c924ccc444.tar.bz2
gentoo-2-9297da6ac04adf6884b7de815011f4c924ccc444.zip
Fix locale install directory, bug #159645
(Portage version: 2.1.2_rc4-r8)
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/bygfoot/ChangeLog7
-rw-r--r--games-sports/bygfoot/bygfoot-2.0.1.ebuild46
-rw-r--r--games-sports/bygfoot/files/digest-bygfoot-1.9.36
3 files changed, 34 insertions, 25 deletions
diff --git a/games-sports/bygfoot/ChangeLog b/games-sports/bygfoot/ChangeLog
index 9e92a8026478..c784773fb553 100644
--- a/games-sports/bygfoot/ChangeLog
+++ b/games-sports/bygfoot/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-sports/bygfoot
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/bygfoot/ChangeLog,v 1.14 2006/10/12 20:32:51 mr_bones_ Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/bygfoot/ChangeLog,v 1.15 2007/01/12 01:19:43 nyhm Exp $
+
+ 12 Jan 2007; Tristan Heaven <nyhm@gentoo.org> bygfoot-2.0.1.ebuild:
+ Fix locale install directory, bug #159645
*bygfoot-2.0.1 (12 Oct 2006)
diff --git a/games-sports/bygfoot/bygfoot-2.0.1.ebuild b/games-sports/bygfoot/bygfoot-2.0.1.ebuild
index 4ed209de055d..b0b2571209f0 100644
--- a/games-sports/bygfoot/bygfoot-2.0.1.ebuild
+++ b/games-sports/bygfoot/bygfoot-2.0.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/bygfoot/bygfoot-2.0.1.ebuild,v 1.1 2006/10/12 20:32:51 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/bygfoot/bygfoot-2.0.1.ebuild,v 1.2 2007/01/12 01:19:43 nyhm Exp $
inherit eutils games
@@ -13,27 +13,32 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
-RDEPEND=">=x11-libs/gtk+-2.0"
+RDEPEND=">=x11-libs/gtk+-2
+ virtual/libintl"
DEPEND="${RDEPEND}
- dev-util/pkgconfig"
+ dev-util/pkgconfig
+ sys-devel/gettext"
src_unpack() {
unpack ${A}
-
+ cd "${S}"
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 \
+ src/Makefile.in \
|| die "sed failed"
}
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --disable-gstreamer \
+ --with-localedir=/usr/share/locale \
+ || die
+ emake || die "emake failed"
+}
+
src_install() {
- localedir=/usr/share/locale \
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog README TODO UPDATE
newicon support_files/pixmaps/bygfoot_icon.png ${PN}.png
make_desktop_entry ${PN} "Bygfoot"
@@ -43,12 +48,13 @@ src_install() {
pkg_postinst() {
games_pkg_postinst
echo
- einfo "If you'd like to keep your settings and savegames from previous"
- einfo "1.9.x versions, you should rename the .bygfoot-1.9 directory"
- einfo "to .bygfoot in your home directory."
+ elog "If you'd like to keep your settings and savegames from previous"
+ elog "1.9.x versions, you should rename the .bygfoot-1.9 directory"
+ elog "to .bygfoot in your home directory."
+ echo
+ elog "If you upgrade from 1.8.x, you should first delete the .bygfoot"
+ elog "directory in your home dir to keep things clean."
+ elog "Also note that savegames from 1.8.x are not compatible with"
+ elog "current versions of ${PN}"
echo
- einfo "If you upgrade from 1.8.x, you should first delete the .bygfoot"
- einfo "directory in your home dir to keep things clean."
- einfo "Also note that savegames from 1.8.x are not compatible with"
- einfo "current versions of ${PN}"
}
diff --git a/games-sports/bygfoot/files/digest-bygfoot-1.9.3 b/games-sports/bygfoot/files/digest-bygfoot-1.9.3
index e90c1754917b..c065ed5e1efd 100644
--- a/games-sports/bygfoot/files/digest-bygfoot-1.9.3
+++ b/games-sports/bygfoot/files/digest-bygfoot-1.9.3
@@ -1,3 +1,3 @@
-MD5 9b1d5a4751ffea02dda2f0b6649901f1 bygfoot-1.9.3.tar.bz2 1343489
-RMD160 64f5913bc74155ad467b9db4aec6a135964e1d8e bygfoot-1.9.3.tar.bz2 1343489
-SHA256 04c961cab5a7d65fcbe61dc8eacf2d800cdcf19c91c665ddc1c88735d2b3f985 bygfoot-1.9.3.tar.bz2 1343489
+MD5 426e5ce203c440ec4a69ebc59c7552d2 bygfoot-1.9.3.tar.bz2 894884
+RMD160 616dbd3fab3765a7fb638059cc5f3a7d43e6f196 bygfoot-1.9.3.tar.bz2 894884
+SHA256 1497166e70ecae365c22174bb95d2c89cec96cf8f0f4ef5eea9c8c65c74bd49f bygfoot-1.9.3.tar.bz2 894884