summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-06 22:59:43 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-06 22:59:43 +0000
commit80cb4f793c2699d200bb86a1e703fa64104e6a02 (patch)
tree1a1b1ac016a3c03984e1df3bd780f23b9c7cd8d8 /games-board
parentrename (diff)
downloadgentoo-2-80cb4f793c2699d200bb86a1e703fa64104e6a02.tar.gz
gentoo-2-80cb4f793c2699d200bb86a1e703fa64104e6a02.tar.bz2
gentoo-2-80cb4f793c2699d200bb86a1e703fa64104e6a02.zip
Fix label that showed english as eng instead of en #91740 by Prof. Jonathan King.
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/xscrabble/ChangeLog10
-rw-r--r--games-board/xscrabble/files/digest-xscrabble-2.10-r13
-rw-r--r--games-board/xscrabble/xscrabble-2.10-r1.ebuild48
3 files changed, 59 insertions, 2 deletions
diff --git a/games-board/xscrabble/ChangeLog b/games-board/xscrabble/ChangeLog
index a42d0985640b..3ba9abae502f 100644
--- a/games-board/xscrabble/ChangeLog
+++ b/games-board/xscrabble/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-board/xscrabble
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/xscrabble/ChangeLog,v 1.5 2004/06/24 22:23:04 agriffis Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/xscrabble/ChangeLog,v 1.6 2005/05/06 22:59:43 vapier Exp $
+
+*xscrabble-2.10-r1 (06 May 2005)
+
+ 06 May 2005; Mike Frysinger <vapier@gentoo.org> +xscrabble-2.10-r1.ebuild:
+ Fix label that showed english as eng instead of en #91740 by Prof. Jonathan
+ King.
04 May 2004; Michael Sterrett <mr_bones_@gentoo.org> xscrabble-2.10.ebuild:
Only sed actual files (bug #49892)
diff --git a/games-board/xscrabble/files/digest-xscrabble-2.10-r1 b/games-board/xscrabble/files/digest-xscrabble-2.10-r1
new file mode 100644
index 000000000000..151724409093
--- /dev/null
+++ b/games-board/xscrabble/files/digest-xscrabble-2.10-r1
@@ -0,0 +1,3 @@
+MD5 376531c836b62f81d2ac2281495b5030 xscrabble-2.10.tgz 83575
+MD5 be5e45715225ff524b5e7cdff164ed0d xscrabble_fr.tgz 810737
+MD5 791244c62c92fc2dfd1c524f1a25eb9f xscrabble_en.tgz 393527
diff --git a/games-board/xscrabble/xscrabble-2.10-r1.ebuild b/games-board/xscrabble/xscrabble-2.10-r1.ebuild
new file mode 100644
index 000000000000..741aeeaf03a2
--- /dev/null
+++ b/games-board/xscrabble/xscrabble-2.10-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/xscrabble/xscrabble-2.10-r1.ebuild,v 1.1 2005/05/06 22:59:43 vapier Exp $
+
+inherit eutils games multilib
+
+DESCRIPTION="An X11 clone of the well-known Scrabble"
+HOMEPAGE="http://freshmeat.net/projects/xscrabble/?topic_id=80"
+SRC_URI="ftp://ftp.ac-grenoble.fr/ge/educational_games/${P}.tgz
+ linguas_fr? ( ftp://ftp.ac-grenoble.fr/ge/educational_games/xscrabble_fr.tgz )
+ ftp://ftp.ac-grenoble.fr/ge/educational_games/xscrabble_en.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="virtual/x11"
+
+src_unpack() {
+ unpack ${P}.tgz
+ cp "${DISTDIR}"/xscrabble_en.tgz .
+ use linguas_fr && cp "${DISTDIR}"/xscrabble_fr.tgz .
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-path-fixes.patch
+}
+
+src_compile() {
+ ./build bin || die "build failed"
+}
+
+src_install() {
+ export DESTDIR="${D}" LIBDIR="$(get_libdir)"
+ ./build install || die "install failed"
+ if use linguas_fr ; then
+ ./build lang fr || die "fr failed"
+ fi
+ ./build lang en || die "en failed"
+ for f in "${D}"/usr/${LIBDIR}/X11/app-defaults/* ; do
+ [[ -L ${f} ]] && continue
+ sed -i \
+ -e "s:/usr/games/lib/scrabble/:${GAMES_DATADIR}/${PN}/:" \
+ -e "s:fr/eng:fr/en:" \
+ ${f} || die "sed ${f} failed"
+ done
+ dodoc CHANGES README
+ prepgamesdirs
+}