summaryrefslogtreecommitdiff
path: root/x11/tkman
diff options
context:
space:
mode:
authorhubertf <hubertf>1997-10-11 21:53:59 +0000
committerhubertf <hubertf>1997-10-11 21:53:59 +0000
commitf5ee8e2561694e498edddcfba4a7f15ea35e3c17 (patch)
treecd1e0be6347cb17aeb9201b0ecc45b0286c98b53 /x11/tkman
parentef17a602de1210761f4ecdc6eea0e872eae46423 (diff)
downloadpkgsrc-f5ee8e2561694e498edddcfba4a7f15ea35e3c17.tar.gz
Import as of 09/25/97
Diffstat (limited to 'x11/tkman')
-rw-r--r--x11/tkman/Makefile23
-rw-r--r--x11/tkman/files/md51
-rw-r--r--x11/tkman/patches/patch-aa80
-rw-r--r--x11/tkman/patches/patch-ab11
-rw-r--r--x11/tkman/pkg/COMMENT1
-rw-r--r--x11/tkman/pkg/DESCR16
-rw-r--r--x11/tkman/pkg/PLIST2
7 files changed, 134 insertions, 0 deletions
diff --git a/x11/tkman/Makefile b/x11/tkman/Makefile
new file mode 100644
index 00000000000..d6f04f1a6e0
--- /dev/null
+++ b/x11/tkman/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: tkman
+# Version required: 1.8
+# Date created: 27 Dec 1994
+# Whom: thomas Gellekum <tg@freebsd.org>
+#
+# $Id: Makefile,v 1.1.1.1 1997/10/11 21:55:04 hubertf Exp $
+#
+
+DISTNAME= tkman-1.8
+CATEGORIES= misc tk41
+MASTER_SITES= ftp://ftp.cs.berkeley.edu/ucb/people/phelps/tcltk/old/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= tg@freebsd.org
+
+LIB_DEPENDS= tk41\\.1\\.:${PORTSDIR}/x11/tk41
+RUN_DEPENDS= rman:${PORTSDIR}/textproc/rman \
+ glimpse:${PORTSDIR}/textproc/glimpse
+
+NO_CDROM= "Don't sell for profit"
+MAN1= tkman.1
+
+.include <bsd.port.mk>
diff --git a/x11/tkman/files/md5 b/x11/tkman/files/md5
new file mode 100644
index 00000000000..b7bb42d4211
--- /dev/null
+++ b/x11/tkman/files/md5
@@ -0,0 +1 @@
+MD5 (tkman-1.8.tar.Z) = 91d08d3bfe5518c1f23505c400ddeb2c
diff --git a/x11/tkman/patches/patch-aa b/x11/tkman/patches/patch-aa
new file mode 100644
index 00000000000..2b83542a57a
--- /dev/null
+++ b/x11/tkman/patches/patch-aa
@@ -0,0 +1,80 @@
+--- Makefile.orig Wed Aug 14 21:51:18 1996
++++ Makefile Sat Oct 19 17:02:21 1996
+@@ -47,22 +47,22 @@
+
+ ### you need to localize the paths on these lines
+
+-WISH = /usr/sww/tcl-7.5/bin/wish
+-#WISH = /home/orodruin/h/bair/phelps/bin/sun4/wish4.2
+-#WISH = /usr/local/bin/wish
++#WISH = /usr/sww/tcl-7.5/bin/wish
++#WISH = /home/orodruin/h/bair/phelps/bin/sun4/wish4.2
++WISH = ${PREFIX}/bin/wish4.1
+
+
+ # the executable `tkman' is placed in BINDIR
+ # this should be a directory that's in your bin PATH
+-BINDIR = /home/orodruin/h/bair/phelps/bin
+-#BINDIR = /usr/local/bin
++#BINDIR = /home/orodruin/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/orodruin/h/bair/phelps/man/man1
++#MANDIR = /home/orodruin/h/bair/phelps/man/man1
+ #MANDIR = /usr/sww/X11/man/man1
+-#MANDIR = /usr/local/man/man1
++MANDIR = ${PREFIX}/man/man1
+
+
+ # list of common printers, in addition to default printer (PRINTER or LPDEST)
+@@ -74,12 +74,12 @@
+
+ # # # MACHINE DEPENDENCIES # # #
+
+-manformat = {tbl | neqn | nroff -man }
++#manformat = {tbl | neqn | nroff -man }
+ # col performs the line overlays implied by reverse line-feeds,
+ # but seems to kill international characters, such as u-with-umlaut
+ #manformat = {tbl | neqn | nroff -man | col }
+ # alternatives
+-#manformat = {groff -Tascii -te -mandoc}
++manformat = {groff -Tascii -te -mandoc}
+ # Ultrix users should uncomment the following line
+ #manformat = {tbl | nroff -man }
+ # for BSDI
+@@ -159,12 +159,12 @@
+ # (Even if your pages aren't compressed, this speeds up searching dramatically,
+ # which is why it's the default.)
+ # If you choose this option, also set glimpseindex to use -o or -b.
+-glimpse = "glimpse -N"
++#glimpse = "glimpse -N"
+ # IF YOU DON'T WANT TO BOTHER WITH GLIMPSE, you can disable it here
+ # ALSO DISABLE GLIMPSEINDEX BELOW
+ #glimpse = ""
+ # if you have any compressed pages (and aren't using -N), use the -z option
+-#glimpse = "glimpse -z"
++glimpse = "glimpse -z"
+ # give the full path, if you'd like
+ #glimpse = /usr/sww/bin/glimpse
+ # variations (refer to the Glimpse manual page)
+@@ -209,7 +209,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
+@@ -373,7 +373,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)
diff --git a/x11/tkman/patches/patch-ab b/x11/tkman/patches/patch-ab
new file mode 100644
index 00000000000..38a7fa02bfc
--- /dev/null
+++ b/x11/tkman/patches/patch-ab
@@ -0,0 +1,11 @@
+--- tkman.tcl.orig Mon Nov 11 21:18:41 1996
++++ tkman.tcl Thu Nov 14 20:07:27 1996
+@@ -5018,7 +5018,7 @@
+ # ... then check for proper versions of selected executables
+ if {[set info [lassoc $manx(bin-versioned) $tail]]!=""} {
+ lset $info flag minvers
+- set execerr [catch {set lines [exec $fullpath $flag < /dev/null]} info]
++ set execerr [catch {set lines [exec $fullpath $flag < /dev/null 2> /dev/null]} info]
+ } elseif {[string match "g*" $tail]} {
+ # could be a GNU -- maybe take this out since it lengthens startup for all in exchange for small benefit for few
+ set minvers 0.0
diff --git a/x11/tkman/pkg/COMMENT b/x11/tkman/pkg/COMMENT
new file mode 100644
index 00000000000..6c55dd8496d
--- /dev/null
+++ b/x11/tkman/pkg/COMMENT
@@ -0,0 +1 @@
+A Tcl/Tk based manual browser
diff --git a/x11/tkman/pkg/DESCR b/x11/tkman/pkg/DESCR
new file mode 100644
index 00000000000..4f5192f5d2a
--- /dev/null
+++ b/x11/tkman/pkg/DESCR
@@ -0,0 +1,16 @@
+A manual page reader, TkMan offers two major advantages over xman:
+hypertext links to other man pages (click on a word in the text which
+corresponds to a man page, and you jump there), and better navigation
+within long man pages with searches (both incremental and regular
+expression) and jumps to section headers. TkMan also offers some
+convenience features, like a user-configurable list of commonly used man
+pages, a one-click printout, and integration of `whatis' and `apropos'.
+Further, one may highlight, as if with a yellow marker, arbitrary passages
+of text in man pages and subsequently jump directly to these passages by
+selecting an identifying excerpt from a pulldown menu. Finally, TkMan
+gives one control over the directory-to-menu volume mapping of man pages
+with a capability similar to but superior to xman's mandesc in that rather
+than forcing all who share a man directory to follow a single organization,
+TkMan gives control to the individual. In fact, one may decide he has no
+use for a large set of man pages--say for instance the programmer routines
+in volumes 2, 3, 4, 8--and eliminate them from his personal database.
diff --git a/x11/tkman/pkg/PLIST b/x11/tkman/pkg/PLIST
new file mode 100644
index 00000000000..73d49160842
--- /dev/null
+++ b/x11/tkman/pkg/PLIST
@@ -0,0 +1,2 @@
+bin/tkman
+man/man1/tkman.1.gz