summaryrefslogtreecommitdiff
path: root/games/tads/patches
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2005-03-22 20:02:11 +0000
committerdillo <dillo@pkgsrc.org>2005-03-22 20:02:11 +0000
commit90516c33017a904c1b2e92acca6302e7daebcddd (patch)
tree140786cb1556f26098122cdcedb063fa06fc3d2a /games/tads/patches
parent85ad1b5c2d3a8735dbe33f3c807ac748e17f37d8 (diff)
downloadpkgsrc-90516c33017a904c1b2e92acca6302e7daebcddd.tar.gz
update to 3.0.8:
- fix crash when displaying banner in newer TADS 3 games - fix screen redraw before waiting for event - install TADS 2 library files - add t3res (TADS 3 resource compiler) - add mkchrtab (TADS 3 character table generator)
Diffstat (limited to 'games/tads/patches')
-rw-r--r--games/tads/patches/patch-aa27
-rw-r--r--games/tads/patches/patch-ac74
2 files changed, 60 insertions, 41 deletions
diff --git a/games/tads/patches/patch-aa b/games/tads/patches/patch-aa
index 67a80e727d6..5ec275f6334 100644
--- a/games/tads/patches/patch-aa
+++ b/games/tads/patches/patch-aa
@@ -1,17 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2004/10/08 23:14:38 mycroft Exp $
+$NetBSD: patch-aa,v 1.3 2005/03/22 20:02:11 dillo Exp $
---- tads2/Makefile.orig Wed Sep 25 18:43:09 2002
+--- tads2/Makefile.orig 2004-11-05 14:34:49.000000000 +0100
+++ 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
+@@ -278,16 +278,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
#
@@ -40,14 +31,22 @@ $NetBSD: patch-aa,v 1.2 2004/10/08 23:14:38 mycroft Exp $
#
# i386+ running DOS/Windows, using DJGPP 2.X
-@@ -374,8 +376,8 @@ TDBOBJS= $(DBGOBJS) osgen.o osunixt.o tp
+@@ -382,10 +384,14 @@ TDBOBJS= $(DBGOBJS) osgen.o osunixt.o tp
all: tadsr tadsc tdb
install: all
- install -d $(BINDIR)
+- install -d $(DATADIR)
- install -s -m755 tadsc tadsr tdb $(BINDIR)
+- install -m644 adv.t std.t gameinfo.t $(DATADIR)
+ #install -d $(BINDIR)
-+ ${BSD_INSTALL_PROGRAM} tadsc tadsr tdb $(BINDIR)
++ ${BSD_INSTALL_DATA_DIR} $(DATADIR)
++ ${BSD_INSTALL_PROGRAM} tadsc $(BINDIR)
++ ${BSD_INSTALL_PROGRAM} tadsr $(BINDIR)
++ ${BSD_INSTALL_PROGRAM} tdb $(BINDIR)
++ ${BSD_INSTALL_DATA} adv.t $(DATADIR)
++ ${BSD_INSTALL_DATA} std.t $(DATADIR)
++ ${BSD_INSTALL_DATA} gameinfo.t $(DATADIR)
tadsr: $(TROBJS)
$(CC) $(CFLAGS) $(TROBJS) -o tadsr $(LIBS)
diff --git a/games/tads/patches/patch-ac b/games/tads/patches/patch-ac
index 0afc1ca1136..245b9e05a82 100644
--- a/games/tads/patches/patch-ac
+++ b/games/tads/patches/patch-ac
@@ -1,7 +1,7 @@
-$NetBSD: patch-ac,v 1.2 2004/10/08 23:14:38 mycroft Exp $
+$NetBSD: patch-ac,v 1.3 2005/03/22 20:02:11 dillo Exp $
---- tads3/Makefile.orig 2004-07-13 19:43:38.000000000 +0000
-+++ tads3/Makefile 2004-09-23 22:26:02.000000000 +0000
+--- tads3/Makefile.orig 2005-03-05 11:44:48.000000000 +0100
++++ 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
@@ -14,7 +14,7 @@ $NetBSD: patch-ac,v 1.2 2004/10/08 23:14:38 mycroft Exp $
DATADIR = $(PREFIX)/share/tads3
LIBDIR = $(DATADIR)/libraries
INCDIR = $(DATADIR)/includes
-@@ -113,6 +113,25 @@
+@@ -117,6 +117,25 @@ RESDIR = $(DATADIR)/resources
#DISPLAY_LIB = -ltermcap
###########################################################################
@@ -40,40 +40,60 @@ $NetBSD: patch-ac,v 1.2 2004/10/08 23:14:38 mycroft Exp $
# OpenBSD
# Compiled and tested on OpenBSD 3.0
# Maintainer: Mark Wickham (macwickham@attbi.com)
-@@ -208,21 +227,27 @@
- all: t3make t3run t23run t3pre
+@@ -216,18 +235,47 @@ MKCHRTAB_OBJS = mkchrtab.o $(T2_DIR)/osu
+ all: t3make t3run t23run t3pre t3res mkchrtab
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 -s -m755 t3make t3run t23run t3res mkchrtab $(BINDIR)
++ ${BSD_INSTALL_PROGRAM} t3make $(BINDIR)
++ ${BSD_INSTALL_PROGRAM} t3run $(BINDIR)
++ ${BSD_INSTALL_PROGRAM} t23run $(BINDIR)
++ ${BSD_INSTALL_PROGRAM} t3res $(BINDIR)
++ ${BSD_INSTALL_PROGRAM} mkchrtab $(BINDIR)
install-common: all
- install -d $(BINDIR)
- install -d $(DOCDIR)
- install -d $(DATADIR)
++ ${BSD_INSTALL_DATA_DIR} $(DOCDIR)
++ ${BSD_INSTALL_DATA_DIR} $(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)
+- -chown -fR root.root $(INCDIR) $(LIBDIR) $(RESDIR) $(DOCDIR)
++ ${BSD_INSTALL_DATA_DIR} ${INCDIR}
++ for f in t3include/*; \
++ do \
++ ${BSD_INSTALL_DATA} $$f ${INCDIR}; \
++ done
++ ${BSD_INSTALL_DATA_DIR} ${LIBDIR}
++ ${BSD_INSTALL_DATA_DIR} ${LIBDIR}/adv3
++ ${BSD_INSTALL_DATA_DIR} ${LIBDIR}/adv3/en_us
++ for f in t3library/*.*; \
++ do \
++ ${BSD_INSTALL_DATA} $$f ${LIBDIR}; \
++ done
++ for f in t3library/adv3/*.*; \
++ do \
++ ${BSD_INSTALL_DATA} $$f ${LIBDIR}/adv3; \
++ done
++ for f in t3library/adv3/en_us/*.*; \
++ do \
++ ${BSD_INSTALL_DATA} $$f ${LIBDIR}/adv3/en_us; \
++ done
++ ${BSD_INSTALL_DATA_DIR} ${RESDIR}
++ ${BSD_INSTALL_DATA_DIR} ${RESDIR}/charmap
++ for f in t3resource/charmap/*; \
++ do \
++ ${BSD_INSTALL_DATA} $$f ${RESDIR}/charmap; \
++ done
++ ${BSD_INSTALL_DATA_DIR} ${DOCDIR}
++ for f in doc/*; \
++ do \
++ ${BSD_INSTALL_DATA} $$f ${DOCDIR}; \
++ done
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
+ rm -f *.o t3make t3run t23run t3pre t3res mkchrtab 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