summaryrefslogtreecommitdiff
path: root/x11/tkman/patches/patch-aa
blob: 2fce23580a52bfbe57bd88f378f84ea1a12b6a94 (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
40
41
42
43
44
45
$NetBSD: patch-aa,v 1.3 1998/08/07 11:18:20 agc Exp $

--- Makefile.orig	Tue Nov  4 22:22:25 1997
+++ Makefile	Sun Nov 23 17:50:26 1997
@@ -43,13 +43,15 @@
 ### you need to localize the paths on these lines
 
 #WISH = /usr/sww/tcl-8.0/bin/wish
-WISH = /private/share/bin/wish
+#WISH = /private/share/bin/wish
 #WISH = /usr/local/bin/wish8.0
+WISH = ${PREFIX}/bin/wish8.0
 
 # the executable `tkman' is placed in BINDIR
 # this should be a directory that's in your bin PATH
-BINDIR = /private/share/bin
+#BINDIR = /private/share/bin
 #BINDIR = /usr/local/bin
+BINDIR = ${PREFIX}/bin
 
 
 # OPTIONAL
@@ -118,7 +120,7 @@
 # lines are cached in .../man/cat<n>@<line-length>; 
 #   that is, the line length is appended to the usual cache directory names
 #manformat = {groff -te -Tascii -man /tmp/ll - 2>/dev/null}
-manformat = {groff -te -Tlatin1 -man /tmp/ll - 2>/dev/null}
+manformat = {groff -te -Tlatin1 -man /tmp/ll${PREFIX} - 2>/dev/null}
 # Ultrix users should uncomment the following line (you don't have eqn)
 #manformat = {tbl | nroff -man }
 # BSD macros (.Sh, .Ss, .PP, ...) call for -mandoc
@@ -241,11 +243,12 @@
 # default MANPATH to use if user doesn't have a MANPATH environment variable set.
 # Leave this empty to have TkMan calculate a MANPATH based on a users PATH
 # (like Perl man does).
-manpathdef = ""
+#manpathdef = ""
 #manpathdef = /usr/man:/usr/local/man
 #manpathdef = /usr/man:/usr/local/man:/usr/sww/man:/usr/sww/X11/man
 # for SGI
 #manpathdef = /usr/share/catman:/usr/share/man:/usr/catman:/usr/man
+manpathdef = /usr/share/man:${PREFIX}/man:/usr/X11R6/man:/usr/local/man
 
 
 # If a new user--as indicated by the lack of a ~/.tkman file--runs TkMan,