summaryrefslogtreecommitdiff
path: root/games/xzip
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>1998-06-28 04:08:27 +0000
committerMatthew Hunt <mph@FreeBSD.org>1998-06-28 04:08:27 +0000
commitb85e95f56ad5d97c8bcc07702d7c6f7827aa7e0c (patch)
tree2ca6477cf72fa37d571c36232bc67eb59b5d3dc8 /games/xzip
parentActivate xzip. (diff)
Import of xzip 1.7.0. This is yet another Infocom interpreter.
This one requires X11.
Notes
Notes: svn path=/head/; revision=11572
Diffstat (limited to 'games/xzip')
-rw-r--r--games/xzip/Makefile21
-rw-r--r--games/xzip/distinfo1
-rw-r--r--games/xzip/files/patch-aa40
-rw-r--r--games/xzip/pkg-comment1
-rw-r--r--games/xzip/pkg-descr8
-rw-r--r--games/xzip/pkg-plist2
6 files changed, 73 insertions, 0 deletions
diff --git a/games/xzip/Makefile b/games/xzip/Makefile
new file mode 100644
index 000000000000..6cc55c420690
--- /dev/null
+++ b/games/xzip/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: xzip
+# Version required: 1.7.0
+# Date created: 28 June 1998
+# Whom: Matthew Hunt <mph@FreeBSD.org>
+#
+# $Id$
+#
+
+DISTNAME= xzip170
+PKGNAME= xzip-1.7.0
+CATEGORIES= games x11
+MASTER_SITES= http://www.cfug.org/infocom/
+
+MAINTAINER= mph@freebsd.org
+
+WRKSRC= ${WRKDIR}/xzip
+ALL_TARGET=
+
+MAN1= xzip.1
+
+.include <bsd.port.mk>
diff --git a/games/xzip/distinfo b/games/xzip/distinfo
new file mode 100644
index 000000000000..cce4a882aadb
--- /dev/null
+++ b/games/xzip/distinfo
@@ -0,0 +1 @@
+MD5 (xzip170.tar.gz) = 3346b018da98bcbd229a144a455b8274
diff --git a/games/xzip/files/patch-aa b/games/xzip/files/patch-aa
new file mode 100644
index 000000000000..4deca9889d1a
--- /dev/null
+++ b/games/xzip/files/patch-aa
@@ -0,0 +1,40 @@
+--- Makefile.orig Sat Jan 3 13:42:44 1998
++++ Makefile Sat Jun 27 23:59:49 1998
+@@ -62,19 +62,21 @@
+ # definitions for some arbitrary little-endian system
+ #SYSTEMFLAGS = -DLITTLE_END_MODE
+
++SYSTEMFLAGS = -DAUTO_END_MODE
++
+ # --------------------
+
+ # definitions for where the X lib and include directories are
+-XDIR = /usr
+-XINCLUDE = $(XDIR)/include/X11
+-XLIB = $(XDIR)/lib/X11
++XDIR = ${X11BASE}
++XINCLUDE = $(XDIR)/include
++XLIB = $(XDIR)/lib
+
+ # definition for where to install xzip executable and man page
+-DESTDIR = /usr/local
++DESTDIR = ${PREFIX}
+
+ # --------------------
+
+-CFLAGS = -O $(SYSTEMFLAGS) -I$(XINCLUDE)
++CFLAGS += $(SYSTEMFLAGS) -I$(XINCLUDE)
+ LDFLAGS =
+ LIBS = -L$(XLIB) -lX11 $(SYSTEMLIBS)
+
+@@ -132,8 +134,8 @@
+ $(CC) $(CFLAGS) $(FONTDEFAULTLIST) -c xinit.c
+
+ install: $(PROGRAM)
+- install -s $(PROGRAM) $(DESTDIR)/bin
+- install $(PROGRAM).1 $(DESTDIR)/man/man1
++ ${BSD_INSTALL_PROGRAM} $(PROGRAM) $(DESTDIR)/bin
++ ${BSD_INSTALL_DATA} $(PROGRAM).1 $(DESTDIR)/man/man1
+
+ clean :
+ -rm -f *~ *.o $(PROGRAM) test
diff --git a/games/xzip/pkg-comment b/games/xzip/pkg-comment
new file mode 100644
index 000000000000..46ad3a0adaa4
--- /dev/null
+++ b/games/xzip/pkg-comment
@@ -0,0 +1 @@
+An Infocom game interpreter that runs under X11.
diff --git a/games/xzip/pkg-descr b/games/xzip/pkg-descr
new file mode 100644
index 000000000000..03e82ed14cda
--- /dev/null
+++ b/games/xzip/pkg-descr
@@ -0,0 +1,8 @@
+This software interprets Infocom text-adventure games. It requires the
+X Window System. This port does not install any games; you can install
+them yourself if you own the games, or you can legally obtain the Zork
+series from:
+ http://www.csd.uwo.ca/~pete/Infocom/download.html
+Information on other methods of obtaining the games, including CD-ROM
+vendors, is available from:
+ http://www.cfug.org/infocom/
diff --git a/games/xzip/pkg-plist b/games/xzip/pkg-plist
new file mode 100644
index 000000000000..76d17a55d7e4
--- /dev/null
+++ b/games/xzip/pkg-plist
@@ -0,0 +1,2 @@
+bin/xzip
+man/man1/xzip.1.gz