summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-03-24 07:09:33 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-03-24 07:09:33 +0000
commitdcabb41ac0db17cb7c13946505f688bf93f45ba1 (patch)
tree4d820645ef1745c3f632d6923774f218138a741b /games-arcade
parentVersion bump because of bug #38477 (Manifest recommit) (diff)
downloadgentoo-2-dcabb41ac0db17cb7c13946505f688bf93f45ba1.tar.gz
gentoo-2-dcabb41ac0db17cb7c13946505f688bf93f45ba1.tar.bz2
gentoo-2-dcabb41ac0db17cb7c13946505f688bf93f45ba1.zip
don't rdepend on sed; tidy
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/methane/ChangeLog7
-rw-r--r--games-arcade/methane/methane-1.4.6.ebuild23
2 files changed, 17 insertions, 13 deletions
diff --git a/games-arcade/methane/ChangeLog b/games-arcade/methane/ChangeLog
index 7079e00a6e85..3b47054dcc5c 100644
--- a/games-arcade/methane/ChangeLog
+++ b/games-arcade/methane/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-arcade/methane
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/methane/ChangeLog,v 1.1 2004/01/18 04:57:09 vapier Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/methane/ChangeLog,v 1.2 2004/03/24 07:09:33 mr_bones_ Exp $
+
+ 23 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> methane-1.4.6.ebuild:
+ don't rdepend on sed; tidy
*methane-1.4.6 (17 Jan 2004)
diff --git a/games-arcade/methane/methane-1.4.6.ebuild b/games-arcade/methane/methane-1.4.6.ebuild
index cb0f2baf27dc..9c14f5d63e91 100644
--- a/games-arcade/methane/methane-1.4.6.ebuild
+++ b/games-arcade/methane/methane-1.4.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/methane/methane-1.4.6.ebuild,v 1.2 2004/02/20 06:20:00 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/methane/methane-1.4.6.ebuild,v 1.3 2004/03/24 07:09:33 mr_bones_ Exp $
inherit games
@@ -13,8 +13,9 @@ SLOT="0"
KEYWORDS="x86"
IUSE="mikmod"
-DEPEND="=dev-games/clanlib-0.6.5*
- mikmod? ( media-libs/libmikmod )
+RDEPEND="=dev-games/clanlib-0.6.5*
+ mikmod? ( media-libs/libmikmod )"
+DEPEND="${RDEPEND}
>=sys-apps/sed-4"
pkg_setup() {
@@ -24,25 +25,25 @@ pkg_setup() {
src_unpack() {
unpack ${A}
cd ${S}/source/linux
- if [ ! `use mikmod` ] ; then
+ if ! use mikmod ; then
sed -i \
-e 's/^\(MIKMOD_LIBS\)/#\1/g' \
- -e 's/^\(METHANE_FLAGS\)/#\1/g' \
- makefile || die "mikmod sed failed"
+ -e 's/^\(METHANE_FLAGS\)/#\1/g' makefile \
+ || die "mikmod sed failed"
fi
}
src_compile() {
cd source/linux
- emake -j1 || die
+ emake -j1 || die "emake failed"
}
src_install() {
- dogamesbin source/linux/methane || die "couldnt install methane"
- dodir ${GAMES_STATEDIR}
- touch ${D}/${GAMES_STATEDIR}/methanescores
+ dogamesbin source/linux/methane || die "dogamesbin failed"
+ dodir "${GAMES_STATEDIR}"
+ touch "${D}/${GAMES_STATEDIR}/methanescores"
dodoc authors copying history install todo
dohtml ${S}/docs/*
prepgamesdirs
- fperms g+w ${GAMES_STATEDIR}/methanescores
+ fperms g+w "${GAMES_STATEDIR}/methanescores"
}