summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-07-29 15:42:49 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-07-29 15:42:49 +0000
commit739e710ea9006f4cd63815158c571deae2ff95eb (patch)
tree42a061f373355fd069839271193501106d0f3f9a /games-misc/wumpus
parentppc stable, #99881 (diff)
downloadgentoo-2-739e710ea9006f4cd63815158c571deae2ff95eb.tar.gz
gentoo-2-739e710ea9006f4cd63815158c571deae2ff95eb.tar.bz2
gentoo-2-739e710ea9006f4cd63815158c571deae2ff95eb.zip
fixup toolchain-funcs call for bug #100713; tidy
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'games-misc/wumpus')
-rw-r--r--games-misc/wumpus/ChangeLog5
-rw-r--r--games-misc/wumpus/wumpus-1.4.ebuild25
2 files changed, 17 insertions, 13 deletions
diff --git a/games-misc/wumpus/ChangeLog b/games-misc/wumpus/ChangeLog
index a7e7a6e4eb8e..43c1f7e53c1a 100644
--- a/games-misc/wumpus/ChangeLog
+++ b/games-misc/wumpus/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-misc/wumpus
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/wumpus/ChangeLog,v 1.7 2005/05/17 18:30:42 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/wumpus/ChangeLog,v 1.8 2005/07/29 15:42:49 mr_bones_ Exp $
+
+ 29 Jul 2005; Michael Sterrett <mr_bones_@gentoo.org> wumpus-1.4.ebuild:
+ fixup toolchain-funcs call for bug #100713; tidy
17 May 2005; Chris Gianelloni <wolf31o2@gentoo.org> wumpus-1.4.ebuild:
Cleanup for bug #92745.
diff --git a/games-misc/wumpus/wumpus-1.4.ebuild b/games-misc/wumpus/wumpus-1.4.ebuild
index a5cd1767da63..beb143b55482 100644
--- a/games-misc/wumpus/wumpus-1.4.ebuild
+++ b/games-misc/wumpus/wumpus-1.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/wumpus/wumpus-1.4.ebuild,v 1.9 2005/05/17 18:30:42 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/wumpus/wumpus-1.4.ebuild,v 1.10 2005/07/29 15:42:49 mr_bones_ Exp $
inherit toolchain-funcs games
@@ -12,32 +12,33 @@ SRC_URI="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-1-6/src/games/wump/wump.
LICENSE="BSD"
SLOT="0"
-KEYWORDS="x86 ppc"
+KEYWORDS="ppc x86"
IUSE=""
-DEPEND="virtual/libc
- sys-apps/less"
+DEPEND="sys-apps/less"
-S=${WORKDIR}
+S="${WORKDIR}"
src_unpack() {
+ local i
+
for i in wump.{info,c,6} ; do
- cp ${DISTDIR}/${i} ${S}/
+ cp "${DISTDIR}"/${i} "${S}/"
done
}
src_compile() {
touch pathnames.h
[ -z "${PAGER}" ] && PAGER=/usr/bin/less
- $(gcc-getCC) -Dlint -D_PATH_PAGER=\"${PAGER}\" \
- -D_PATH_WUMPINFO=\"${GAMES_DATADIR}/${PN}/wump.info\" ${CFLAGS} \
- -o wump wump.c
+ $(tc-getCC) -Dlint -D_PATH_PAGER=\"${PAGER}\" \
+ -D_PATH_WUMPINFO=\""${GAMES_DATADIR}"/${PN}/wump.info\" ${CFLAGS} \
+ -o wump wump.c || die "compile failed"
}
src_install() {
- dogamesbin wump || die
+ dogamesbin wump || die "dogamesbin failed"
doman wump.6
- insinto ${GAMES_DATADIR}/${PN}
- doins wump.info
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins wump.info || die "doins failed"
prepgamesdirs
}