summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2007-06-01 22:15:07 +0000
committerAlfredo Tupone <tupone@gentoo.org>2007-06-01 22:15:07 +0000
commitf59f66887bdfa75572dd7752e007903529180b92 (patch)
tree110bedbfbb6c855f0e78f5b12c19311b4de868f5 /games-kids
parentInstall file lilypond-words.el too. (diff)
downloadgentoo-2-f59f66887bdfa75572dd7752e007903529180b92.tar.gz
gentoo-2-f59f66887bdfa75572dd7752e007903529180b92.tar.bz2
gentoo-2-f59f66887bdfa75572dd7752e007903529180b92.zip
Added menu entry. Bug #160258
(Portage version: 2.1.2.7)
Diffstat (limited to 'games-kids')
-rw-r--r--games-kids/tuxtype2/ChangeLog9
-rw-r--r--games-kids/tuxtype2/files/digest-tuxtype2-1.5.3-r13
-rw-r--r--games-kids/tuxtype2/tuxtype2-1.5.3-r1.ebuild40
3 files changed, 50 insertions, 2 deletions
diff --git a/games-kids/tuxtype2/ChangeLog b/games-kids/tuxtype2/ChangeLog
index d93148680cd3..cda6a9a88c1c 100644
--- a/games-kids/tuxtype2/ChangeLog
+++ b/games-kids/tuxtype2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-kids/tuxtype2
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxtype2/ChangeLog,v 1.5 2006/09/27 14:04:57 nyhm Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxtype2/ChangeLog,v 1.6 2007/06/01 22:15:07 tupone Exp $
+
+*tuxtype2-1.5.3-r1 (01 Jun 2007)
+
+ 01 Jun 2007; Tupone Alfredo <tupone@gentoo.org> +tuxtype2-1.5.3-r1.ebuild:
+ Added menu entry. Bug #160258 by Pacho Ramos
27 Sep 2006; Tristan Heaven <nyhm@gentoo.org> tuxtype2-1.5.3.ebuild:
Add inherit eutils
diff --git a/games-kids/tuxtype2/files/digest-tuxtype2-1.5.3-r1 b/games-kids/tuxtype2/files/digest-tuxtype2-1.5.3-r1
new file mode 100644
index 000000000000..e78c716ebd08
--- /dev/null
+++ b/games-kids/tuxtype2/files/digest-tuxtype2-1.5.3-r1
@@ -0,0 +1,3 @@
+MD5 ca04e65d3b19ddeeedb8a49147ed642b tuxtype2-1.5.3.tar.bz2 7741487
+RMD160 8771796272f23b0d70b909b8953bed26da162571 tuxtype2-1.5.3.tar.bz2 7741487
+SHA256 f2a0cf5078690b0c309c4c7b65685cca2a68e28ddfbbdf7d1d50a5e80daef767 tuxtype2-1.5.3.tar.bz2 7741487
diff --git a/games-kids/tuxtype2/tuxtype2-1.5.3-r1.ebuild b/games-kids/tuxtype2/tuxtype2-1.5.3-r1.ebuild
new file mode 100644
index 000000000000..ef2ee830023a
--- /dev/null
+++ b/games-kids/tuxtype2/tuxtype2-1.5.3-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxtype2/tuxtype2-1.5.3-r1.ebuild,v 1.1 2007/06/01 22:15:07 tupone Exp $
+
+inherit eutils games
+
+DESCRIPTION="Typing tutorial with lots of eye-candy"
+HOMEPAGE="http://www.geekcomix.com/dm/tuxtype/"
+SRC_URI="mirror://sourceforge/tuxtype/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=media-libs/libsdl-1.2
+ >=media-libs/sdl-mixer-1.2
+ >=media-libs/sdl-image-1.2
+ >=media-libs/sdl-ttf-2.0.6"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/tuxtype2-1.5.3-checks.patch
+ 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/theme.c || die "fixing src paths"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ prepalldocs
+ doicon ${PN}.ico
+ make_desktop_entry ${PN} TuxType2 /usr/share/pixmaps/${PN}.ico
+ prepgamesdirs
+}