summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/frotz/Makefile20
-rw-r--r--games/frotz/files/md53
-rw-r--r--games/frotz/files/patch-sum3
-rw-r--r--games/frotz/patches/patch-aa47
-rw-r--r--games/frotz/pkg/COMMENT1
-rw-r--r--games/frotz/pkg/DESCR4
-rw-r--r--games/frotz/pkg/MESSAGE4
-rw-r--r--games/frotz/pkg/PLIST3
8 files changed, 85 insertions, 0 deletions
diff --git a/games/frotz/Makefile b/games/frotz/Makefile
new file mode 100644
index 00000000000..b47623a7c86
--- /dev/null
+++ b/games/frotz/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/08/14 06:59:41 fredb Exp $
+#
+
+DISTNAME= UnixFrotz232R2Std10
+PKGNAME= frotz-2.32
+CATEGORIES= games
+MASTER_SITES= ftp://ftp.gmd.de/if-archive/infocom/interpreters/frotz/
+
+MAINTAINER= seebs@plethora.net
+HOMEPAGE= ftp://ftp.gmd.de/if-archive/infocom/interpreters/frotz/
+
+DEPENDS+= ncurses-4.2:../../devel/ncurses
+
+WRKSRC= ${WRKDIR}/frotz-2.32
+
+post-install:
+ cd ${WRKSRC}; \
+ ${INSTALL_MAN} frotz.6 ${PREFIX}/man/man6/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/frotz/files/md5 b/games/frotz/files/md5
new file mode 100644
index 00000000000..fb66363ae04
--- /dev/null
+++ b/games/frotz/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/08/14 06:59:42 fredb Exp $
+
+MD5 (UnixFrotz232R2Std10.tar.gz) = 5c40f4a9da46a65cd0fd09821bf93538
diff --git a/games/frotz/files/patch-sum b/games/frotz/files/patch-sum
new file mode 100644
index 00000000000..164a3f40b4d
--- /dev/null
+++ b/games/frotz/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/08/14 06:59:42 fredb Exp $
+
+MD5 (patch-aa) = a50dedb22d2cad4a42b879171ff6a864
diff --git a/games/frotz/patches/patch-aa b/games/frotz/patches/patch-aa
new file mode 100644
index 00000000000..0dec93c2613
--- /dev/null
+++ b/games/frotz/patches/patch-aa
@@ -0,0 +1,47 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/08/14 06:59:42 fredb Exp $
+--- Makefile.orig Fri Oct 17 13:11:10 1997
++++ Makefile Fri Aug 13 15:52:29 1999
+@@ -1,7 +1,6 @@
+-
+ # Define your c compiler. I recommend gcc if you've got it.
+-#CC = cc
+-CC = gcc
++CC = cc
++#CC = gcc
+
+ # Define your optimization flags. Most compilers understand -O and -O2,
+ # Debugging (don't use)
+@@ -43,21 +42,21 @@
+ # have that option.
+ #
+ #DEFS = -DUSE_GETOPT_H -DCOLOR_SUPPORT -DEMACS_EDITING
+-DEFS =
++DEFS = -DUSE_UNISTD_H -DCOLOR_SUPPORT -DEMACS_EDITING -DUSE_NCURSES_H
+
+ # This should point to the location of your curses or ncurses include file
+ # if it's in a non-standard place.
+ #INCL = -I/usr/local/include
+ #INCL = -I/5usr/include
+-INCL =
++INCL = -I${PREFIX}/include
+
+ # This should define the location and name of whatever curses library you're
+ # linking with.
+ #LIB = -L/usr/local/lib
+ #CURSES = -lncurses
+ #LIB = -L/5usr/lib
+-LIB =
+-CURSES = -lcurses
++LIB = -L${PREFIX}/lib -Wl,-R${PREFIX}/lib
++CURSES = -lncurses
+
+ # Nothing under this line should need to be changed.
+
+@@ -71,3 +70,7 @@
+ frotz: $(OBJECTS)
+ $(CC) -o frotz $(OBJECTS) $(LIB) $(CURSES)
+
++all: frotz
++
++install:
++ ${INSTALL} -c frotz ${PREFIX}/bin
diff --git a/games/frotz/pkg/COMMENT b/games/frotz/pkg/COMMENT
new file mode 100644
index 00000000000..12776d95e67
--- /dev/null
+++ b/games/frotz/pkg/COMMENT
@@ -0,0 +1 @@
+a curses-based interpreter for Infocom-compatible games
diff --git a/games/frotz/pkg/DESCR b/games/frotz/pkg/DESCR
new file mode 100644
index 00000000000..7eb5a609b9a
--- /dev/null
+++ b/games/frotz/pkg/DESCR
@@ -0,0 +1,4 @@
+Frotz is another of the fine family of interpreters for Infocom's text
+adventures and compatible games. This is version 2.32.
+
+"Frotz" is also the name of the spell to make an object emit light.
diff --git a/games/frotz/pkg/MESSAGE b/games/frotz/pkg/MESSAGE
new file mode 100644
index 00000000000..0a364e9e8b3
--- /dev/null
+++ b/games/frotz/pkg/MESSAGE
@@ -0,0 +1,4 @@
+To enable the '-f' and '-b' options, you must set the TERM environment
+variable to the name of a terminfo entry that supports color. Both
+'color_xterm' and 'xterm-16color' are known to work with the X11R6
+xterm distributed with NetBSD-1.4.1.
diff --git a/games/frotz/pkg/PLIST b/games/frotz/pkg/PLIST
new file mode 100644
index 00000000000..e7a85f751d9
--- /dev/null
+++ b/games/frotz/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/08/14 06:59:41 fredb Exp $
+bin/frotz
+man/man6/frotz.6