diff options
author | dillo <dillo@pkgsrc.org> | 2003-10-05 22:09:58 +0000 |
---|---|---|
committer | dillo <dillo@pkgsrc.org> | 2003-10-05 22:09:58 +0000 |
commit | f53d664e0033171d7a7b0ba643fc18299a08cdb9 (patch) | |
tree | 8d80c250321b0437b0dfb30ebd52bd90ed9ca236 /games/tads/patches | |
parent | ace63ac599ac74d602078b06d2f4b1aca82f4c1e (diff) | |
download | pkgsrc-f53d664e0033171d7a7b0ba643fc18299a08cdb9.tar.gz |
Initial import of tads 3.0.5, a compiler and interpreter for
interactive fiction.
Diffstat (limited to 'games/tads/patches')
-rw-r--r-- | games/tads/patches/patch-aa | 53 | ||||
-rw-r--r-- | games/tads/patches/patch-ab | 13 | ||||
-rw-r--r-- | games/tads/patches/patch-ac | 79 |
3 files changed, 145 insertions, 0 deletions
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 <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 --git a/games/tads/patches/patch-ab b/games/tads/patches/patch-ab new file mode 100644 index 00000000000..6014cde763e --- /dev/null +++ b/games/tads/patches/patch-ab @@ -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 --git a/games/tads/patches/patch-ac b/games/tads/patches/patch-ac new file mode 100644 index 00000000000..943c57eecca --- /dev/null +++ b/games/tads/patches/patch-ac @@ -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 ++.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 |