diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 18:14:05 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 18:14:05 +0000 |
commit | 5ce29dab6b88b9202c19ea19f36ea07ca2f4a16f (patch) | |
tree | f83f1d87bba32c391118e84f21fa0335fd7f26a5 /games-misc/wumpus/wumpus-1.4.ebuild | |
parent | stable on x86/alpha (diff) | |
download | historical-5ce29dab6b88b9202c19ea19f36ea07ca2f4a16f.tar.gz historical-5ce29dab6b88b9202c19ea19f36ea07ca2f4a16f.tar.bz2 historical-5ce29dab6b88b9202c19ea19f36ea07ca2f4a16f.zip |
games-misc
Diffstat (limited to 'games-misc/wumpus/wumpus-1.4.ebuild')
-rw-r--r-- | games-misc/wumpus/wumpus-1.4.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/games-misc/wumpus/wumpus-1.4.ebuild b/games-misc/wumpus/wumpus-1.4.ebuild new file mode 100644 index 000000000000..16665dd55351 --- /dev/null +++ b/games-misc/wumpus/wumpus-1.4.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# 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.1 2003/09/10 18:14:05 vapier Exp $ + +inherit games + +DESCRIPTION="Classic Hunt the Wumpus Adventure Game" +HOMEPAGE="http://cvsweb.netbsd.org/bsdweb.cgi/src/games/wump/" +SRC_URI="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-1-6/src/games/wump/wump.c + ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-1-6/src/games/wump/wump.6 + ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-1-6/src/games/wump/wump.info" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="x86" + +DEPEND="virtual/glibc + sys-apps/less" + +S=${WORKDIR} + +src_unpack() { + for i in wump.{info,c,6} ; do + cp ${DISTDIR}/${i} ${S}/ + done +} + +src_compile() { + touch pathnames.h + [ -z "${PAGER}" ] && PAGER=/usr/bin/less + [ -z "${CC}" ] && CC=gcc + ${CC} -Dlint -D_PATH_PAGER=\"${PAGER}\" \ + -D_PATH_WUMPINFO=\"${GAMES_DATADIR}/${PN}/wump.info\" ${CFLAGS} \ + -o wump wump.c +} + +src_install() { + dogamesbin wump + doman wump.6 + insinto ${GAMES_DATADIR}/${PN} + doins wump.info + prepgamesdirs +} |