summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-04-30 20:35:56 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-04-30 20:35:56 +0000
commit40bf6511675b372c968f3bd20ed0a708f32bc461 (patch)
tree3cde84f6ee540306d840bae6696fdd345822d7a0 /games-kids
parentVersion bump for koffice-2. (diff)
downloadgentoo-2-40bf6511675b372c968f3bd20ed0a708f32bc461.tar.gz
gentoo-2-40bf6511675b372c968f3bd20ed0a708f32bc461.tar.bz2
gentoo-2-40bf6511675b372c968f3bd20ed0a708f32bc461.zip
EAPI=2; tidy
(Portage version: 2.1.6.11/cvs/Linux i686)
Diffstat (limited to 'games-kids')
-rw-r--r--games-kids/tuxmath/ChangeLog8
-rw-r--r--games-kids/tuxmath/tuxmath-20010907.ebuild18
2 files changed, 14 insertions, 12 deletions
diff --git a/games-kids/tuxmath/ChangeLog b/games-kids/tuxmath/ChangeLog
index 74fd708713e1..e3bffdf8236e 100644
--- a/games-kids/tuxmath/ChangeLog
+++ b/games-kids/tuxmath/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-kids/tuxmath
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmath/ChangeLog,v 1.9 2007/04/09 21:28:09 welp Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmath/ChangeLog,v 1.10 2009/04/30 20:35:56 mr_bones_ Exp $
+
+ 30 Apr 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ tuxmath-20010907.ebuild:
+ EAPI=2; tidy
09 Apr 2007; Peter Weller <welp@gentoo.org> tuxmath-20010907.ebuild:
Keyworded ~x86-fbsd wrt bug 173388
diff --git a/games-kids/tuxmath/tuxmath-20010907.ebuild b/games-kids/tuxmath/tuxmath-20010907.ebuild
index b2e916f49e99..9bbdcbe53aa4 100644
--- a/games-kids/tuxmath/tuxmath-20010907.ebuild
+++ b/games-kids/tuxmath/tuxmath-20010907.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmath/tuxmath-20010907.ebuild,v 1.10 2007/04/09 21:28:09 welp Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmath/tuxmath-20010907.ebuild,v 1.11 2009/04/30 20:35:56 mr_bones_ Exp $
-inherit eutils toolchain-funcs games
+EAPI=2
+inherit eutils games
MY_P="${PN}-2001.09.07-0102"
DESCRIPTION="Educational arcade game where you have to solve math problems"
@@ -15,19 +16,16 @@ KEYWORDS="amd64 ppc x86 ~x86-fbsd"
IUSE=""
DEPEND="media-libs/libsdl
- media-libs/sdl-image
- media-libs/sdl-mixer"
+ media-libs/sdl-image[jpeg,png]
+ media-libs/sdl-mixer[mikmod]"
S=${WORKDIR}/${PN}
-src_unpack() {
- unpack ${A}
- cd "${S}"
- rm -rf $(find -name CVS -o -name .xvpics -type d)
+src_prepare() {
+ find . -name CVS -o -name .xvpics -type d -exec rm -rf '{}' +
rm -f docs/COPYING.txt
sed -i \
-e '/strip/d' \
- -e "1i CC=$(tc-getCC)" \
-e "s/-O2/${CFLAGS}/" \
-e "s:\$(DATA_PREFIX):${GAMES_DATADIR}/${PN}:" \
Makefile \