diff options
author | mph <mph@FreeBSD.org> | 1998-06-28 23:16:08 +0800 |
---|---|---|
committer | mph <mph@FreeBSD.org> | 1998-06-28 23:16:08 +0800 |
commit | 331a10a37800aa6a84254b727825e1a680bb67b1 (patch) | |
tree | 101c2eb141c5136d394928d12a7594adebbcf458 /games/inform | |
parent | 7d3188e6a37c1e197aca4130354119341f9c76e7 (diff) | |
download | freebsd-ports-gnome-331a10a37800aa6a84254b727825e1a680bb67b1.tar.gz freebsd-ports-gnome-331a10a37800aa6a84254b727825e1a680bb67b1.tar.zst freebsd-ports-gnome-331a10a37800aa6a84254b727825e1a680bb67b1.zip |
Import of Inform 6.15 and version 6/7 of its library. Inform is
a compiler for producing adventure games. The output is compatible
with Infocom interpreters, which offers cross-platform compatibility
and a choice of interface.
Diffstat (limited to 'games/inform')
-rw-r--r-- | games/inform/Makefile | 66 | ||||
-rw-r--r-- | games/inform/distinfo | 3 | ||||
-rw-r--r-- | games/inform/files/Makefile.inform | 15 | ||||
-rw-r--r-- | games/inform/files/patch-aa | 11 | ||||
-rw-r--r-- | games/inform/pkg-comment | 1 | ||||
-rw-r--r-- | games/inform/pkg-descr | 11 | ||||
-rw-r--r-- | games/inform/pkg-plist | 174 |
7 files changed, 281 insertions, 0 deletions
diff --git a/games/inform/Makefile b/games/inform/Makefile new file mode 100644 index 000000000000..1f44808d0927 --- /dev/null +++ b/games/inform/Makefile @@ -0,0 +1,66 @@ +# New ports collection makefile for: inform +# Version required: 6.15 (Library: 6/7) +# Date created: 28 June 1998 +# Whom: Matthew Hunt <mph@FreeBSD.org> +# +# $Id$ +# + +DISTNAME= inform-6.15 +CATEGORIES= games +MASTER_SITES= ftp://ftp.gmd.de/if-archive/infocom/compilers/inform6/source/ \ + ftp://ftp.gmd.de/if-archive/infocom/compilers/inform6/library/ +DISTFILES= inform615_source.zip inform_library67.tar.gz + +.if !defined(NOPORTDOCS) +MASTER_SITES+= ftp://ftp.gmd.de/if-archive/infocom/compilers/inform6/manuals/ +DISTFILES+= designers_manual_html.zip +.endif + +MAINTAINER= mph@freebsd.org + +BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip + +DIST_SUBDIR= inform +NO_WRKSUBDIR= yes + +EXTRACT_ONLY= inform615_source.zip +EXTRACT_CMD= unzip +EXTRACT_BEFORE_ARGS= -qq + +# I can hardly believe it, but the ".c" and ".h" extensions are +# not present on the source files. +post-extract: + @${MV} ${WRKSRC}/header ${WRKSRC}/header.h +.for file in arrays asm bpatch chars directs errors expressc expressp \ + files inform lexer linker memory objects states symbols syntax \ + tables text veneer verbs + @${MV} ${WRKSRC}/${file} ${WRKSRC}/${file}.c +.endfor + @${CP} ${FILESDIR}/Makefile.inform ${WRKSRC}/Makefile + +# Install the library files in ${PREFIX}/share/inform. The compiler +# is configured to use extensions under Unix, so we need to tack ".h" +# onto each filename. Set perms and ownership, because they're odd in +# the archive. Many games include "VerbLib" instead of "Verblib" so +# make a symlink. Finally, install documentation if appropriate. + +post-install: + @${MKDIR} ${PREFIX}/share/inform + @(cd ${PREFIX}/share/inform && \ + tar xzf ${DISTDIR}/${DIST_SUBDIR}/inform_library67.tar.gz) +.for file in English Grammar Parser Verblib linklpa linklv parserm verblibm + @${MV} ${PREFIX}/share/inform/${file} ${PREFIX}/share/inform/${file}.h + @ chmod ${SHAREMODE} ${PREFIX}/share/inform/${file}.h + @ chown ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/inform/${file}.h +.endfor + @${LN} -s Verblib.h ${PREFIX}/share/inform/VerbLib.h + @ chown ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/inform/VerbLib.h +.if !defined(NOPORTDOCS) + @ (umask 222 && unzip -qq -d ${PREFIX}/share/doc \ + ${DISTDIR}/${DIST_SUBDIR}/designers_manual_html.zip) + @${MV} ${PREFIX}/share/doc/dman ${PREFIX}/share/doc/inform + @ chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/inform +.endif + +.include <bsd.port.mk> diff --git a/games/inform/distinfo b/games/inform/distinfo new file mode 100644 index 000000000000..8cad1544550b --- /dev/null +++ b/games/inform/distinfo @@ -0,0 +1,3 @@ +MD5 (inform/inform615_source.zip) = 9ef11dee019eba74544104498a6139c4 +MD5 (inform/inform_library67.tar.gz) = 5f8ec1da55ee9fa2166bb4eb104ab8d3 +MD5 (inform/designers_manual_html.zip) = 377f2f0224059171296360f6e67d8a95 diff --git a/games/inform/files/Makefile.inform b/games/inform/files/Makefile.inform new file mode 100644 index 000000000000..856d96511ae2 --- /dev/null +++ b/games/inform/files/Makefile.inform @@ -0,0 +1,15 @@ +# $Id$ + +OBJS= arrays.o asm.o bpatch.o chars.o directs.o errors.o expressc.o \ + expressp.o files.o inform.o lexer.o linker.o memory.o objects.o \ + states.o symbols.o syntax.o tables.o text.o veneer.o verbs.o + +CFLAGS+= -DInclude_Directory=\"${PREFIX}/share/inform\" + +all: inform + +inform: $(OBJS) + $(CC) $(CFLAGS) -o ${.TARGET} $(OBJS) + +install: inform + ${BSD_INSTALL_PROGRAM} inform ${PREFIX}/bin diff --git a/games/inform/files/patch-aa b/games/inform/files/patch-aa new file mode 100644 index 000000000000..37f11f4dff84 --- /dev/null +++ b/games/inform/files/patch-aa @@ -0,0 +1,11 @@ +--- header.h.orig Sun Jun 28 00:54:48 1998 ++++ header.h Sun Jun 28 00:58:25 1998 +@@ -66,7 +66,7 @@ + /* out a block of definitions like those below.) */ + /* ------------------------------------------------------------------------- */ + +-#define ARCHIMEDES ++#define UNIX + + /* ------------------------------------------------------------------------- */ + /* The first task is to include the ANSI header files, and typedef */ diff --git a/games/inform/pkg-comment b/games/inform/pkg-comment new file mode 100644 index 000000000000..579a8cb33eef --- /dev/null +++ b/games/inform/pkg-comment @@ -0,0 +1 @@ +Compiler for producing text adventure games. diff --git a/games/inform/pkg-descr b/games/inform/pkg-descr new file mode 100644 index 000000000000..1e4c66e2cb9f --- /dev/null +++ b/games/inform/pkg-descr @@ -0,0 +1,11 @@ +This compiler produces text adventure games that can be played +using Infocom-compatible interpreters (such as jzip and xzip in +the FreeBSD Ports Collection). + +This port normally installs HTML documentation in +/usr/share/doc/inform. If you would prefer another format, such +as TeX, Postscript, or PDF, build the port with NOPORTDOCS=yes +and obtain the manual from the FTP site. The FTP site also +contains example games and other resources. + +ftp://ftp.gmd.de/if-archive/infocom/compilers/inform6/ diff --git a/games/inform/pkg-plist b/games/inform/pkg-plist new file mode 100644 index 000000000000..52aa652c45d6 --- /dev/null +++ b/games/inform/pkg-plist @@ -0,0 +1,174 @@ +bin/inform +share/inform/English.h +share/inform/Grammar.h +share/inform/linklpa.h +share/inform/linklv.h +share/inform/Parser.h +share/inform/parserm.h +share/inform/Verblib.h +share/inform/verblibm.h +share/inform/VerbLib.h +share/doc/inform/answers1/answer10.html +share/doc/inform/answers1/answer11.html +share/doc/inform/answers1/answer12.html +share/doc/inform/answers1/answer13.html +share/doc/inform/answers1/answer14.html +share/doc/inform/answers1/answer15.html +share/doc/inform/answers1/answer16.html +share/doc/inform/answers1/answer17.html +share/doc/inform/answers1/answer18.html +share/doc/inform/answers1/answer19.html +share/doc/inform/answers1/answer2.html +share/doc/inform/answers1/answer20.html +share/doc/inform/answers1/answer21.html +share/doc/inform/answers1/answer22.html +share/doc/inform/answers1/answer23.html +share/doc/inform/answers1/answer24.html +share/doc/inform/answers1/answer25.html +share/doc/inform/answers1/answer26.html +share/doc/inform/answers1/answer27.html +share/doc/inform/answers1/answer28.html +share/doc/inform/answers1/answer29.html +share/doc/inform/answers1/answer3.html +share/doc/inform/answers1/answer30.html +share/doc/inform/answers1/answer31.html +share/doc/inform/answers1/answer32.html +share/doc/inform/answers1/answer33.html +share/doc/inform/answers1/answer34.html +share/doc/inform/answers1/answer35.html +share/doc/inform/answers1/answer36.html +share/doc/inform/answers1/answer37.html +share/doc/inform/answers1/answer38.html +share/doc/inform/answers1/answer39.html +share/doc/inform/answers1/answer4.html +share/doc/inform/answers1/answer40.html +share/doc/inform/answers1/answer41.html +share/doc/inform/answers1/answer42.html +share/doc/inform/answers1/answer43.html +share/doc/inform/answers1/answer44.html +share/doc/inform/answers1/answer45.html +share/doc/inform/answers1/answer46.html +share/doc/inform/answers1/answer47.html +share/doc/inform/answers1/answer48.html +share/doc/inform/answers1/answer49.html +share/doc/inform/answers1/answer5.html +share/doc/inform/answers1/answer50.html +share/doc/inform/answers1/answer6.html +share/doc/inform/answers1/answer7.html +share/doc/inform/answers1/answer8.html +share/doc/inform/answers1/answer9.html +share/doc/inform/answers1/answer1.html +share/doc/inform/answers2/answer52.html +share/doc/inform/answers2/answer53.html +share/doc/inform/answers2/answer54.html +share/doc/inform/answers2/answer55.html +share/doc/inform/answers2/answer56.html +share/doc/inform/answers2/answer57.html +share/doc/inform/answers2/answer58.html +share/doc/inform/answers2/answer59.html +share/doc/inform/answers2/answer60.html +share/doc/inform/answers2/answer61.html +share/doc/inform/answers2/answer62.html +share/doc/inform/answers2/answer63.html +share/doc/inform/answers2/answer64.html +share/doc/inform/answers2/answer65.html +share/doc/inform/answers2/answer66.html +share/doc/inform/answers2/answer67.html +share/doc/inform/answers2/answer68.html +share/doc/inform/answers2/answer69.html +share/doc/inform/answers2/answer70.html +share/doc/inform/answers2/answer71.html +share/doc/inform/answers2/answer72.html +share/doc/inform/answers2/answer73.html +share/doc/inform/answers2/answer74.html +share/doc/inform/answers2/answer75.html +share/doc/inform/answers2/answer76.html +share/doc/inform/answers2/answer77.html +share/doc/inform/answers2/answer78.html +share/doc/inform/answers2/answer79.html +share/doc/inform/answers2/answer80.html +share/doc/inform/answers2/answer81.html +share/doc/inform/answers2/answer82.html +share/doc/inform/answers2/answer83.html +share/doc/inform/answers2/answer84.html +share/doc/inform/answers2/answer85.html +share/doc/inform/answers2/answer86.html +share/doc/inform/answers2/answer87.html +share/doc/inform/answers2/answer88.html +share/doc/inform/answers2/answer89.html +share/doc/inform/answers2/answer90.html +share/doc/inform/answers2/answer91.html +share/doc/inform/answers2/answer92.html +share/doc/inform/answers2/answer93.html +share/doc/inform/answers2/answer94.html +share/doc/inform/answers2/answer95.html +share/doc/inform/answers2/answer96.html +share/doc/inform/answers2/answer51.html +share/doc/inform/chapter2.html +share/doc/inform/chapter3.html +share/doc/inform/chapter4.html +share/doc/inform/chapter5.html +share/doc/inform/chapter6.html +share/doc/inform/chapterA.html +share/doc/inform/contents.html +share/doc/inform/index.html +share/doc/inform/icons/ddbend.gif +share/doc/inform/icons/dddbend.gif +share/doc/inform/icons/dexercise.gif +share/doc/inform/icons/exercise.gif +share/doc/inform/icons/refs.gif +share/doc/inform/icons/warning.gif +share/doc/inform/icons/dbend.gif +share/doc/inform/icons/ddexercise.gif +share/doc/inform/intro.html +share/doc/inform/section1.html +share/doc/inform/section11.html +share/doc/inform/section12.html +share/doc/inform/section14.html +share/doc/inform/section15.html +share/doc/inform/section17.html +share/doc/inform/section18.html +share/doc/inform/section2.html +share/doc/inform/section20.html +share/doc/inform/section21.html +share/doc/inform/section23.html +share/doc/inform/section24.html +share/doc/inform/section26.html +share/doc/inform/section27.html +share/doc/inform/section29.html +share/doc/inform/section3.html +share/doc/inform/section30.html +share/doc/inform/section32.html +share/doc/inform/section33.html +share/doc/inform/section4.html +share/doc/inform/section5.html +share/doc/inform/section6.html +share/doc/inform/section7.html +share/doc/inform/section8.html +share/doc/inform/section9.html +share/doc/inform/sectionA10.html +share/doc/inform/sectionA11.html +share/doc/inform/sectionA2.html +share/doc/inform/sectionA3.html +share/doc/inform/sectionA5.html +share/doc/inform/sectionA6.html +share/doc/inform/sectionA8.html +share/doc/inform/sectionA9.html +share/doc/inform/chapter1.html +share/doc/inform/section10.html +share/doc/inform/section13.html +share/doc/inform/section16.html +share/doc/inform/section19.html +share/doc/inform/section22.html +share/doc/inform/section25.html +share/doc/inform/section28.html +share/doc/inform/section31.html +share/doc/inform/sectionA1.html +share/doc/inform/sectionA12.html +share/doc/inform/sectionA4.html +share/doc/inform/sectionA7.html +@dirrm share/inform +@dirrm share/doc/inform/answers1 +@dirrm share/doc/inform/answers2 +@dirrm share/doc/inform/icons +@dirrm share/doc/inform |