Import of xzip 1.7.0. This is yet another Infocom interpreter.

This one requires X11.
This commit is contained in:
Matthew Hunt 1998-06-28 04:08:27 +00:00
parent 198acbcf13
commit b85e95f56a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=11572
6 changed files with 73 additions and 0 deletions

21
games/xzip/Makefile Normal file
View File

@ -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>

1
games/xzip/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (xzip170.tar.gz) = 3346b018da98bcbd229a144a455b8274

40
games/xzip/files/patch-aa Normal file
View File

@ -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

1
games/xzip/pkg-comment Normal file
View File

@ -0,0 +1 @@
An Infocom game interpreter that runs under X11.

8
games/xzip/pkg-descr Normal file
View File

@ -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/

2
games/xzip/pkg-plist Normal file
View File

@ -0,0 +1,2 @@
bin/xzip
man/man1/xzip.1.gz