summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-kids/tuxmathscrabble')
-rw-r--r--games-kids/tuxmathscrabble/Manifest2
-rw-r--r--games-kids/tuxmathscrabble/tuxmathscrabble-2.4a.ebuild18
2 files changed, 11 insertions, 9 deletions
diff --git a/games-kids/tuxmathscrabble/Manifest b/games-kids/tuxmathscrabble/Manifest
index 6d8387f4c873..eceea63a1bf9 100644
--- a/games-kids/tuxmathscrabble/Manifest
+++ b/games-kids/tuxmathscrabble/Manifest
@@ -1,5 +1,5 @@
MD5 8bf91441e6a771a5dc898ab1c4b6c3cf ChangeLog 596
MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241
-MD5 b000c733715401fb1a4451ef5159022c tuxmathscrabble-2.4a.ebuild 962
+MD5 0da7b6b16762c7fd014dcf1f547e607e tuxmathscrabble-2.4a.ebuild 1048
MD5 506d7f95703bf2dfa51f5027c26a2da2 files/2.4a-fix-setup.patch 755
MD5 d11b50f889944822a0c5f8214039deb0 files/digest-tuxmathscrabble-2.4a 70
diff --git a/games-kids/tuxmathscrabble/tuxmathscrabble-2.4a.ebuild b/games-kids/tuxmathscrabble/tuxmathscrabble-2.4a.ebuild
index 1b52e9c681ee..2bab5b98b3ae 100644
--- a/games-kids/tuxmathscrabble/tuxmathscrabble-2.4a.ebuild
+++ b/games-kids/tuxmathscrabble/tuxmathscrabble-2.4a.ebuild
@@ -1,19 +1,21 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/tuxmathscrabble-2.4a.ebuild,v 1.1 2003/11/08 06:59:19 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/tuxmathscrabble-2.4a.ebuild,v 1.2 2004/02/03 21:32:42 mr_bones_ Exp $
-inherit games distutils
+inherit distutils eutils games
MY_P=TuxMathScrabble_v${PV//./_}
+S="${WORKDIR}/${MY_P}"
DESCRIPTION="math-version of the popular board game for children 4-10"
HOMEPAGE="http://www.asymptopia.org/"
SRC_URI="mirror://sourceforge/tuxmathscrabble/${MY_P}.tgz"
+KEYWORDS="x86"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86"
+IUSE=""
-DEPEND=""
+DEPEND=">=sys-apps/sed-4"
RDEPEND="dev-lang/python
dev-python/pygame
media-libs/libsdl
@@ -21,13 +23,13 @@ RDEPEND="dev-lang/python
media-libs/sdl-mixer
media-libs/sdl-ttf"
-S=${WORKDIR}/${MY_P}
-
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PV}-fix-setup.patch
- sed -i 's:/usr/local/bin/python:/usr/bin/python:' tuxmathscrabble.py
+ sed -i \
+ -e 's:/usr/local/bin/python:/usr/bin/python:' tuxmathscrabble.py \
+ || die "sed tuxmathscrabble.py failed"
}
src_install() {