1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Import of frotz, yet another Infocom interpreter.

PR:		6660
Submitted by:	Andrey Zakhvatov <andy@icc.surw.chel.su>
This commit is contained in:
Matthew Hunt 1998-05-18 04:10:08 +00:00
parent 134aef9dc1
commit 18ecf4a8f5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=11039
6 changed files with 83 additions and 0 deletions

29
games/frotz/Makefile Normal file
View File

@ -0,0 +1,29 @@
# New ports collection makefile for: frotz
# Version required: 2.32
# Date created: 16 May 1998
# Whom: Andrey Zakhvatov
#
# $Id$
#
DISTNAME= UnixFrotz232R2Std10
PKGNAME= frotz-2.32
CATEGORIES= games
MASTER_SITES= ftp://ftp.gmd.de/if-archive/infocom/interpreters/frotz/
MAINTAINER= andy@icc.surw.chel.su
ALL_TARGET=
WRKSRC= ${WRKDIR}/frotz-2.32
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/frotz ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${PREFIX}/share/doc/frotz
.for file in Readme.unix Todo
@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/frotz
.endfor
.endif
.include <bsd.port.mk>

1
games/frotz/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (UnixFrotz232R2Std10.tar.gz) = 5c40f4a9da46a65cd0fd09821bf93538

View File

@ -0,0 +1,38 @@
--- Makefile Fri Oct 17 20:11:10 1997
+++ /home/andy/tmp/wrk/Makefile Sat May 16 15:29:57 1998
@@ -1,7 +1,7 @@
# Define your c compiler. I recommend gcc if you've got it.
#CC = cc
-CC = gcc
+#CC = gcc
# Define your optimization flags. Most compilers understand -O and -O2,
# Debugging (don't use)
@@ -43,7 +43,7 @@
# have that option.
#
#DEFS = -DUSE_GETOPT_H -DCOLOR_SUPPORT -DEMACS_EDITING
-DEFS =
+DEFS = -DCOLOR_SUPPORT -DEMACS_EDITING -DUSE_NCURSES_H -DUSE_NOTHING
# This should point to the location of your curses or ncurses include file
# if it's in a non-standard place.
@@ -57,7 +57,7 @@
#CURSES = -lncurses
#LIB = -L/5usr/lib
LIB =
-CURSES = -lcurses
+CURSES = -lncurses
# Nothing under this line should need to be changed.
@@ -66,7 +66,7 @@
text.o ux_init.o ux_input.o ux_pic.o ux_screen.o ux_sample.o \
ux_text.o variable.o
-CFLAGS = $(OPTS) $(DEFS) $(INCL)
+CFLAGS+= $(DEFS)
frotz: $(OBJECTS)
$(CC) -o frotz $(OBJECTS) $(LIB) $(CURSES)

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

@ -0,0 +1 @@
Infocom games interpreter.

10
games/frotz/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
An interpreter for all Infocom games. Complies with standard
1.0 of Graham Nelson's specification. Frotz runs text adventures
which come in so-called story files: ZORK1.DAT, TRINITY.DAT,
CURSES.Z5, JIGSAW.Z8, ARTHUR.ZIP etc. It is possible to play
Atari ST, Amiga or Macintosh games on your PC once you manage
to transfer the story files. There is an increasing number
of new games available on the Internet. Check the if-archive
at ftp.gmd.de.
Homepage: http://www.geocities.com/SiliconValley/Heights/3222/frotz.html

4
games/frotz/pkg-plist Normal file
View File

@ -0,0 +1,4 @@
bin/frotz
share/doc/frotz/Readme.unix
share/doc/frotz/Todo
@dirrm share/doc/frotz