1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/misc/tkman/files/patch-aa

116 lines
4.3 KiB
Plaintext
Raw Normal View History

1998-07-30 11:48:56 +00:00
--- Makefile.orig Mon Jul 13 11:44:32 1998
+++ Makefile Wed Jul 22 16:12:08 1998
@@ -44,14 +44,14 @@
### you need to localize the paths on these lines
1997-08-25 09:46:38 +00:00
#WISH = /usr/sww/tcl-8.0/bin/wish
1997-09-18 06:56:07 +00:00
-WISH = /private/share/bin/wish
+#WISH = /private/share/bin/wish
1998-07-30 11:48:56 +00:00
#WISH = /private/share/bin/wish8.1
-#WISH = /usr/local/bin/wish8.0
1997-08-25 09:46:38 +00:00
+WISH = ${PREFIX}/bin/wish8.0
# the executable `tkman' is placed in BINDIR
# this should be a directory that's in your bin PATH
1997-09-18 06:56:07 +00:00
-BINDIR = /private/share/bin
-#BINDIR = /usr/local/bin
1997-09-18 06:56:07 +00:00
+#BINDIR = /private/share/bin
+BINDIR = ${PREFIX}/bin
1997-08-25 09:46:38 +00:00
# OPTIONAL
1998-07-30 11:48:56 +00:00
@@ -61,19 +61,20 @@
1997-09-18 06:56:07 +00:00
# This directory should not have any Texinfo source itself.
1997-08-25 09:46:38 +00:00
# More information is given in tkman-help.html
# if you don't have Texinfo files, leave this variable empty
-texinfodir = ""
1998-07-30 11:48:56 +00:00
+#texinfodir = ""
1998-01-21 08:39:48 +00:00
#texinfodir = /home/orodruin/h/bair/phelps/spine/tkman/info
1998-07-30 11:48:56 +00:00
-#texinfodir = /usr/local/info
+texinfodir = ${PREFIX}/info
# In order to search within Texinfo files you need a grep, such as GNU grep 2.1,
# that can report byte offsets (with the -b switch). This needs to be
# gzgrep if you'll be searching in compressed Texinfo source.
1998-01-21 08:39:48 +00:00
-gzgrep = ""
1998-07-30 11:48:56 +00:00
+#gzgrep = ""
#gzgrep = "gzgrep -E"
#gzgrep = "gzgrep -Ew"
# Linux calls it zgrep
#gzgrep = "zgrep -E"
# if you don't compress your Texinfo source, this is fine
#gzgrep = grep
+gzgrep = "/usr/bin/zgrep -E"
1998-07-30 11:48:56 +00:00
# OPTIONAL
# directory root of hierarchy of RFC files, with "rfc-index.txt" at the root
@@ -97,10 +98,12 @@
1997-08-25 09:46:38 +00:00
# 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 = "/usr/man /usr/local/man"
#mastermen = "/usr/man /usr/local/man /usr/sww/man /usr/share/man /usr/kerberos/man"
-masterbin = "/usr/bin /usr/local/bin"
1997-11-06 08:01:57 +00:00
+mastermen = "${PREFIX}/man /usr/share/man ${X11BASE}/man"
1997-08-25 09:46:38 +00:00
+#masterbin = "/usr/bin /usr/local/bin"
#masterbin = "/usr/bin /usr/local/bin /usr/sww/bin /usr/sww/share/bin /usr/sww/share/X11R5/bin"
+masterbin = "/usr/bin ${PREFIX}/bin ${X11BASE}/bin"
1996-10-21 06:46:57 +00:00
1997-08-25 09:46:38 +00:00
# names of common printers, in addition to default printer (PRINTER or LPDEST)
1998-07-30 11:48:56 +00:00
@@ -130,7 +133,7 @@
# Lines are cached in .../man/cat<n>@<line-length>;
1997-08-25 09:46:38 +00:00
# that is, the line length is appended to the usual cache directory names
1997-11-06 08:01:57 +00:00
#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 - 2>/dev/null}
1997-08-25 09:46:38 +00:00
# Ultrix users should uncomment the following line (you don't have eqn)
1996-10-21 06:46:57 +00:00
#manformat = {tbl | nroff -man }
1998-07-30 11:48:56 +00:00
# HP-UX uses a number of macros that groff doesn't define, so use the builtin nroff
@@ -138,7 +141,7 @@
# 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
1997-11-06 08:01:57 +00:00
-#manformat = {groff -Tascii -te -mandoc}
+manformat = {groff -Tascii -te -mandoc}
1997-08-25 09:46:38 +00:00
# BSDI
1997-11-06 08:01:57 +00:00
#manformat = {tbl | eqn -Tascii | nroff -man }
1998-07-30 11:48:56 +00:00
@@ -174,7 +177,7 @@
1997-08-25 09:46:38 +00:00
# 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
1998-07-30 11:48:56 +00:00
#manprint = {groff -man -Tps -te -l | psnup -n2}
1997-08-25 09:46:38 +00:00
#manprint = {tbl | eqn | troff -man -t | lpr -t}
1998-07-30 11:48:56 +00:00
@@ -213,7 +216,7 @@
# the right-topmost menu's Rebuild Database/Glimpse Index menu choice.
1997-08-25 09:46:38 +00:00
# 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
1998-07-30 11:48:56 +00:00
@@ -221,6 +224,7 @@
# variations (refer to the Glimpse manual page)
1997-08-25 09:46:38 +00:00
# no characters treated as meta characters:
#glimpse = "glimpse -Wk"
+glimpse = "glimpse -z"
# glimpseindex indexes the manual pages, for each component of one's MANPATH,
# and places the results in a set of files named .glimpse_* in that MANPATH
1998-07-30 11:48:56 +00:00
@@ -468,8 +472,8 @@
chmod +rx $(BINDIR)/tkman
1997-08-25 09:46:38 +00:00
$(CP) retkman $(BINDIR)
chmod +rx $(BINDIR)/retkman
- @echo 'You also need RosettaMan to run TkMan.'
1997-08-25 09:46:38 +00:00
- @echo 'Have you installed the elided text patch to Tk?'
+# @echo 'You also need RosettaMan to run TkMan.'
1997-08-25 09:46:38 +00:00
+# @echo 'Have you installed the elided text patch to Tk?'
test: dox tkman
cp tkman $(BINDIR)