summaryrefslogtreecommitdiff
path: root/games/44bsd-hunt
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-03-25 06:37:20 +0000
committerWill Andrews <will@FreeBSD.org>2001-03-25 06:37:20 +0000
commit0d96c0775c3304f2e876b396c70759740d8389cf (patch)
treee48f730c2b9d901247db6ab02fe7553d5afa6db9 /games/44bsd-hunt
parentAdd kappdock 0.43, a dock-like applet for KDE2. (diff)
Add 44bsd-hunt 1.0, a rogue-like multiplayer game.
PR: 25221 Submitted by: bdluevel@heitec.net
Notes
Notes: svn path=/head/; revision=40338
Diffstat (limited to 'games/44bsd-hunt')
-rw-r--r--games/44bsd-hunt/Makefile29
-rw-r--r--games/44bsd-hunt/distinfo25
-rw-r--r--games/44bsd-hunt/files/patch-Makefile69
-rw-r--r--games/44bsd-hunt/files/patch-faketalk.c11
-rw-r--r--games/44bsd-hunt/pkg-comment1
-rw-r--r--games/44bsd-hunt/pkg-descr6
-rw-r--r--games/44bsd-hunt/pkg-plist2
7 files changed, 143 insertions, 0 deletions
diff --git a/games/44bsd-hunt/Makefile b/games/44bsd-hunt/Makefile
new file mode 100644
index 000000000000..2c713264f59a
--- /dev/null
+++ b/games/44bsd-hunt/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: hunt
+# Date created: 2001-02-20
+# Whom: bdluevel@heitec.net
+#
+# $FreeBSD$
+#
+# the files are not packed at the master site,
+# so they must be retrieved one by one
+
+PORTNAME= hunt
+PORTVERSION= 1.0
+CATEGORIES= games
+MASTER_SITES= ftp://ftp.pvv.ntnu.no/.disk4a/4.4BSD-Lite2/untarred/usr/src/contrib/hunt/
+DISTFILES= Makefile README answer.c bsd.h connect.c ctl.c ctl_transact.c \
+ draw.c driver.c execute.c expl.c extern.c faketalk.c get_names.c \
+ hunt.6 hunt.c hunt.h huntd.6 makemaze.c otto.c pathname.c playit.c \
+ shots.c talk_ctl.h terminal.c
+
+MAINTAINER= bdluevel@heitec.net
+
+DIST_SUBDIR= ${PORTNAME}
+
+MAN6= hunt.6 huntd.6
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+ ${CP} -p ${DISTDIR}/${DIST_SUBDIR}/* ${WRKSRC}
+
+.include <bsd.port.mk>
diff --git a/games/44bsd-hunt/distinfo b/games/44bsd-hunt/distinfo
new file mode 100644
index 000000000000..ba66f7823ecb
--- /dev/null
+++ b/games/44bsd-hunt/distinfo
@@ -0,0 +1,25 @@
+MD5 (hunt/Makefile) = 0482c865b5c03f040eab976ee76a5fe9
+MD5 (hunt/README) = 9b9bd4f2a083e22051c92cab35dbc18c
+MD5 (hunt/answer.c) = bfaa2e334dfa83befdee0910da1623ec
+MD5 (hunt/bsd.h) = a816518eb64898248b88a2ecefe53890
+MD5 (hunt/connect.c) = 67605908d437a80a5f38ad1d9db4de4b
+MD5 (hunt/ctl.c) = 94f7f4c811cec70ddd73a1437b04484a
+MD5 (hunt/ctl_transact.c) = ac0408a9686bd0113ce30372ffbf3f42
+MD5 (hunt/draw.c) = 88eaf4fec9cb6751eda30ae8c629791c
+MD5 (hunt/driver.c) = 6a012eeaa992cff46e5d270b12fc24ee
+MD5 (hunt/execute.c) = 878c42a3347a4ef80a717cd3dd30f25f
+MD5 (hunt/expl.c) = a29667ad3d7548e4f0f2c74f43442809
+MD5 (hunt/extern.c) = 9fba77476ad3f809dc7dbb9b2b7e94dc
+MD5 (hunt/faketalk.c) = 71875aeecff85c7d8dfdc88855ce3228
+MD5 (hunt/get_names.c) = 18ad83182842b65896bc1b61d9846065
+MD5 (hunt/hunt.6) = a9582ec0fa023ab70dc8f9d9bcd5b2bd
+MD5 (hunt/hunt.c) = aed7a91ce956bcfdb5703a81ffed8813
+MD5 (hunt/hunt.h) = 9f0a9ea6cbad1ae42fb32c52be1160c1
+MD5 (hunt/huntd.6) = 0553c85d2b574c4707cd5eb5cd49b8d4
+MD5 (hunt/makemaze.c) = 1874278fb87c554b8f12690622ccce40
+MD5 (hunt/otto.c) = 459529b0a5429fc9957e91de7a6b737f
+MD5 (hunt/pathname.c) = 32f0e3ba9cb5da5d06eba30d5112133c
+MD5 (hunt/playit.c) = 64c846b00fd5f527402303c813c38dfb
+MD5 (hunt/shots.c) = 48657a7034f507a28fd0698cce798701
+MD5 (hunt/talk_ctl.h) = 75e4ca499ff0af049e6f9064cde83c8e
+MD5 (hunt/terminal.c) = 491d5fbdcb8558c2c3ba731f4f451fa5
diff --git a/games/44bsd-hunt/files/patch-Makefile b/games/44bsd-hunt/files/patch-Makefile
new file mode 100644
index 000000000000..e201c7ac5799
--- /dev/null
+++ b/games/44bsd-hunt/files/patch-Makefile
@@ -0,0 +1,69 @@
+--- Makefile.orig Fri Jun 18 03:26:23 1993
++++ Makefile Mon Jun 26 03:21:22 2000
+@@ -17,8 +17,9 @@
+
+ #
+ # Installation destinations
++# (with FreeBSD patches, unused except LIBDIR for pathname.o)
+ BINDIR= /usr/games
+-LIBDIR= /usr/libexec
++LIBDIR= $(PREFIX)/bin
+ MANDIR= /usr/contrib/man/cat6
+
+ #
+@@ -33,8 +34,8 @@
+ # BOOTS Include boots (which makes you immune to slime)
+ # OTTO Reserved for CGL automatic player
+ #
+-GAME_PARAM= -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS \
+- -DOTTO
++# (FreeBSD patches deleted -DOTTO because otto.c doesn't compile)
++GAME_PARAM= -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS
+
+ #
+ # System parameter flags are:
+@@ -66,6 +67,11 @@
+ DEFS_SGI= -DINTERNET -DLOG -DBSD_RELEASE=43 -DTERMINFO -DSIGNAL_TYPE=void
+ DEFS_NEXT= $(DEFS_43) -bsd -traditional -Dconst= -DSIGNAL_TYPE=int
+ DEFS_OSF1= -DINTERNET -DLOG -DBSD_RELEASE=43 -DSIGNAL_TYPE=void -D_BSD
++#
++# FreeBSD patches add this target and use it for DEFS
++# /etc/terminfo is there, and the faketalk feature is switched
++# off (deprecated)
++DEFS_FREEBSD= $(DEFS_BSD44) -DTERMINFO -DTALK_DISABLE
+
+ #
+ # The following flags are used for system specific compilation arguments.
+@@ -80,8 +86,10 @@
+ #
+ # Generic definitions
+ #
+-DEFS= $(GAME_PARAM) $(DEFS_BSD44)
+-CFLAGS= -O2 $(SYSCFLAGS) $(DEFS)
++DEFS= $(GAME_PARAM) $(DEFS_FREEBSD)
++# FreeBSD patches change the CFLAGS definition to include the
++# user's definition, instead of overwriting it
++CFLAGS+= $(SYSCFLAGS) $(DEFS)
+
+ #
+ # Normal targets
+@@ -129,14 +137,13 @@
+
+ #
+ # System installation
++# (modified by FreeBSD patches)
+ #
+ install:
+- install -s -o bin -g bin -m 555 huntd ${LIBDIR}/huntd
+- install -s -o bin -g bin -m 555 hunt ${BINDIR}/hunt
+- nroff -man hunt.6 > ${MANDIR}/hunt.0
+- nroff -man huntd.6 > ${MANDIR}/huntd.0
+- chown bin.bin ${MANDIR}/hunt.0 ${MANDIR}/huntd.0
+- chmod 444 ${MANDIR}/hunt.0 ${MANDIR}/huntd.0
++ $(BSD_INSTALL_PROGRAM) hunt $(PREFIX)/bin/hunt
++ $(BSD_INSTALL_MAN) hunt.6 $(PREFIX)/man/man6/hunt.6
++ $(BSD_INSTALL_PROGRAM) huntd $(PREFIX)/bin/huntd
++ $(BSD_INSTALL_MAN) huntd.6 $(PREFIX)/man/man6/huntd.6
+
+ #
+ # Object file dependencies
diff --git a/games/44bsd-hunt/files/patch-faketalk.c b/games/44bsd-hunt/files/patch-faketalk.c
new file mode 100644
index 000000000000..b0db3d06e9fa
--- /dev/null
+++ b/games/44bsd-hunt/files/patch-faketalk.c
@@ -0,0 +1,11 @@
+--- faketalk.c.orig Sat May 22 09:32:43 1993
++++ faketalk.c Mon Jun 26 03:16:18 2000
+@@ -10,7 +10,7 @@
+
+ #include "bsd.h"
+
+-#if defined(TALK_43) || defined(TALK_42)
++#if !defined(TALK_DISABLE) && (defined(TALK_43) || defined(TALK_42))
+
+ # include <stdio.h>
+ # include <string.h>
diff --git a/games/44bsd-hunt/pkg-comment b/games/44bsd-hunt/pkg-comment
new file mode 100644
index 000000000000..0579421224e7
--- /dev/null
+++ b/games/44bsd-hunt/pkg-comment
@@ -0,0 +1 @@
+Rogue-like multiplayer game
diff --git a/games/44bsd-hunt/pkg-descr b/games/44bsd-hunt/pkg-descr
new file mode 100644
index 000000000000..a6aa520383d3
--- /dev/null
+++ b/games/44bsd-hunt/pkg-descr
@@ -0,0 +1,6 @@
+Hunt is a mixture of 'rogue' and 'Doom': It is a multiplayer
+shoot-and-run game, but in a textbased console.
+Found at:
+ftp://ftp.pvv.ntnu.no/.disk4a/4.4BSD-Lite2/untarred/usr/src/contrib/hunt
+
+FreeBSD port made by bdluevel@heitec.net
diff --git a/games/44bsd-hunt/pkg-plist b/games/44bsd-hunt/pkg-plist
new file mode 100644
index 000000000000..0983d1e0810a
--- /dev/null
+++ b/games/44bsd-hunt/pkg-plist
@@ -0,0 +1,2 @@
+bin/hunt
+bin/huntd