From 48af0aa596d5f92707ad73b85be2c122cf448821 Mon Sep 17 00:00:00 2001 From: havner Date: Fri, 15 Aug 2003 10:08:57 +0000 Subject: [PATCH] Initial release. Changed files: frotz-DESTDIR.patch -> 1.1 frotz-config.patch -> 1.1 --- frotz-DESTDIR.patch | 50 +++++++++++++++++++++++++++++++++++++++++++++ frotz-config.patch | 40 ++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 frotz-DESTDIR.patch create mode 100644 frotz-config.patch diff --git a/frotz-DESTDIR.patch b/frotz-DESTDIR.patch new file mode 100644 index 0000000..778154c --- /dev/null +++ b/frotz-DESTDIR.patch @@ -0,0 +1,50 @@ +diff -urN /home/users/builder/1orig/frotz-2.43/Makefile frotz-2.43/Makefile +--- /home/users/builder/1orig/frotz-2.43/Makefile Mon Oct 28 02:21:52 2002 ++++ frotz-2.43/Makefile Fri Aug 15 00:25:07 2003 +@@ -7,25 +7,25 @@ + # Define your optimization flags. Most compilers understand -O and -O2, + # Standard (note: Solaris on UltraSparc using gcc 2.8.x might not like this.) + # +-OPTS = -O2 ++OPTS = -O2 -I/usr/include/ncurses + + # Pentium with gcc 2.7.0 or better + #OPTS = -O2 -fomit-frame-pointer -malign-functions=2 -malign-loops=2 \ + #-malign-jumps=2 + + # Define where you want Frotz installed. Usually this is /usr/local +-PREFIX = /usr/local ++PREFIX = /usr + +-MAN_PREFIX = $(PREFIX) ++MAN_PREFIX = $(PREFIX)/share + #MAN_PREFIX = /usr/local/share + +-CONFIG_DIR = $(PREFIX)/etc ++#CONFIG_DIR = $(PREFIX)/etc + #CONFIG_DIR = /etc + + # Define where you want Frotz to look for frotz.conf. + # +-CONFIG_DIR = /usr/local/etc +-#CONFIG_DIR = /etc ++#CONFIG_DIR = /usr/local/etc ++CONFIG_DIR = /etc + #CONFIG_DIR = /usr/pkg/etc + #CONFIG_DIR = + +@@ -214,10 +214,10 @@ + + install: $(NAME) + strip $(BINNAME)$(EXTENSION) +- install -d $(PREFIX)/bin +- install -d $(MAN_PREFIX)/man/man6 +- install -c -m 755 $(BINNAME)$(EXTENSION) $(PREFIX)/bin +- install -c -m 644 doc/$(NAME).6 $(MAN_PREFIX)/man/man6 ++ install -d $(DESTDIR)$(PREFIX)/bin ++ install -d $(DESTDIR)$(MAN_PREFIX)/man/man6 ++ install -c -m 755 $(BINNAME)$(EXTENSION) $(DESTDIR)$(PREFIX)/bin ++ install -c -m 644 doc/$(NAME).6 $(DESTDIR)$(MAN_PREFIX)/man/man6 + + uninstall: + rm -f $(PREFIX)/bin/$(NAME) diff --git a/frotz-config.patch b/frotz-config.patch new file mode 100644 index 0000000..29de0f6 --- /dev/null +++ b/frotz-config.patch @@ -0,0 +1,40 @@ +diff -urN /root/1/frotz-2.43/doc/frotz.conf-big frotz-2.43/doc/frotz.conf-big +--- /root/1/frotz-2.43/doc/frotz.conf-big Sat Oct 28 19:43:07 2000 ++++ frotz-2.43/doc/frotz.conf-big Tue Aug 12 16:11:41 2003 +@@ -16,13 +16,13 @@ + foreground white + + # Set background color (default "blue" if in color mode) +-background blue ++background black + + # Set error-reporting mode (default "once") + errormode once + + # Set path to search for game files (no default) +-zcode_path /usr/local/games/zcode ++zcode_path /usr/share/games/zcode + + # Use plain ASCII only (default "no") + ascii no +@@ -60,16 +60,16 @@ + # Force color mode (default "no") + # Useful for use with supposedly current flavors of Unix that still don't + # understand what the "xterm-color" terminal type is. +-force_color no ++#force_color no + + # Set screen height (default is detected height) +-screen_height 24 ++#screen_height 24 + + # Set screen width (default is detected screen width) +-screen_width 80 ++#screen_width 80 + + # Set script width (default is screen width) +-script_width 80 ++#script_width 80 + + # Set context lines (default "0") + context_lines 0 -- 2.43.0