summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2003-11-04 20:38:02 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2003-11-04 20:38:02 +0000
commitef2219b645367cb31e1c043f5a7bbcc0597095a3 (patch)
tree70929ae64c751b4db671548a7aeb5c789932b93a /games-action
parentadding metadata (diff)
downloadgentoo-2-ef2219b645367cb31e1c043f5a7bbcc0597095a3.tar.gz
gentoo-2-ef2219b645367cb31e1c043f5a7bbcc0597095a3.tar.bz2
gentoo-2-ef2219b645367cb31e1c043f5a7bbcc0597095a3.zip
install global score file in ${GAMES_STATEDIR}; more error checking/messages
Diffstat (limited to 'games-action')
-rw-r--r--games-action/moon-buggy/ChangeLog6
-rw-r--r--games-action/moon-buggy/Manifest8
-rw-r--r--games-action/moon-buggy/moon-buggy-0.5.53.ebuild18
3 files changed, 20 insertions, 12 deletions
diff --git a/games-action/moon-buggy/ChangeLog b/games-action/moon-buggy/ChangeLog
index 52789dec4806..6025b01078b7 100644
--- a/games-action/moon-buggy/ChangeLog
+++ b/games-action/moon-buggy/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-action/moon-buggy
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/moon-buggy/ChangeLog,v 1.3 2003/10/26 22:26:21 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/moon-buggy/ChangeLog,v 1.4 2003/11/04 20:38:00 mr_bones_ Exp $
+
+ 04 Nov 2003; Michael Sterrett <mr_bones_@gentoo.org>
+ moon-buggy-0.5.53.ebuild:
+ install global score file in ${GAMES_STATEDIR}; more error checking/messages
26 Oct 2003; David Holm <dholm@gentoo.org> moon-buggy-0.5.53.ebuild:
Added to ~ppc.
diff --git a/games-action/moon-buggy/Manifest b/games-action/moon-buggy/Manifest
index 977e1c2e0d00..31ee6a3b598d 100644
--- a/games-action/moon-buggy/Manifest
+++ b/games-action/moon-buggy/Manifest
@@ -1,6 +1,6 @@
-MD5 bcb960217804d3a80c33e5a726acf8c0 moon-buggy-0.5.53.ebuild 897
-MD5 7bf891f615687ff5570ffc8c1c9adc42 files/digest-moon-buggy-0.5.1 68
-MD5 dded8579a8efa755dbce484a8d43e490 files/digest-moon-buggy-0.5.53 69
+MD5 ae9e65b317230ff6f2dc09c4eccb35d4 ChangeLog 925
MD5 db5941cec05ac65e19f7e91dd7479a54 moon-buggy-0.5.1.ebuild 891
-MD5 79108d33f2e2e852bcac9790083dce3b ChangeLog 758
+MD5 7ef995637be53117b88eb3a1257f227c moon-buggy-0.5.53.ebuild 1183
MD5 b244cf1c41a78cacb62296d573935c07 metadata.xml 245
+MD5 7bf891f615687ff5570ffc8c1c9adc42 files/digest-moon-buggy-0.5.1 68
+MD5 dded8579a8efa755dbce484a8d43e490 files/digest-moon-buggy-0.5.53 69
diff --git a/games-action/moon-buggy/moon-buggy-0.5.53.ebuild b/games-action/moon-buggy/moon-buggy-0.5.53.ebuild
index a7ac07acf6b2..68516f2a6f76 100644
--- a/games-action/moon-buggy/moon-buggy-0.5.53.ebuild
+++ b/games-action/moon-buggy/moon-buggy-0.5.53.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/moon-buggy/moon-buggy-0.5.53.ebuild,v 1.2 2003/10/26 22:26:21 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/moon-buggy/moon-buggy-0.5.53.ebuild,v 1.3 2003/11/04 20:38:00 mr_bones_ Exp $
inherit games
@@ -12,23 +12,27 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
-DEPEND=">=sys-libs/ncurses-5*
+RDEPEND=">=sys-libs/ncurses-5"
+DEPEND="${RDEPEND}
>=sys-apps/sed-4"
src_unpack() {
unpack ${A}
cd ${S}
sed -i \
- -e 's:$(DESTDIR)$(bindir)/moon-buggy -c:#$(DESTDIR)$(bindir)/moon-buggy -c:' \
- Makefile.in || die "sed Makefile.in failed"
+ -e '/$(DESTDIR)$(bindir)\/moon-buggy -c/d' Makefile.in || \
+ die "sed Makefile.in failed"
}
src_compile() {
- egamesconf || die
- emake || die
+ egamesconf sharedstatedir="${GAMES_STATEDIR}" || die
+ emake || die "emake failed"
}
src_install() {
- einstall bindir=${D}/${GAMES_BINDIR} || die
+ egamesinstall sharedstatedir="${D}${GAMES_STATEDIR}" || die
+ dodoc ANNOUNCE AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
+ touch ${D}${GAMES_STATEDIR}/${PN}/mbscore || die "touch failed"
+ fperms 664 ${GAMES_STATEDIR}/${PN}/mbscore || die "fperms failed"
prepgamesdirs
}