summaryrefslogtreecommitdiff
path: root/misc/tkman/files/patch-aa
blob: d6959959bc1136adddf6f3f6b286223588cbc3ec (plain) (blame)
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
--- Makefile.orig	Sat Nov  4 00:22:29 1995
+++ Makefile	Wed Jan 17 14:04:28 1996
@@ -40,28 +40,28 @@
 ### you need to localize the paths on these lines
 
 # Tk's wish MUST be compiled with Tcl 7.4/Tk 4.0 or later versions
-WISH = /usr/sww/tcl-7.4/bin/wish-4.0
+#WISH = /usr/sww/tcl-7.4/bin/wish-4.0
 #WISH = wish
-#WISH = /usr/local/bin/wish
+WISH = ${PREFIX}/bin/wish4.0
 
 # the executable `tkman' is placed in BINDIR
 # this should be a directory that's in your bin PATH
-BINDIR = /home/auspex/h/bair/phelps/bin
-#BINDIR = /usr/local/bin
+#BINDIR = /home/auspex/h/bair/phelps/bin
+BINDIR = ${PREFIX}/bin
 
 # directory in which to place the manual page.  The help information
 # is maintained in HTML, from which the [tn]roff version is 
 # automatically generated.
-MANDIR = /home/auspex/h/bair/phelps/man/man1
+#MANDIR = /home/auspex/h/bair/phelps/man/man1
 #MANDIR = /usr/sww/X11/man/man1
-#MANDIR = /usr/local/man/man1
+MANDIR = ${PREFIX}/man/man1
 
 
 # # # MACHINE DEPENDENCIES # # #
 
-manformat = {tbl | neqn | nroff -man | col}
+#manformat = {tbl | neqn | nroff -man | col}
 # alternatively
-#manformat = {groff -Tascii -te -mandoc}
+manformat = {groff -Tascii -te -mandoc}
 # Ultrix users should uncomment the following line
 #manformat = {tbl | nroff -man | col}
 # for BSDI
@@ -127,12 +127,12 @@
 # so how can you lose?
 
 # BY DEFAULT ON
-glimpse = glimpse
+#glimpse = glimpse
 # IF YOU DON'T WANT TO BOTHER WITH GLIMPSE, you can disable it here
 # ALSO DISABLE GLIMPSEINDEX BELOW
 #glimpse = ""
 # give the full path, if you'd like
-#glimpse = /usr/sww/bin/glimpse
+glimpse = ${PREFIX}/bin/glimpse
 # variations (refer to the Glimpse manual page)
 #glimpse = "glimpse -k"
 #glimpse = "glimpse -B"
@@ -157,13 +157,13 @@
 # (`-debug' option), obtain the problemmatic glimpseindex command,
 # and make sure it works when executed by hand.
 
-glimpseindex = glimpseindex
+#glimpseindex = glimpseindex
 # IF YOU DON'T WANT TO BOTHER WITH GLIMPSE, DISABLE IT HERE *ALSO*
 #glimpseindex = ""
 # produce a larger index ("7-9%" of source text) allowing faster search w/"-o"
 # Need -o or -b if using -N above.
 #glimpseindex = "glimpseindex -o"
-#glimpseindex = /usr/sww/bin/glimpseindex
+glimpseindex = "${PREFIX}/bin/glimpseindex -o"
 
 # directory in which to place stray man directories added with manDescAdd
 # that don't correspond to a directory in MANPATH
@@ -177,7 +177,7 @@
 # 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 = /usr/share/man:${PREFIX}/man:/usr/X11R6/man
 #manpathdef = /usr/man:/usr/local/man
 #manpathdef = /usr/man:/usr/local/man:/usr/sww/man:/usr/sww/X11/man
 # for SGI
@@ -230,13 +230,13 @@
 
 # if you don't want to RosettaMan (rman) in your PATH, make the name fully qualified
 # (that's probably a good idea if tkman is installed on a central server)
-rman = rman
+rman = ${PREFIX}/bin/rman
 #rman = /home/orodruin/h/bair/phelps/bin/alpha/rman
 
-manprint = {tbl | eqn | troff -man -t | lpr -t}
+#manprint = {tbl | eqn | troff -man -t | lpr -t}
 # alternatives
 #manprint = {tbl | eqn | psroff -man}
-#manprint = {groff -man -Tps -te -l}
+manprint = {groff -man -Tps -te -l}
 #manprint = {groff -man -Tascii -te -l}
 # printing string for preformatted pages without [tn]roff source
 catprint = lpr
@@ -342,7 +342,7 @@
 	$(CP) tkman $(BINDIR)
 	chmod +rx $(BINDIR)/tkman
 	$(CP) tkman.1 $(MANDIR)
-	@echo 'You also need RosettaMan to run TkMan.'
+#	@echo 'You also need RosettaMan to run TkMan.'
 
 test: dox tkman
 	cp tkman $(BINDIR)