summaryrefslogtreecommitdiff
path: root/x11/tkman/patches
diff options
context:
space:
mode:
authorfrueauf <frueauf>1998-12-03 13:09:11 +0000
committerfrueauf <frueauf>1998-12-03 13:09:11 +0000
commit5a12d28f512d45ece1b9319e94cf26d23152740b (patch)
treeb682565cda33941b8b602b6dc45f8aefe6143e63 /x11/tkman/patches
parent4d78e22c96cc9558333dc1834b3f811f807c8aaa (diff)
downloadpkgsrc-5a12d28f512d45ece1b9319e94cf26d23152740b.tar.gz
Update tkman to 2.1b2, provided in pr 6509 by Johnny C. Lam.
This version significantly improves Texinfo support: * full text searching includes Texinfo, RFC, and other text files * intrapage searching for Texinfo shows all matches (vs other info viewers) * fast Texinfo display (high quality on-the-fly formatting from Texinfo source) * yellow-marker highlights available on Texinfo * command name searches can match Texinfo names and (optionally) prefer them,
Diffstat (limited to 'x11/tkman/patches')
-rw-r--r--x11/tkman/patches/patch-aa50
1 files changed, 38 insertions, 12 deletions
diff --git a/x11/tkman/patches/patch-aa b/x11/tkman/patches/patch-aa
index f940e3bb081..203737ccbde 100644
--- a/x11/tkman/patches/patch-aa
+++ b/x11/tkman/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.4 1998/09/08 14:55:22 agc Exp $
+$NetBSD: patch-aa,v 1.5 1998/12/03 13:09:12 frueauf Exp $
---- Makefile.orig Mon Jul 13 10:44:32 1998
-+++ Makefile Tue Sep 8 15:43:10 1998
-@@ -44,14 +44,16 @@
+--- Makefile.orig Sat Nov 21 01:21:26 1998
++++ Makefile Sun Nov 29 05:26:12 1998
+@@ -41,14 +41,16 @@
### you need to localize the paths on these lines
#WISH = /usr/sww/tcl-8.0/bin/wish
@@ -10,18 +10,18 @@ $NetBSD: patch-aa,v 1.4 1998/09/08 14:55:22 agc Exp $
+#WISH = /private/share/bin/wish
#WISH = /private/share/bin/wish8.1
#WISH = /usr/local/bin/wish8.0
-+WISH= ${PREFIX}/bin/wish8.0
++WISH = ${LOCALBASE}/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
++BINDIR = ${PREFIX}/bin
# OPTIONAL
-@@ -97,10 +99,12 @@
+@@ -94,11 +96,26 @@
# 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.
@@ -29,14 +29,29 @@ $NetBSD: patch-aa,v 1.4 1998/09/08 14:55:22 agc Exp $
+#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"
-+mastermen = "/usr/share/man ${PREFIX}/man /usr/X11R6/man /usr/local/man"
-+#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 = "/bin /sbin /usr/bin /usr/sbin ${PREFIX}/bin ${PREFIX}/sbin /usr/local/bin"
+-#masterbin = "/usr/bin /usr/local/bin /usr/sww/bin /usr/sww/share/bin /usr/sww/share/X11R5/bin"
++mastermen = /usr/share/man ${LOCALBASE}/man ${X11BASE}/man
++.if (${PREFIX} != ${LOCALBASE}) && (${PREFIX} != ${X11BASE})
++mastermen += ${PREFIX}/man
++.endif
++.if (${PREFIX} != "/usr/local")
++mastermen += /usr/local/man
++.endif
++#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 = /bin /sbin /usr/bin /usr/sbin
++masterbin += ${LOCALBASE}/bin ${LOCALBASE}/sbin ${X11BASE}/bin
++.if (${PREFIX} != ${LOCALBASE}) && (${PREFIX} != ${X11BASE})
++masterbin += ${PREFIX}/bin
++.endif
++.if (${PREFIX} != "/usr/local")
++masterbin += /usr/local/bin /usr/local/sbin
++.endif
# names of common printers, in addition to default printer (PRINTER or LPDEST)
-@@ -130,7 +134,7 @@
+ # (individual users can edit this list in the Preferences panel)
+@@ -127,7 +144,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}
@@ -45,3 +60,14 @@ $NetBSD: patch-aa,v 1.4 1998/09/08 14:55:22 agc Exp $
# 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
+@@ -359,8 +376,8 @@
+ echo 'set manx(mintk) $(mintk)' >> tkman
+ echo 'set manx(newuser) $(newuser)' >> tkman
+ echo 'set manx(dirnameindex) $(dirnameindex)' >> tkman
+- echo 'set manx(mastermen) $(mastermen)' >> tkman
+- echo 'set manx(masterbin) $(masterbin)' >> tkman
++ echo 'set manx(mastermen) "$(mastermen)"' >> tkman
++ echo 'set manx(masterbin) "$(masterbin)"' >> tkman
+ echo 'set man(zcat) $(zcat)' >> tkman
+ echo 'set man(compress) $(compress)' >> tkman
+ echo 'set man(apropos) $(apropos)' >> tkman