Import of zoom 0.9.99beta3.

Submitted by Jose Nazario <jose@crimelabs.net>.

Zoom is a Z-Machine, which means that it plays text adventure games
written in ZCode.  The original games were written by a company called
'Infocom' in the 80's.  It is designed to run under X11.
This commit is contained in:
naddy 2001-10-28 02:24:23 +00:00
parent 90159fbd3d
commit e010ef2f44
7 changed files with 93 additions and 0 deletions

30
games/zoom/Makefile Normal file
View File

@ -0,0 +1,30 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/10/28 02:24:23 naddy Exp $
COMMENT= "Z-code interpreter for X11"
DISTNAME= zoom-0.9.99beta3
CATEGORIES= games
NEED_VERSION= 1.484
HOMEPAGE= http://www.dcs.warwick.ac.uk/~esvce/zoom/
MAINTAINER= Jose Nazario <jose@crimelabs.net>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
USE_X11= Yes
CONFIGURE_STYLE= gnu
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/zoom
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/zoom/README
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/zoom
${INSTALL_DATA} ${WRKSRC}/zoomrc \
${PREFIX}/share/examples/zoom/dot.zoomrc
.include <bsd.port.mk>

3
games/zoom/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (zoom-0.9.99beta3.tar.gz) = 27af70fd75d1f36a0d3ae82c05f89e0d
RMD160 (zoom-0.9.99beta3.tar.gz) = 24b5736d9a19f79804fefae793812dfa363cccc1
SHA1 (zoom-0.9.99beta3.tar.gz) = 8aa94b80e5d59e3c605f4b3c724d6f831379e7e0

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_stream_c,v 1.1.1.1 2001/10/28 02:24:23 naddy Exp $
--- src/stream.c.orig Wed Oct 24 23:10:44 2001
+++ src/stream.c Wed Oct 24 23:11:00 2001
@@ -134,7 +134,7 @@ void stream_buffering(int buf)
void stream_printf(const char* const f, ...)
{
- va_list* ap;
+ va_list ap;
char string[512];
va_start(ap, f);

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_xdisplay_c,v 1.1.1.1 2001/10/28 02:24:23 naddy Exp $
--- src/xdisplay.c.orig Wed Oct 24 23:10:19 2001
+++ src/xdisplay.c Wed Oct 24 23:10:32 2001
@@ -657,7 +657,7 @@ static void outputs(const char* string,
*/
void display_printf(const char* format, ...)
{
- va_list* ap;
+ va_list ap;
char string[512];
va_start(ap, format);

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-src_zmachine_c,v 1.1.1.1 2001/10/28 02:24:23 naddy Exp $
--- src/zmachine.c.orig Wed Oct 24 23:09:20 2001
+++ src/zmachine.c Wed Oct 24 23:09:42 2001
@@ -116,7 +116,7 @@ void zmachine_load_story(char* filename,
void zmachine_fatal(char* format, ...)
{
- va_list* ap;
+ va_list ap;
char string[256];
va_start(ap, format);
@@ -154,7 +154,7 @@ void zmachine_fatal(char* format, ...)
void zmachine_warning(char* format, ...)
{
- va_list* ap;
+ va_list ap;
char string[256];
if (machine.warning_level == 0)

9
games/zoom/pkg/DESCR Normal file
View File

@ -0,0 +1,9 @@
Zoom is a Z-Machine, which means that it plays text adventure games
written in ZCode. The original games were written by a company called
'Infocom' in the 80's: these are available on the Infocom Masterpieces
CD, published by Activision. The version presented here is known to
work with version 3, 5, 7 and 8 story files. Version 4 should be ready
soon, but version 6 will take a bit more work. It is designed to run
under the X Window System.
WWW: ${HOMEPAGE}

6
games/zoom/pkg/PLIST Normal file
View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/10/28 02:24:23 naddy Exp $
bin/zoom
share/doc/zoom/README
share/examples/zoom/dot.zoomrc
@dirrm share/examples/zoom
@dirrm share/doc/zoom