pkgsrc/x11/tkman/patches/patch-aa
1998-08-07 11:08:53 +00:00

45 lines
1.6 KiB
Text

$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,