summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-03-27 07:27:01 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-03-27 07:27:01 +0000
commitfe81d354dab2baa4357ce4f065604204905e8acf (patch)
tree51c69bdc06d75b83a79d31167f20d8d46e751816 /games-puzzle
parentfix typo in DESCRIPTION (diff)
downloadgentoo-2-fe81d354dab2baa4357ce4f065604204905e8acf.tar.gz
gentoo-2-fe81d354dab2baa4357ce4f065604204905e8acf.tar.bz2
gentoo-2-fe81d354dab2baa4357ce4f065604204905e8acf.zip
EAPI=2
(Portage version: 2.1.9.42/cvs/Linux i686)
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/tod/tod-0.ebuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/games-puzzle/tod/tod-0.ebuild b/games-puzzle/tod/tod-0.ebuild
index 1c11b3138a86..828ecca3f1f2 100644
--- a/games-puzzle/tod/tod-0.ebuild
+++ b/games-puzzle/tod/tod-0.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tod/tod-0.ebuild,v 1.4 2011/03/26 17:27:31 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tod/tod-0.ebuild,v 1.5 2011/03/27 07:27:01 mr_bones_ Exp $
+EAPI=2
inherit eutils games
DESCRIPTION="Tetanus On Drugs simulates playing a Tetris clone under the influence of hallucinogenic drugs"
@@ -19,9 +20,7 @@ DEPEND="${RDEPEND}
S=${WORKDIR}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${P}-makefile.patch
sed -i \
-e "s:idltd\.dat:${GAMES_DATADIR}/${PN}/idltd.dat:" \
@@ -29,9 +28,9 @@ src_unpack() {
}
src_install() {
- newgamesbin tod-debug.exe tod || die "newgamesbin failed"
+ newgamesbin tod-debug.exe tod || die
insinto "${GAMES_DATADIR}"/${PN}
- doins idltd.dat || die "doins failed"
+ doins idltd.dat || die
dodoc readme.txt
prepgamesdirs
}