openbsd-ports/misc/tkman/patches/patch-Makefile
2003-12-27 23:34:42 +00:00

94 lines
3.7 KiB
Plaintext

$OpenBSD: patch-Makefile,v 1.2 2003/12/27 23:38:02 jose Exp $
--- Makefile.orig Thu Jun 22 16:39:42 2000
+++ Makefile Mon Dec 23 01:33:34 2002
@@ -26,14 +26,12 @@ mintk = 8.3
### you need to localize the paths on these lines
#WISH = /usr/sww/tcl-8.3/bin/wish
-WISH = /private/share/bin/wish
#WISH = /private/share/bin/wish8.3
-#WISH = /usr/local/bin/wish8.3
+WISH = /usr/local/bin/wish8.4
# the executable `tkman' is placed in BINDIR
# this should be a directory that's in your bin PATH
-BINDIR = /private/share/bin
-#BINDIR = /usr/local/bin
+BINDIR = /usr/local/bin
# OPTIONAL
@@ -81,9 +79,9 @@ rfcdir = ""
# will examine for matches if a search in the usual locations fails while searching
# for a man pages and displaying its associated binaries (if any).
# Use this feature carefully as a large number of directories can slow down startup.
-mastermen = "/usr/man /usr/local/man"
+mastermen = "${PREFIX}/man /usr/share/man ${X11BASE}/man"
#mastermen = "/usr/man /usr/local/man /usr/sww/man /usr/share/man /usr/kerberos/man"
-masterbin = "/usr/bin /usr/local/bin"
+masterbin = "/usr/bin ${PREFIX}/bin ${X11BASE}/bin"
#masterbin = "/usr/bin /usr/local/bin /usr/sww/bin /usr/sww/share/bin /usr/sww/share/X11R5/bin"
@@ -114,7 +112,7 @@ dpis = "75 100"
# 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 -}
-manformat = {groff -te -Tlatin1 -man /tmp/ll -}
+#manformat = {groff -te -Tlatin1 -man /tmp/ll -}
# Ultrix users should uncomment the following line (you don't have eqn)
#manformat = {tbl | nroff -man }
# HP-UX uses a number of macros that groff doesn't define, so use the builtin nroff
@@ -122,7 +120,7 @@ manformat = {groff -te -Tlatin1 -man /tm
# space between the .de and the macro name, and groff doesn't like this.)
#manformat = {tbl | neqn | nroff -man }
# BSD macros (.Sh, .Ss, .PP, ...) need -mandoc
-#manformat = {groff -Tascii -te -mandoc}
+manformat = {groff -Tascii -te -mandoc}
# BSDI
#manformat = {tbl | eqn -Tascii | nroff -man }
# It's actually legal to leave this empty if all the pages you'll ever
@@ -166,14 +164,14 @@ zlist = {gz z Z}
# pick a printing pipeline for which your platform has all the constituants
-#manprint = {groff -man -Tps -te -l}
+manprint = {groff -mandoc -Tps -te -l}
# alternatives
#manprint = {groff -man -Tps -te -l | psnup -n2}
#manprint = {tbl | eqn | troff -man -t | lpr -t}
#manprint = {tbl | eqn | psroff -man}
#manprint = {tbl | eqn | gtroff -Tpsc | psdit | lpr}
# use an empty pipeline if you're environmentally conscious or have no printer
-manprint = ""
+#manprint = ""
# printing string for preformatted pages without [tn]roff source
#catprint = lpr
#catprint = "lpr -h"
@@ -202,7 +200,7 @@ shortnames = 0
# the right-topmost menu's Rebuild Database/Glimpse Index menu choice.
# BY DEFAULT ON (Boolean scope set to entire file)
-glimpse = "glimpse -W"
+#glimpse = "glimpse -W"
# IF YOU DON'T WANT TO BOTHER WITH GLIMPSE, you can disable it here
#glimpse = ""
# give the full path, if you'd like
@@ -210,6 +208,7 @@ glimpse = "glimpse -W"
# variations (refer to the Glimpse manual page)
# no characters treated as meta characters:
#glimpse = "glimpse -Wk"
+glimpse = "glimpse -z"
# compressed manual pages are handled automatically; don't add -z to above
# glimpseindex indexes the manual pages, for each component of one's MANPATH,
@@ -462,7 +461,7 @@ install: tkman retkman
chmod +rx $(BINDIR)/tkman
$(CP) retkman $(BINDIR)
chmod +rx $(BINDIR)/retkman
- @echo 'You also need RosettaMan to run TkMan.'
+ #@echo 'You also need RosettaMan to run TkMan.'
test: dox tkman
cp tkman $(BINDIR)