summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/nibbles/nibbles-0.0.4.ebuild')
-rw-r--r--games-arcade/nibbles/nibbles-0.0.4.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/games-arcade/nibbles/nibbles-0.0.4.ebuild b/games-arcade/nibbles/nibbles-0.0.4.ebuild
index 877f447f8368..4c19024db9a7 100644
--- a/games-arcade/nibbles/nibbles-0.0.4.ebuild
+++ b/games-arcade/nibbles/nibbles-0.0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/nibbles/nibbles-0.0.4.ebuild,v 1.15 2015/01/05 15:34:24 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/nibbles/nibbles-0.0.4.ebuild,v 1.16 2015/02/05 22:41:02 mr_bones_ Exp $
EAPI=5
inherit eutils games
@@ -16,19 +16,19 @@ KEYWORDS="~amd64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~x86-linux ~ppc-maco
IUSE=""
DEPEND="sys-libs/ncurses"
-RDEPEND="${DEPEND}"
+RDEPEND=${DEPEND}
+
S=${WORKDIR}/${MY_P}
src_prepare() {
sed -i \
-e "s#/usr/local/games/nibbles.levels#${GAMES_DATADIR}/${PN}#" \
- nibbles.h \
- || die "sed failed"
+ nibbles.h || die
sed -i \
-e "s#/var/lib/games/nibbles.score#${GAMES_STATEDIR}/nibbles.scores#" \
- scoring.h \
- || die "sed failed"
+ scoring.h || die
+
epatch "${FILESDIR}"/${P}-as-needed.patch
}