Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 May 1998 11:16:54 +0400 (MSD)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6660: New port: frotz-2.32
Message-ID:  <199805170716.LAA07145@icc.surw.chel.su>

next in thread | raw e-mail | index | archive | help

>Number:         6660
>Category:       ports
>Synopsis:       New port: frotz-2.32
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 17 00:10:00 PDT 1998
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Organization:
South Ural Railway
>Release:        FreeBSD 2.2.2-RELEASE i386
>Environment:

>Description:

   This is a port of Infocom games interpreter. It 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.


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	frotz-2.32
#	frotz-2.32/Makefile
#	frotz-2.32/files
#	frotz-2.32/files/md5
#	frotz-2.32/patches
#	frotz-2.32/patches/patch-aa
#	frotz-2.32/pkg
#	frotz-2.32/pkg/PLIST
#	frotz-2.32/pkg/COMMENT
#	frotz-2.32/pkg/DESCR
#
echo c - frotz-2.32
mkdir -p frotz-2.32 > /dev/null 2>&1
echo x - frotz-2.32/Makefile
sed 's/^X//' >frotz-2.32/Makefile << 'END-of-frotz-2.32/Makefile'
X# New ports collection makefile for:	frotz
X# Version required:			2.32
X# Date created:				16 May 1998
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=		UnixFrotz232R2Std10
XPKGNAME=		frotz-2.32
XCATEGORIES=		games
XMASTER_SITES=		ftp://ftp.gmd.de/if-archive/infocom/interpreters/frotz/
X
XMAINTAINER=		andy@icc.surw.chel.su
X
XALL_TARGET=
XWRKSRC=			${WRKDIR}/frotz-2.32
X
Xdo-install:
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/frotz ${PREFIX}/bin
X
X.if !defined(NOPORTDOCS)
X	@ ${MKDIR} ${PREFIX}/share/doc/frotz
X.for file in Readme.unix Todo
X	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/frotz
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-frotz-2.32/Makefile
echo c - frotz-2.32/files
mkdir -p frotz-2.32/files > /dev/null 2>&1
echo x - frotz-2.32/files/md5
sed 's/^X//' >frotz-2.32/files/md5 << 'END-of-frotz-2.32/files/md5'
XMD5 (UnixFrotz232R2Std10.tar.gz) = 5c40f4a9da46a65cd0fd09821bf93538
END-of-frotz-2.32/files/md5
echo c - frotz-2.32/patches
mkdir -p frotz-2.32/patches > /dev/null 2>&1
echo x - frotz-2.32/patches/patch-aa
sed 's/^X//' >frotz-2.32/patches/patch-aa << 'END-of-frotz-2.32/patches/patch-aa'
X--- Makefile	Fri Oct 17 20:11:10 1997
X+++ /home/andy/tmp/wrk/Makefile	Sat May 16 15:29:57 1998
X@@ -1,7 +1,7 @@
X 
X # Define your c compiler.  I recommend gcc if you've got it.
X #CC = cc
X-CC = gcc
X+#CC = gcc
X 
X # Define your optimization flags.  Most compilers understand -O and -O2,
X # Debugging (don't use)
X@@ -43,7 +43,7 @@
X #                     have that option.
X #
X #DEFS = -DUSE_GETOPT_H -DCOLOR_SUPPORT -DEMACS_EDITING
X-DEFS =
X+DEFS = -DCOLOR_SUPPORT -DEMACS_EDITING -DUSE_NCURSES_H -DUSE_NOTHING
X 
X # This should point to the location of your curses or ncurses include file
X # if it's in a non-standard place.
X@@ -57,7 +57,7 @@
X #CURSES = -lncurses
X #LIB = -L/5usr/lib
X LIB =
X-CURSES = -lcurses
X+CURSES = -lncurses
X 
X # Nothing under this line should need to be changed.
X 
X@@ -66,7 +66,7 @@
X           text.o ux_init.o ux_input.o ux_pic.o ux_screen.o ux_sample.o \
X           ux_text.o variable.o
X 
X-CFLAGS = $(OPTS) $(DEFS) $(INCL)
X+CFLAGS+= $(DEFS)
X 
X frotz: $(OBJECTS)
X 	$(CC) -o frotz $(OBJECTS) $(LIB) $(CURSES)
END-of-frotz-2.32/patches/patch-aa
echo c - frotz-2.32/pkg
mkdir -p frotz-2.32/pkg > /dev/null 2>&1
echo x - frotz-2.32/pkg/PLIST
sed 's/^X//' >frotz-2.32/pkg/PLIST << 'END-of-frotz-2.32/pkg/PLIST'
Xbin/frotz
Xshare/doc/frotz/Readme.unix
Xshare/doc/frotz/Todo
X@dirrm share/doc/frotz
END-of-frotz-2.32/pkg/PLIST
echo x - frotz-2.32/pkg/COMMENT
sed 's/^X//' >frotz-2.32/pkg/COMMENT << 'END-of-frotz-2.32/pkg/COMMENT'
XInfocom games interpreter.
END-of-frotz-2.32/pkg/COMMENT
echo x - frotz-2.32/pkg/DESCR
sed 's/^X//' >frotz-2.32/pkg/DESCR << 'END-of-frotz-2.32/pkg/DESCR'
XAn interpreter for all Infocom games. Complies with standard
X1.0 of Graham Nelson's specification. Frotz runs text adventures
Xwhich come in so-called story files: ZORK1.DAT, TRINITY.DAT,
XCURSES.Z5, JIGSAW.Z8, ARTHUR.ZIP etc. It is possible to play
XAtari ST, Amiga or Macintosh games on your PC once you manage
Xto transfer the story files.  There is an increasing number
Xof new games available on the Internet. Check the if-archive
Xat ftp.gmd.de.
X
XHomepage: http://www.geocities.com/SiliconValley/Heights/3222/frotz.html
END-of-frotz-2.32/pkg/DESCR
exit


>How-To-Repeat:

>Fix:

   Please, check and commit this port.

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805170716.LAA07145>