pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/tads Initial import of tads 3.0.5, a compiler an...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1b50150de103
branches:  trunk
changeset: 462598:1b50150de103
user:      dillo <dillo%pkgsrc.org@localhost>
date:      Sun Oct 05 22:09:58 2003 +0000

description:
Initial import of tads 3.0.5, a compiler and interpreter for
interactive fiction.

diffstat:

 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(+), 0 deletions(-)

diffs (truncated from 343 to 300 lines):

diff -r 252c1344cd2b -r 1b50150de103 games/tads/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/tads/DESCR  Sun Oct 05 22:09:58 2003 +0000
@@ -0,0 +1,2 @@
+Compiler and Interpreter for TADS (Text Adventure Development System),
+version 2 and 3.
diff -r 252c1344cd2b -r 1b50150de103 games/tads/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/tads/Makefile       Sun Oct 05 22:09:58 2003 +0000
@@ -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@localhost
+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 -r 252c1344cd2b -r 1b50150de103 games/tads/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/tads/PLIST  Sun Oct 05 22:09:58 2003 +0000
@@ -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 -r 252c1344cd2b -r 1b50150de103 games/tads/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/tads/distinfo       Sun Oct 05 22:09:58 2003 +0000
@@ -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 -r 252c1344cd2b -r 1b50150de103 games/tads/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/tads/patches/patch-aa       Sun Oct 05 22:09:58 2003 +0000
@@ -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 <meherberg@earthlink.n
+ # No testing has been done on pre 1.5 or a.out systems
+ # HAVE_TPARM is set in osunixt.h
+ #
+-#CC=gcc
+-#OPTIMIZE=
+-#UNIXFLAGS=-g -DOSANSI -DUNIX -DHAVE_STRCASECMP
+-#SYSFLAGS= -DOS_SYSTEM_NAME=\""NETBSD"\" -DSYSNAME=\""NetBSD"\" -DSYSPL=\"1\" -DPORTER=\""$(DOUGLAS)"\" -DSYSMAINTAINER=\""NetBSD port maintained by $(DOUGLAS)\n"\"
+-#CFLAGS= $(UNIXFLAGS) $(SYSFLAGS) -DNETBSD
+-#AFLAGS=
+-#OVLFLG=
+-#MACHDEP=
+-#LIBS=-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lncurses
+-#MAKEXEC=touch
++.if ${OPSYS} == "NetBSD"
++CC=gcc
++OPTIMIZE=
++UNIXFLAGS=-g -DOSANSI -DUNIX -DHAVE_STRCASECMP
++SYSFLAGS=-DOS_SYSTEM_NAME=\""NETBSD"\" -DSYSNAME=\""NetBSD"\" -DSYSPL=\"1\" -DPORTER=\""$(DOUGLAS)"\" -DSYSMAINTAINER=\""NetBSD port maintained by $(DOUGLAS)\n"\"
++CFLAGS+=$(UNIXFLAGS) $(SYSFLAGS) -DNETBSD
++AFLAGS=
++OVLFLG=
++MACHDEP=
++LIBS=$(LDFLAGS) -lncurses
++MAKEXEC=touch
++.endif
+ 
+ #
+ # i386+ running DOS/Windows, using DJGPP 2.X
+@@ -374,8 +376,8 @@ TDBOBJS= $(DBGOBJS) osgen.o osunixt.o tp
+ all: tadsr tadsc tdb
+ 
+ install: all
+-      install -d $(BINDIR)
+-      install -s -m755 tadsc tadsr tdb $(BINDIR)
++      #install -d $(BINDIR)
++      ${BSD_INSTALL_PROGRAM} tadsc tadsr tdb $(BINDIR)
+ 
+ tadsr: $(TROBJS)
+       $(CC) $(CFLAGS) $(TROBJS) -o tadsr $(LIBS)
diff -r 252c1344cd2b -r 1b50150de103 games/tads/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/tads/patches/patch-ab       Sun Oct 05 22:09:58 2003 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/10/05 22:09:58 dillo Exp $
+
+--- tads2/osunixt.h.orig       Wed Sep 25 18:43:09 2002
++++ tads2/osunixt.h
+@@ -89,7 +89,7 @@ Tue Nov 22 15:16:10 EST 1994    Dave Bag
+ #define USE_SGTTY
+ #endif
+ 
+-#if !defined(SUN_SPARC_SUNOS) && !defined(SUN3) && !defined(ULTRIX_MIPS) && !defined(LINUX_386) && !defined(NEXT) && !defined(IBM_RT) && !defined(IBM_AIX)
++#if !defined(SUN_SPARC_SUNOS) && !defined(SUN3) && !defined(ULTRIX_MIPS) && !defined(LINUX_386) && !defined(NEXT) && !defined(IBM_RT) && !defined(IBM_AIX) && !defined(__NetBSD__)
+ #define HAVE_TPARM      /* define if this system has the tparm routine */
+ #endif
+ 
diff -r 252c1344cd2b -r 1b50150de103 games/tads/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/tads/patches/patch-ac       Sun Oct 05 22:09:58 2003 +0000
@@ -0,0 +1,79 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/10/05 22:09:58 dillo Exp $
+
+--- tads3/makefile.orig        Sat Sep 28 23:29:18 2002
++++ tads3/makefile
+@@ -14,9 +14,9 @@
+ # Installation points for TADS3. Tailor these to your liking. If you install
+ # manually, DATADIR must match where you actually put the libraries and
+ # resources, or the TADS3 compiler will not be able to find them.
+-PREFIX  = /usr/local
++#PREFIX  = /usr/local
+ BINDIR  = $(PREFIX)/bin
+-DOCDIR  = $(PREFIX)/doc/tads3
++DOCDIR  = $(PREFIX)/share/doc/html/tads3
+ DATADIR = $(PREFIX)/share/tads3
+ LIBDIR  = $(DATADIR)/libraries
+ INCDIR  = $(DATADIR)/includes
+@@ -113,6 +113,25 @@ RESDIR  = $(DATADIR)/resources
+ #DISPLAY_LIB  = -ltermcap
+ 
+ ###########################################################################
++# NetBSD                                                                  #
++# Compiled and tested on NetBSD 1.6                                       #
++# Maintainer:                                                                   #
++#                                                                         #
++# Uncomment -fno-exceptions from CXX_OPTIMIZE if you have a reasonably    #
++# current (> 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



Home | Main Index | Thread Index | Old Index