summaryrefslogtreecommitdiff
path: root/comms/tkhylafax/patches/patch-aa
blob: 64497bb201965fe78dc3f1fc66d67bd6635d0f1d (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.4 2010/01/29 16:39:49 joerg 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 = ${DESTDIR}${PREFIX}/share/tkhylafax-3.1
 
 # The directory where the tkhylafax command will be installed
-TCLPRG_DEST = /usr/local/bin
+TCLPRG_DEST = ${DESTDIR}${PREFIX}/bin
 
 # The directory where the man page will be installed
-TCLMAN_DEST = /usr/local/man/man1
+TCLMAN_DEST = ${DESTDIR}${PREFIX}/${PKGMANDIR}/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):