summaryrefslogtreecommitdiff
path: root/comms/tkhylafax/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'comms/tkhylafax/patches/patch-aa')
-rw-r--r--comms/tkhylafax/patches/patch-aa49
1 files changed, 21 insertions, 28 deletions
diff --git a/comms/tkhylafax/patches/patch-aa b/comms/tkhylafax/patches/patch-aa
index 269edad06a0..8e159bb0aa8 100644
--- a/comms/tkhylafax/patches/patch-aa
+++ b/comms/tkhylafax/patches/patch-aa
@@ -1,46 +1,39 @@
---- Makefile.orig Sun Dec 29 19:26:39 1996
-+++ Makefile Sun Jun 8 13:06:59 1997
-@@ -14,10 +14,10 @@
- TCLMAN_DEST = /usr/local/man/man1
+$NetBSD: patch-aa,v 1.2 1999/08/11 06:21:29 rh Exp $
+--- Makefile.orig Sun Jan 4 23:47:29 1998
++++ Makefile Tue Dec 29 18:38:29 1998
+@@ -5,19 +5,19 @@
+
+ ### EDIT THE NEXT FIVE LINES ONLY ###
+ # The directory where the tkhylafax library will be installed
+-TCLLIB_DEST = /usr/local/lib/tkhylafax-3.1
++TCLLIB_DEST = ${PREFIX}/lib/tkhylafax-3.1
+
+ # The directory where the tkhylafax command will be installed
+-TCLPRG_DEST = /usr/local/bin
++TCLPRG_DEST = ${PREFIX}/bin
+
+ # The directory where the man page will be installed
+-TCLMAN_DEST = /usr/local/man/man1
++TCLMAN_DEST = ${PREFIX}/man/man1
# The full path to tclsh
-TCLSH = /usr/local/bin/tclsh
-+TCLSH = tclsh7.6
++TCLSH = tclsh8.0
# The full path to wish.
-WISH = /usr/local/bin/wish
-+WISH = wish4.2
++WISH = wish8.0
### DON'T EDIT ANYTHING BELOW THIS LINE ###
TCLLIB_FILES = \
-@@ -40,7 +40,9 @@
+@@ -41,7 +41,9 @@
TCLPRG_FILE = tkhylafax
TCLMAN_FILE = tkhylafax
-all: lib install.man tkhylafax
+all:
+
-+install: lib install.man tkhylafax.inst
++install: lib install.man tkhylafax
echo 'auto_mkindex $(TCLLIB_DEST) *.tcl *.t' | $(TCLSH);
$(TCLLIB_DEST):
-@@ -59,16 +61,15 @@
- if [ ! -d $(TCLPRG_DEST) ]; then mkdir -p $(TCLPRG_DEST); fi
- chmod 775 $(TCLPRG_DEST)
-
--tkhylafax: $(TCLPRG_DEST)
-+tkhylafax.inst: $(TCLPRG_DEST)
- @echo "Patching tkhylafax..."
- mv tkhylafax tkhylafax.unpatched
- sed -e 's|XXX_TKHYLAFAX_XXX|$(TCLLIB_DEST)|g' \
- tkhylafax.unpatched > tkhylafax
- @echo "Done"
- @echo "Installing tkhylafax command..."
-- cp $(TCLPRG_FILE) $(TCLPRG_DEST)/$@
-- chmod 775 $(TCLPRG_DEST)/$@
-- mv tkhylafax.unpatched tkhylafax
-+ cp $(TCLPRG_FILE) $(TCLPRG_DEST)/tkhylafax
-+ chmod 775 $(TCLPRG_DEST)/tkhylafax
- @echo "Done"
-
- install.man: