summaryrefslogtreecommitdiff
path: root/comms/tkhylafax/files/patch-aa
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1997-06-08 11:23:36 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1997-06-08 11:23:36 +0000
commita57abb68af0b60bb8eec0d13ec7e678eaeb42f0f (patch)
tree130963875e0e91a02ca957ca04d71cbe240732b0 /comms/tkhylafax/files/patch-aa
parentDiablo isn't written in perl; I am therefore not the MAINTAINTER. (diff)
Added new port tkhylafax which is a tcl/tk frontend to Sam Lefflers
hylafax package. Packaging tested.
Diffstat (limited to 'comms/tkhylafax/files/patch-aa')
-rw-r--r--comms/tkhylafax/files/patch-aa46
1 files changed, 46 insertions, 0 deletions
diff --git a/comms/tkhylafax/files/patch-aa b/comms/tkhylafax/files/patch-aa
new file mode 100644
index 000000000000..269edad06a01
--- /dev/null
+++ b/comms/tkhylafax/files/patch-aa
@@ -0,0 +1,46 @@
+--- 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
+
+ # The full path to tclsh
+-TCLSH = /usr/local/bin/tclsh
++TCLSH = tclsh7.6
+
+ # The full path to wish.
+-WISH = /usr/local/bin/wish
++WISH = wish4.2
+ ### DON'T EDIT ANYTHING BELOW THIS LINE ###
+
+ TCLLIB_FILES = \
+@@ -40,7 +40,9 @@
+ TCLPRG_FILE = tkhylafax
+ TCLMAN_FILE = tkhylafax
+
+-all: lib install.man tkhylafax
++all:
++
++install: lib install.man tkhylafax.inst
+ 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: