Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Sep 1998 00:29:27 -0400 (EDT)
From:      Dave Chapeskie <dchapes@ddm.on.ca>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7834: New port: IFM - Interactive Fiction Mapper
Message-ID:  <199809050429.AAA09836@squigy.ddm.on.ca>

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

>Number:         7834
>Category:       ports
>Synopsis:       New port: IFM - Interactive Fiction Mapper
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep  4 21:40:01 PDT 1998
>Last-Modified:
>Originator:     Dave Chapeskie
>Organization:
DDM Consulting
>Release:        FreeBSD 2.2.6-STABLE i386
>Environment:

	

>Description:

This is a port for IFM v2.0.

IFM (Interactive Fiction Mapper) allows you to specify how locations
are connected in a work of interactive fiction (AKA a text adventure)
and optionally the items and tasks (including their interdendancies)
required to complete the game.  Using this information IFM can generate
maps, a walkthrough, and an item list.

IMHO, anyone who uses the games/frotz or games/xzip ports should also
use this as well.


By the way, two ancient ports I did (devel/cflow and mail/xbuffy) list
one of my old defunct e-mail addresses.  They should either be changed
to dchapes@ddm.on.ca or (particularily in the case of cflow) set to
ports@FreeBSD.ORG.  Could whoever commits this also fix them.

>How-To-Repeat:

	

>Fix:
	
# 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:
#
#	.
#	./Makefile
#	./files
#	./files/md5
#	./pkg
#	./pkg/DESCR
#	./pkg/PLIST
#	./pkg/COMMENT
#	./patches
#	./patches/patch-aa
#	./patches/patch-ab
#	./patches/patch-ac
#	./patches/patch-ad
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:	ifm
X# Version required:			2.0
X# Date created:				Wed Aug 26 17:22:34 EDT 1998
X# Whom:					Dave Chapeskie # <dchapes@ddm.on.ca>
X#
X# $Id$
X#
X
XDISTNAME=	ifm20
XPKGNAME=	ifm-2.0
XCATEGORIES=	games
XMASTER_SITES=	ftp://ftp.gmd.ed/if-archive/mapping-tools/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	dchapes@ddm.on.ca
X
XRUN_DEPENDS=	wish8.0:${PORTSDIR}/x11-toolkits/tk80
X
XWRKSRC=		${WRKDIR}/${PKGNAME}
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
X
XMAN1=		ifm.1 tkifm.1
XINSTALL_TARGET=	install install-tkifm
X
Xpost-install:
X	${INSTALL_MAN} ${WRKSRC}/doc/ifm.1 ${PREFIX}/man/man1
X	${INSTALL_MAN} ${WRKSRC}/tkifm/tkifm.1 ${PREFIX}/man/man1
X
X.include <bsd.port.mk>
END-of-./Makefile
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/md5
sed 's/^X//' >./files/md5 << 'END-of-./files/md5'
XMD5 (ifm20.tgz) = 07ed58ecd3974180c3f36982d97cb111
END-of-./files/md5
echo c - ./pkg
mkdir -p ./pkg > /dev/null 2>&1
echo x - ./pkg/DESCR
sed 's/^X//' >./pkg/DESCR << 'END-of-./pkg/DESCR'
XIfm (Interactive Fiction Mapper) is a language for keeping track of your
Xprogress through an Interactive Fiction game, and a program for producing
Xvarious different sorts of output using it.  You can record each room you
Xvisit and its relation to other rooms, the initial locations of useful
Xitems you find, and the tasks you need to perform in order to solve the
Xgame.
X
XThe Ifm mapping commands are designed so that you can easily add to the map
Xas you explore the game.  You type in the rooms you visit and the
Xdirections you move in to reach other rooms, and Ifm calculates the
Xposition of each room in relation to the others.  A map can consist of
Xseveral independent sections, allowing you to divide up the map however you
Xlike.
X
XThe Ifm task commands, if used, allow you to specify the order in which
Xgame-solving tasks must be done.  The Ifm program can then calculate and
Xprint different styles of walkthrough for the game.
END-of-./pkg/DESCR
echo x - ./pkg/PLIST
sed 's/^X//' >./pkg/PLIST << 'END-of-./pkg/PLIST'
Xbin/ifm
Xbin/tkifm
Xshare/ifm/ifm-pro.ps
Xman/man1/ifm.1.gz
Xman/man1/tkifm.1.gz
END-of-./pkg/PLIST
echo x - ./pkg/COMMENT
sed 's/^X//' >./pkg/COMMENT << 'END-of-./pkg/COMMENT'
XInteractive Fiction mapper and walkthrough generator.
END-of-./pkg/COMMENT
echo c - ./patches
mkdir -p ./patches > /dev/null 2>&1
echo x - ./patches/patch-aa
sed 's/^X//' >./patches/patch-aa << 'END-of-./patches/patch-aa'
X--- configure.orig	Tue Aug 11 12:23:20 1998
X+++ configure	Wed Aug 26 19:20:42 1998
X@@ -1241,8 +1241,8 @@
X   echo "$ac_t""no" 1>&6
X fi
X 
X-# Extract the first word of "wish", so it can be a program name with args.
X-set dummy wish; ac_word=$2
X+# Extract the first word of "wish8.0", so it can be a program name with args.
X+set dummy wish8.0; ac_word=$2
X echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
X echo "configure:1248: checking for $ac_word" >&5
X if eval "test \"`echo '$''{'ac_cv_path_WISH'+set}'`\" = set"; then
END-of-./patches/patch-aa
echo x - ./patches/patch-ab
sed 's/^X//' >./patches/patch-ab << 'END-of-./patches/patch-ab'
X--- doc/Makefile.in.orig	Wed Aug 12 11:21:30 1998
X+++ doc/Makefile.in	Wed Aug 26 19:28:46 1998
X@@ -137,7 +137,9 @@
X install-exec: 
X 	@$(NORMAL_INSTALL)
X 
X-install-data: install-infoDATA
X+# Don't install the info files since they seem somewhat broken...
X+# besides the man page is up-to-date
X+install-data:
X 	@$(NORMAL_INSTALL)
X 
X install: install-exec install-data all
END-of-./patches/patch-ab
echo x - ./patches/patch-ac
sed 's/^X//' >./patches/patch-ac << 'END-of-./patches/patch-ac'
X--- lib/vars-regexp.c.orig	Fri Jun 19 05:50:06 1998
X+++ lib/vars-regexp.c	Wed Aug 26 18:28:23 1998
X@@ -10,8 +10,8 @@
X #include <stdio.h>
X #include <string.h>
X #include <stdlib.h>
X-#include <regex.h>
X #include "vars-defs.h"
X+#include <regex.h>
X 
X /* Type definition */
X struct v_regex {
END-of-./patches/patch-ac
echo x - ./patches/patch-ad
sed 's/^X//' >./patches/patch-ad << 'END-of-./patches/patch-ad'
X--- src/ifm-main.c.orig	Wed Aug 12 08:42:01 1998
X+++ src/ifm-main.c	Wed Aug 26 20:13:48 1998
X@@ -271,8 +271,8 @@
X     if (output != O_NONE && ifm_fmt < 0) {
X         vscalar *var = get_var("format");
X         ifm_fmt = select_format(var != NULL ? vs_sget(var) : NULL, output);
X-        ifm_format = drivers[ifm_fmt].name;
X     }
X+    ifm_format = drivers[ifm_fmt].name;
X 
X     /* Resolve tags */
X     resolve_tags();
END-of-./patches/patch-ad
exit
>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?199809050429.AAA09836>