From f53d664e0033171d7a7b0ba643fc18299a08cdb9 Mon Sep 17 00:00:00 2001 From: dillo Date: Sun, 5 Oct 2003 22:09:58 +0000 Subject: Initial import of tads 3.0.5, a compiler and interpreter for interactive fiction. --- games/tads/DESCR | 2 + games/tads/Makefile | 23 ++++++++ games/tads/PLIST | 138 ++++++++++++++++++++++++++++++++++++++++++++ games/tads/distinfo | 7 +++ games/tads/patches/patch-aa | 53 +++++++++++++++++ games/tads/patches/patch-ab | 13 +++++ games/tads/patches/patch-ac | 79 +++++++++++++++++++++++++ 7 files changed, 315 insertions(+) create mode 100644 games/tads/DESCR create mode 100644 games/tads/Makefile create mode 100644 games/tads/PLIST create mode 100644 games/tads/distinfo create mode 100644 games/tads/patches/patch-aa create mode 100644 games/tads/patches/patch-ab create mode 100644 games/tads/patches/patch-ac (limited to 'games/tads') diff --git a/games/tads/DESCR b/games/tads/DESCR new file mode 100644 index 00000000000..7778561c5f8 --- /dev/null +++ b/games/tads/DESCR @@ -0,0 +1,2 @@ +Compiler and Interpreter for TADS (Text Adventure Development System), +version 2 and 3. diff --git a/games/tads/Makefile b/games/tads/Makefile new file mode 100644 index 00000000000..ad3c7469867 --- /dev/null +++ b/games/tads/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/10/05 22:09:58 dillo Exp $ +# + +DISTNAME= tads23-unix +PKGNAME= tads-3.0.5 +WRKSRC= ${WRKDIR}/tads +CATEGORIES= games +MASTER_SITES= http://www.ifarchive.org/if-archive/programming/tads2/source/ + +MAINTAINER= dillo@giga.or.at +HOMEPAGE= http://www.ifarchive.org/if-archive/programming/tads2/source/ +COMMENT= TADS compiler and interpreter + +# for other OSs, enable appropriate Makefile sections +ONLY_FOR_PLATFORM= NetBSD-*-* + +USE_BUILDLINK2= yes +NO_CONFIGURE= yes +BUILD_DIRS= ${WRKSRC}/tads2 ${WRKSRC}/tads3 +MAKEFILE= makefile + +.include "../../devel/ncurses/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/games/tads/PLIST b/games/tads/PLIST new file mode 100644 index 00000000000..c50717ab8cb --- /dev/null +++ b/games/tads/PLIST @@ -0,0 +1,138 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/10/05 22:09:58 dillo Exp $ +bin/t23run +bin/t3make +bin/t3run +bin/tadsc +bin/tadsr +bin/tdb +share/doc/html/tads3/changes.htm +share/doc/html/tads3/changes_lib.htm +share/doc/html/tads3/index.htm +share/doc/html/tads3/lib_cont.htm +share/doc/html/tads3/t3BigNum.htm +share/doc/html/tads3/t3alone.htm +share/doc/html/tads3/t3anonfn.htm +share/doc/html/tads3/t3apiorg.htm +share/doc/html/tads3/t3banner.htm +share/doc/html/tads3/t3build.htm +share/doc/html/tads3/t3bytarr.htm +share/doc/html/tads3/t3chars.htm +share/doc/html/tads3/t3cmap.htm +share/doc/html/tads3/t3coll.htm +share/doc/html/tads3/t3cont.gif +share/doc/html/tads3/t3cset.htm +share/doc/html/tads3/t3dict.htm +share/doc/html/tads3/t3dispfn.htm +share/doc/html/tads3/t3dynobj.htm +share/doc/html/tads3/t3enum.htm +share/doc/html/tads3/t3exc.htm +share/doc/html/tads3/t3export.htm +share/doc/html/tads3/t3expr.htm +share/doc/html/tads3/t3fctl.htm +share/doc/html/tads3/t3file.htm +share/doc/html/tads3/t3frame.htm +share/doc/html/tads3/t3gc.htm +share/doc/html/tads3/t3gram.htm +share/doc/html/tads3/t3hello.htm +share/doc/html/tads3/t3icext.htm +share/doc/html/tads3/t3icic.htm +share/doc/html/tads3/t3intcl.htm +share/doc/html/tads3/t3intfn.htm +share/doc/html/tads3/t3intro.htm +share/doc/html/tads3/t3iter.htm +share/doc/html/tads3/t3libpre.htm +share/doc/html/tads3/t3list.htm +share/doc/html/tads3/t3lookup.htm +share/doc/html/tads3/t3naming.htm +share/doc/html/tads3/t3obj.htm +share/doc/html/tads3/t3objcl.htm +share/doc/html/tads3/t3parse.htm +share/doc/html/tads3/t3pp.htm +share/doc/html/tads3/t3refl.htm +share/doc/html/tads3/t3regex.htm +share/doc/html/tads3/t3rexpat.htm +share/doc/html/tads3/t3run.htm +share/doc/html/tads3/t3start.htm +share/doc/html/tads3/t3stm.htm +share/doc/html/tads3/t3str.htm +share/doc/html/tads3/t3strcmp.htm +share/doc/html/tads3/t3t3.htm +share/doc/html/tads3/t3tadsio.htm +share/doc/html/tads3/t3term.htm +share/doc/html/tads3/t3tgen.htm +share/doc/html/tads3/t3tobj.htm +share/doc/html/tads3/t3tok.htm +share/doc/html/tads3/t3trans.htm +share/doc/html/tads3/t3type.htm +share/doc/html/tads3/t3undef.htm +share/doc/html/tads3/t3vector.htm +share/doc/html/tads3/tads3.htm +share/tads3/includes/bignum.h +share/tads3/includes/bytearr.h +share/tads3/includes/charset.h +share/tads3/includes/dict.h +share/tads3/includes/file.h +share/tads3/includes/gramprod.h +share/tads3/includes/lookup.h +share/tads3/includes/reflect.h +share/tads3/includes/strcomp.h +share/tads3/includes/systype.h +share/tads3/includes/t3.h +share/tads3/includes/t3test.h +share/tads3/includes/tads.h +share/tads3/includes/tadsgen.h +share/tads3/includes/tadsio.h +share/tads3/includes/tok.h +share/tads3/includes/vector.h +share/tads3/libraries/_main.t +share/tads3/libraries/adv3/action.t +share/tads3/libraries/adv3/actions.t +share/tads3/libraries/adv3/actor.t +share/tads3/libraries/adv3/adv3.h +share/tads3/libraries/adv3/adv3.tl +share/tads3/libraries/adv3/disambig.t +share/tads3/libraries/adv3/en_us/en_us.h +share/tads3/libraries/adv3/en_us/en_us.t +share/tads3/libraries/adv3/en_us/en_us.tl +share/tads3/libraries/adv3/en_us/instruct.t +share/tads3/libraries/adv3/en_us/msg_neu.t +share/tads3/libraries/adv3/events.t +share/tads3/libraries/adv3/exec.t +share/tads3/libraries/adv3/exits.t +share/tads3/libraries/adv3/extras.t +share/tads3/libraries/adv3/footnote.t +share/tads3/libraries/adv3/input.t +share/tads3/libraries/adv3/lister.t +share/tads3/libraries/adv3/misc.t +share/tads3/libraries/adv3/modid.t +share/tads3/libraries/adv3/numbers.t +share/tads3/libraries/adv3/objects.t +share/tads3/libraries/adv3/output.t +share/tads3/libraries/adv3/parser.t +share/tads3/libraries/adv3/pov.t +share/tads3/libraries/adv3/precond.t +share/tads3/libraries/adv3/report.t +share/tads3/libraries/adv3/resolver.t +share/tads3/libraries/adv3/score.t +share/tads3/libraries/adv3/sense.t +share/tads3/libraries/adv3/status.t +share/tads3/libraries/adv3/thing.t +share/tads3/libraries/adv3/to_do.txt +share/tads3/libraries/adv3/travel.t +share/tads3/libraries/adv3/verify.t +share/tads3/libraries/file.t +share/tads3/libraries/gameinfo.t +share/tads3/libraries/reflect.t +share/tads3/libraries/system.tl +share/tads3/libraries/tok.t +share/tads3/resources/charmap/README.txt +share/tads3/resources/charmap/cmaplib.t3r +share/tads3/resources/charmap/us-ascii.txt +@dirrm share/tads3/resources/charmap +@dirrm share/tads3/resources +@dirrm share/tads3/libraries/adv3/en_us +@dirrm share/tads3/libraries/adv3 +@dirrm share/tads3/libraries +@dirrm share/tads3/includes +@dirrm share/tads3 +@dirrm share/doc/html/tads3 diff --git a/games/tads/distinfo b/games/tads/distinfo new file mode 100644 index 00000000000..b2efa615701 --- /dev/null +++ b/games/tads/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/10/05 22:09:58 dillo Exp $ + +SHA1 (tads23-unix.tar.gz) = 0d462f19087a257257acf5b57cab30eecd3bfb56 +Size (tads23-unix.tar.gz) = 3470301 bytes +SHA1 (patch-aa) = 70e1acb58e7a15e05303e69cb77fa68fa454ce3d +SHA1 (patch-ab) = b8e48ff15ef5fa1834c98a5bcc6df3d732dfe062 +SHA1 (patch-ac) = 43f30f1c1c2c52d3164cb8439b2bb86b5609f0cc diff --git a/games/tads/patches/patch-aa b/games/tads/patches/patch-aa new file mode 100644 index 00000000000..306fb80e809 --- /dev/null +++ b/games/tads/patches/patch-aa @@ -0,0 +1,53 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/10/05 22:09:58 dillo Exp $ + +--- tads2/makefile.orig Wed Sep 25 18:43:09 2002 ++++ tads2/makefile +@@ -50,7 +50,7 @@ + # + + # Install point for the tadsc, tadsr, and tdb executables +-BINDIR=/usr/local/bin ++BINDIR=${PREFIX}/bin + + # + # Places to look for include files. +@@ -270,16 +270,18 @@ MATT=Matt Herberg 2.7) version of g++. # ++########################################################################### ++# ++.if ${OPSYS} == "NetBSD" ++CXX = g++ ++CC = gcc ++IDENT = -DOS_SYSTEM_NAME=\"NetBSD\" ++OPTIMIZE = -O2 ++CXX_OPTIMIZE = -fno-exceptions ++OS_FLAGS = -DOS_ANSI -DHAVE_STRCASECMP -Dmemicmp=strncasecmp ++DISPLAY_LIB = ${LDFLAGS} -lncurses ++.endif ++ ++########################################################################### + # OpenBSD # + # Compiled and tested on OpenBSD 3.0 # + # Maintainer: Mark Wickham (macwickham@attbi.com) # +@@ -208,21 +227,27 @@ T3PRE_OBJS = test_pre.o std.o std_dbg.o + all: t3make t3run t23run t3pre + + install: all install-common +- install -m755 t3make t3run t23run $(BINDIR) ++ ${BSD_INSTALL_PROGRAM} t3make t3run t23run $(BINDIR) + + install-strip: all install-common + install -s -m755 t3make t3run $(BINDIR) + + install-common: all +- install -d $(BINDIR) +- install -d $(DOCDIR) +- install -d $(DATADIR) + rm -rf $(INCDIR) $(LIBDIR) $(RESDIR) $(DOCDIR) +- cp -rp t3include $(INCDIR) +- cp -rp t3library $(LIBDIR) +- cp -rp t3resource $(RESDIR) +- cp -rp doc $(DOCDIR) +- -chown -R root.root $(INCDIR) $(LIBDIR) $(RESDIR) $(DOCDIR) ++ ${BSD_INSTALL_DATA_DIR} $(DOCDIR) ++ ${BSD_INSTALL_DATA_DIR} $(DATADIR) ++ ${BSD_INSTALL_DATA_DIR} $(INCDIR) ++ ${BSD_INSTALL_DATA_DIR} $(LIBDIR) ++ ${BSD_INSTALL_DATA_DIR} $(LIBDIR)/adv3 ++ ${BSD_INSTALL_DATA_DIR} $(LIBDIR)/adv3/en_us ++ ${BSD_INSTALL_DATA_DIR} $(RESDIR) ++ ${BSD_INSTALL_DATA_DIR} $(RESDIR)/charmap ++ ${BSD_INSTALL_DATA} t3include/* $(INCDIR) ++ ${BSD_INSTALL_DATA} t3library/*.* $(LIBDIR) ++ ${BSD_INSTALL_DATA} t3library/adv3/*.* $(LIBDIR)/adv3 ++ ${BSD_INSTALL_DATA} t3library/adv3/en_us/*.* $(LIBDIR)/adv3/en_us ++ ${BSD_INSTALL_DATA} t3resource/charmap/* $(RESDIR)/charmap ++ ${BSD_INSTALL_DATA} doc/* $(DOCDIR) + + clean: + rm -f *.o t3make t3run t23run t3pre test_utf8 test_chr test_pool test_err test_obj test_write test_exec test_gets test_tok test_prs test_sym test_prs_top test_comp_obj test_link test_regex test_sort iter.t3s test.t3v -- cgit v1.2.3