summaryrefslogtreecommitdiff
path: root/comms/tkhylafax/patches/patch-aa
blob: b688416372f0288a4e3abe1b10e7e4171934e802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
$NetBSD: patch-aa,v 1.3 2000/08/31 23:21:44 jwise 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}/share/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 = ${LOCALBASE}/bin/tclsh
 
 # The full path to wish.
-WISH = /usr/local/bin/wish
+WISH = ${LOCALBASE}/bin/wish
 ### DON'T EDIT ANYTHING BELOW THIS LINE ###
 
 TCLLIB_FILES =  \
@@ -41,7 +41,9 @@
 TCLPRG_FILE = tkhylafax
 TCLMAN_FILE = tkhylafax
 
-all: lib install.man tkhylafax
+all:
+
+install: lib install.man tkhylafax
 	echo 'auto_mkindex $(TCLLIB_DEST) *.tcl *.t' | $(TCLSH);
 
 $(TCLLIB_DEST):