summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/moon-buggy/moon-buggy-1.0.51.ebuild')
-rw-r--r--games-action/moon-buggy/moon-buggy-1.0.51.ebuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/games-action/moon-buggy/moon-buggy-1.0.51.ebuild b/games-action/moon-buggy/moon-buggy-1.0.51.ebuild
index 3537de250dd1..3ed08e874a78 100644
--- a/games-action/moon-buggy/moon-buggy-1.0.51.ebuild
+++ b/games-action/moon-buggy/moon-buggy-1.0.51.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/moon-buggy/moon-buggy-1.0.51.ebuild,v 1.7 2012/10/21 08:52:04 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/moon-buggy/moon-buggy-1.0.51.ebuild,v 1.8 2014/11/19 06:50:10 mr_bones_ Exp $
-EAPI=2
+EAPI=5
inherit autotools eutils games
DESCRIPTION="A simple console game, where you drive a car across the moon's surface"
@@ -21,19 +21,19 @@ DEPEND="${RDEPEND}
src_prepare() {
sed -i \
-e '/$(DESTDIR)$(bindir)\/moon-buggy -c/d' \
- Makefile.am \
- || die "sed Makefile.am failed"
+ Makefile.am || die
rm -f missing
eautoreconf
}
src_configure() {
- egamesconf --sharedstatedir="${GAMES_STATEDIR}"
+ egamesconf \
+ --sharedstatedir="${GAMES_STATEDIR}" \
+ --with-curses-libs="$(pkg-config ncurses --libs)"
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc ANNOUNCE AUTHORS ChangeLog NEWS README* TODO
+ default
touch "${D}${GAMES_STATEDIR}"/${PN}/mbscore
fperms 664 "${GAMES_STATEDIR}"/${PN}/mbscore
prepgamesdirs