summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-03-17 02:59:56 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-03-17 02:59:56 +0000
commit5850b2ab76e0a5c3555a0ff98cc6e3adfedf9a24 (patch)
tree514cb2899ea9e6e8f1bf0b2c5e64ab0dbc4f3672 /games-kids/tuxtype
parentStable for HPPA (bug #213594). (diff)
downloadgentoo-2-5850b2ab76e0a5c3555a0ff98cc6e3adfedf9a24.tar.gz
gentoo-2-5850b2ab76e0a5c3555a0ff98cc6e3adfedf9a24.tar.bz2
gentoo-2-5850b2ab76e0a5c3555a0ff98cc6e3adfedf9a24.zip
move tuxtype2 version to tuxtype so tuxtype2 can be removed
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-kids/tuxtype')
-rw-r--r--games-kids/tuxtype/ChangeLog8
-rw-r--r--games-kids/tuxtype/tuxtype-1.5.16.ebuild43
2 files changed, 50 insertions, 1 deletions
diff --git a/games-kids/tuxtype/ChangeLog b/games-kids/tuxtype/ChangeLog
index ff29380fb9c0..36f099ae4c42 100644
--- a/games-kids/tuxtype/ChangeLog
+++ b/games-kids/tuxtype/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-kids/tuxtype
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxtype/ChangeLog,v 1.10 2008/03/13 19:52:25 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxtype/ChangeLog,v 1.11 2008/03/17 02:59:56 mr_bones_ Exp $
+
+*tuxtype-1.5.16 (17 Mar 2008)
+
+ 17 Mar 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +tuxtype-1.5.16.ebuild:
+ move tuxtype2 version to tuxtype so tuxtype2 can be removed
13 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org>
tuxtype-1.0.3-r1.ebuild:
diff --git a/games-kids/tuxtype/tuxtype-1.5.16.ebuild b/games-kids/tuxtype/tuxtype-1.5.16.ebuild
new file mode 100644
index 000000000000..3467d32d46c0
--- /dev/null
+++ b/games-kids/tuxtype/tuxtype-1.5.16.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxtype/tuxtype-1.5.16.ebuild,v 1.1 2008/03/17 02:59:56 mr_bones_ Exp $
+
+inherit eutils games
+
+DESCRIPTION="Typing tutorial with lots of eye-candy"
+HOMEPAGE="http://alioth.debian.org/projects/tux4kids/"
+SRC_URI="http://alioth.debian.org/frs/download.php/2209/tuxtype_w_fonts-${PV}.tar.gz"
+
+LICENSE="GPL-2 OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl
+ media-libs/sdl-pango
+ media-libs/sdl-mixer
+ media-libs/sdl-image
+ media-libs/sdl-ttf"
+
+S=${WORKDIR}/tuxtype_w_fonts-${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e 's:$(prefix)/share:'${GAMES_DATADIR}':g' \
+ -e 's:$(prefix)/doc/$(PACKAGE):/usr/share/doc/'${PF}':g' \
+ $(find -name Makefile.in) || die "fixing Makefile paths"
+ sed -i \
+ -e 's:/usr/share:'${GAMES_DATADIR}':' \
+ tuxtype/setup.c || die "fixing src paths"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ prepalldocs
+ rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL}*
+ doicon ${PN}.ico
+ make_desktop_entry ${PN} TuxTyping /usr/share/pixmaps/${PN}.ico
+ prepgamesdirs
+}