summaryrefslogtreecommitdiff
path: root/games/xzip
diff options
context:
space:
mode:
authortron <tron>1998-08-10 22:27:46 +0000
committertron <tron>1998-08-10 22:27:46 +0000
commitdca9275e0d95c4270c658b1676a8c87de1069dd9 (patch)
treed45e10ffa1d51a3a43f50c1ea72710e8e690fd6b /games/xzip
parent411b612ebaadaf9df5ee285f0b0423d4b6341f9f (diff)
downloadpkgsrc-dca9275e0d95c4270c658b1676a8c87de1069dd9.tar.gz
New "xzip" package created by Tim Rightnour:
a z-code interpreter for X11 (Infocom game format)
Diffstat (limited to 'games/xzip')
-rw-r--r--games/xzip/Makefile16
-rw-r--r--games/xzip/files/md53
-rw-r--r--games/xzip/patches/patch-aa49
-rw-r--r--games/xzip/pkg/COMMENT1
-rw-r--r--games/xzip/pkg/DESCR14
-rw-r--r--games/xzip/pkg/PLIST3
6 files changed, 86 insertions, 0 deletions
diff --git a/games/xzip/Makefile b/games/xzip/Makefile
new file mode 100644
index 00000000000..c2e5d6381ab
--- /dev/null
+++ b/games/xzip/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 1998/08/10 22:27:46 tron Exp $
+
+DISTNAME= xzip180
+PKGNAME= xzip-1.8
+CATEGORIES= games x11
+MASTER_SITES= http://www.edoc.com/zarf/ftp/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= root@garbled.net
+
+WRKSRC= ${WRKDIR}/xzip
+
+USE_X11= yes
+ALL_TARGET= xzip
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/xzip/files/md5 b/games/xzip/files/md5
new file mode 100644
index 00000000000..22672578956
--- /dev/null
+++ b/games/xzip/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1 1998/08/10 22:27:46 tron Exp $
+
+MD5 (xzip180.tar.Z) = 88397d490183fcb0ee180e9f7d3ee7c9
diff --git a/games/xzip/patches/patch-aa b/games/xzip/patches/patch-aa
new file mode 100644
index 00000000000..1f9d913d774
--- /dev/null
+++ b/games/xzip/patches/patch-aa
@@ -0,0 +1,49 @@
+$NetBSD: patch-aa,v 1.1 1998/08/10 22:27:46 tron Exp $
+
+--- Makefile.orig Sun Jul 12 00:27:32 1998
++++ Makefile Tue Aug 11 00:14:31 1998
+@@ -57,15 +57,15 @@
+ #SYSTEMFLAGS = -DBIG_END_MODE
+
+ # 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.
+ # The following are defaults that might work.
+
+-XINCLUDE = /usr/include/X11
+-XLIB = /usr/lib/X11
++XINCLUDE = $(X11BASE)/include
++XLIB = $(X11BASE)/lib
+
+ # If your compiler can't find these things, try commenting out the
+ # above, and uncommenting various versions below. Also look around
+@@ -90,12 +90,12 @@
+ # --------------------
+
+ # definition for where to install xzip executable and man page
+-DESTDIR = /usr/local
++DESTDIR = $(X11BASE)
+
+ # --------------------
+
+ CFLAGS = -O $(SYSTEMFLAGS) -I$(XINCLUDE)
+-LDFLAGS =
++LDFLAGS = -Wl,-R$(X11BASE)/lib
+ LIBS = -L$(XLIB) -lX11 $(SYSTEMLIBS)
+
+ # definitions for the default fonts. Users can override these with X resources.
+@@ -152,8 +152,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_MAN} $(PROGRAM).1 $(DESTDIR)/man/man6/$(PROGRAM).6
+
+ clean :
+ -rm -f *~ *.o $(PROGRAM) test
diff --git a/games/xzip/pkg/COMMENT b/games/xzip/pkg/COMMENT
new file mode 100644
index 00000000000..0817aa322f5
--- /dev/null
+++ b/games/xzip/pkg/COMMENT
@@ -0,0 +1 @@
+a z-code interpreter for X11 (Infocom game format)
diff --git a/games/xzip/pkg/DESCR b/games/xzip/pkg/DESCR
new file mode 100644
index 00000000000..86b263f3fac
--- /dev/null
+++ b/games/xzip/pkg/DESCR
@@ -0,0 +1,14 @@
+XZip is a clean X Windows interface to games written in Infocom's Z-code
+game format. It handles Z-code versions 1 through 5 and version 8. It is
+free (yee-ha!)
+
+developed at CMU. Really, I would have preferred to actually do this in
+ATK... except that then you'd need ATK to run it, and that's 50 megabytes
+of source code. (Honest.) So I just did an imitation.
+
+http://www.edoc.com/zarf/xzip.html
+
+Z-code games are available at:
+
+ftp://ftp.gmd.de/if-archive/games/infocom/
+http://www.edoc.com/zarf/if.html
diff --git a/games/xzip/pkg/PLIST b/games/xzip/pkg/PLIST
new file mode 100644
index 00000000000..5811804463b
--- /dev/null
+++ b/games/xzip/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 1998/08/10 22:27:47 tron Exp $
+bin/xzip
+man/man6/xzip.6