summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-10 18:14:28 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-10 18:14:28 +0000
commit5185da51cd857a2dfde2d4b4705136834d5354e4 (patch)
tree751722dcc6f2f65f7839b89babf369c6a7de9fb3 /games-misc/wumpus
parentstable on x86/alpha (diff)
downloadgentoo-2-5185da51cd857a2dfde2d4b4705136834d5354e4.tar.gz
gentoo-2-5185da51cd857a2dfde2d4b4705136834d5354e4.tar.bz2
gentoo-2-5185da51cd857a2dfde2d4b4705136834d5354e4.zip
games-misc
Diffstat (limited to 'games-misc/wumpus')
-rw-r--r--games-misc/wumpus/ChangeLog8
-rw-r--r--games-misc/wumpus/Manifest3
-rw-r--r--games-misc/wumpus/files/digest-wumpus-1.43
-rw-r--r--games-misc/wumpus/wumpus-1.4.ebuild43
4 files changed, 57 insertions, 0 deletions
diff --git a/games-misc/wumpus/ChangeLog b/games-misc/wumpus/ChangeLog
new file mode 100644
index 000000000000..5d48870fa3a7
--- /dev/null
+++ b/games-misc/wumpus/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-games/wumpus
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-misc/wumpus/ChangeLog,v 1.1 2003/09/10 18:14:05 vapier Exp $
+
+*wumpus-1.4 (04 Mar 2003)
+
+ 04 Mar 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Tavis Ormandy <taviso@sdf.lonestar.org> #16418.
diff --git a/games-misc/wumpus/Manifest b/games-misc/wumpus/Manifest
new file mode 100644
index 000000000000..379baea013d8
--- /dev/null
+++ b/games-misc/wumpus/Manifest
@@ -0,0 +1,3 @@
+MD5 503ee5fb7b203fe09a82cc5f7ea302b9 ChangeLog 380
+MD5 2fd900e411197ff9704fade402ddce62 wumpus-1.4.ebuild 1115
+MD5 65e2103344545ff9cc1e34473acb0d41 files/digest-wumpus-1.4 151
diff --git a/games-misc/wumpus/files/digest-wumpus-1.4 b/games-misc/wumpus/files/digest-wumpus-1.4
new file mode 100644
index 000000000000..0d650ed3414f
--- /dev/null
+++ b/games-misc/wumpus/files/digest-wumpus-1.4
@@ -0,0 +1,3 @@
+MD5 205991a97aba339006d70066b0c1e955 wump.c 22691
+MD5 9f4048fd2365dd810f005abc0aafdc07 wump.6 4821
+MD5 e9de041a5a8515a29d0517d6f9512dd6 wump.info 1883
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
+}