diff options
-rw-r--r-- | misc/tkman/Makefile | 13 | ||||
-rw-r--r-- | misc/tkman/files/patch-aa | 150 | ||||
-rw-r--r-- | misc/tkman/pkg-comment | 1 | ||||
-rw-r--r-- | misc/tkman/pkg-descr | 16 | ||||
-rw-r--r-- | misc/tkman/pkg-plist | 6 |
5 files changed, 186 insertions, 0 deletions
diff --git a/misc/tkman/Makefile b/misc/tkman/Makefile new file mode 100644 index 000000000000..d47d844e82b3 --- /dev/null +++ b/misc/tkman/Makefile @@ -0,0 +1,13 @@ +# New ports collection makefile for: tkman +# Version required: 1.6 +# Date created: 27 Dec 1994 +# Whom: thomas@ghpc8.ihf.rwth-aachen.de +# + +DISTNAME= tkman +MASTER_SITES= ftp://ftp.cs.berkeley.edu/ucb/people/phelps/tcltk/ +DEPENDS= ${PORTSDIR}/x11/tk ${PORTSDIR}/utils/rman +EXTRACT_SUFX= .tar.Z +WRKSRC= ${WRKDIR}/tkman-1.6 + +.include <bsd.port.mk> diff --git a/misc/tkman/files/patch-aa b/misc/tkman/files/patch-aa new file mode 100644 index 000000000000..2a2775c7cbe7 --- /dev/null +++ b/misc/tkman/files/patch-aa @@ -0,0 +1,150 @@ +*** Makefile.orig Thu Dec 22 23:11:08 1994 +--- Makefile Tue Dec 27 16:42:02 1994 +*************** +*** 36,58 **** + # (pathname should be less than 25 or so characters) + # 1 2 |if name meets or passes vertical bar, + # 1234567890123456789012345|the wish path is too long +! WISH = /usr/sww/X11/bin/wish + + # the executable `tkman' is placed in BINDIR + # this should be a directory that's in your bin PATH +! BINDIR = /home/auspex/h/bair/phelps/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 using RosettaMan. +! MANDIR = /home/auspex/h/bair/phelps/man/man1 + + + # # # MACHINE DEPENDENCIES # # # + +! manformat = {tbl | neqn | nroff -man | col} + # alternatively +! #manformat = {groff -Tascii -te -mandoc} + # Ultrix users should uncomment the following line + #manformat = {tbl | nroff -man | col} + +--- 36,58 ---- + # (pathname should be less than 25 or so characters) + # 1 2 |if name meets or passes vertical bar, + # 1234567890123456789012345|the wish path is too long +! WISH = /usr/local/bin/wish + + # the executable `tkman' is placed in BINDIR + # this should be a directory that's in your bin PATH +! BINDIR = /usr/local/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 using RosettaMan. +! MANDIR = /usr/local/man/man1 + + + # # # MACHINE DEPENDENCIES # # # + +! #manformat = {tbl | neqn | nroff -man | col} + # alternatively +! manformat = {groff -Tascii -te -mandoc} + # Ultrix users should uncomment the following line + #manformat = {tbl | nroff -man | col} + +*************** +*** 111,119 **** + # so how can you lose? + + # by default on +! glimpse = glimpse + # IF YOU DON'T WANT TO BOTHER WITH GLIMPSE, you can disable it +! #glimpse = "" + # give the full path, if you'd like + #glimpse = /usr/sww/bin/glimpse + # variations (refer to the Glimpse manual page) +--- 111,119 ---- + # so how can you lose? + + # by default on +! #glimpse = glimpse + # IF YOU DON'T WANT TO BOTHER WITH GLIMPSE, you can disable it +! glimpse = "" + # give the full path, if you'd like + #glimpse = /usr/sww/bin/glimpse + # variations (refer to the Glimpse manual page) +*************** +*** 163,169 **** + # (`-debug' option), obtain the problemmatic glimpseindex command, + # and make sure it works when executed by hand. + +! glimpseindex = glimpseindex + # IF YOU DON'T WANT TO BOTHER WITH GLIMPSE, DISABLE IT HERE *ALSO* + #glimpseindex = "" + # produce a larger index (6-9% of source text) allowing faster search w/"-o" +--- 163,169 ---- + # (`-debug' option), obtain the problemmatic glimpseindex command, + # and make sure it works when executed by hand. + +! #glimpseindex = glimpseindex + # IF YOU DON'T WANT TO BOTHER WITH GLIMPSE, DISABLE IT HERE *ALSO* + #glimpseindex = "" + # produce a larger index (6-9% of source text) allowing faster search w/"-o" +*************** +*** 180,186 **** + + # default MANPATH to use if user doesn't have + # a MANPATH environment variable set +! manpathdef = /usr/man:/usr/local/man + #manpathdef = /usr/man:/usr/local/man:/usr/sww/man:/usr/sww/X11/man + + +--- 180,186 ---- + + # default MANPATH to use if user doesn't have + # a MANPATH environment variable set +! manpathdef = /usr/share/man:/usr/local/man + #manpathdef = /usr/man:/usr/local/man:/usr/sww/man:/usr/sww/X11/man + + +*************** +*** 216,227 **** + + # if you don't want to RosettaMan (rman) in your PATH, make the name fully qualified + # (that's probably a good idea if tkman is installed on a central server) +! rman = rman + #rman = /home/orodruin/h/bair/phelps/bin/alpha/rman + +! manprint = {tbl | eqn | troff -man} + # alternatives +! #manprint = {groff -man -Tps -te} + #manprint = {tbl | eqn | psroff -man} + #manprint = {groff -Tascii -te} + # printing string for preformatted pages without [tn]roff source +--- 216,227 ---- + + # if you don't want to RosettaMan (rman) in your PATH, make the name fully qualified + # (that's probably a good idea if tkman is installed on a central server) +! rman = /usr/local/bin/rman + #rman = /home/orodruin/h/bair/phelps/bin/alpha/rman + +! #manprint = {tbl | eqn | troff -man} + # alternatives +! manprint = {groff -man -Tps -te} + #manprint = {tbl | eqn | psroff -man} + #manprint = {groff -Tascii -te} + # printing string for preformatted pages without [tn]roff source +*************** +*** 322,328 **** + $(CP) tkman $(BINDIR) + chmod +x $(BINDIR)/tkman + $(CP) tkman.1 $(MANDIR) +! @echo 'You also need RosettaMan to run TkMan.' + + test: dox tkman + cp tkman $(BINDIR) +--- 322,328 ---- + $(CP) tkman $(BINDIR) + chmod +x $(BINDIR)/tkman + $(CP) tkman.1 $(MANDIR) +! # @echo 'You also need RosettaMan to run TkMan.' + + test: dox tkman + cp tkman $(BINDIR) diff --git a/misc/tkman/pkg-comment b/misc/tkman/pkg-comment new file mode 100644 index 000000000000..84af216e1e7f --- /dev/null +++ b/misc/tkman/pkg-comment @@ -0,0 +1 @@ +tkman - a Tcl/Tk based manual browser diff --git a/misc/tkman/pkg-descr b/misc/tkman/pkg-descr new file mode 100644 index 000000000000..4f5192f5d2a8 --- /dev/null +++ b/misc/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/misc/tkman/pkg-plist b/misc/tkman/pkg-plist new file mode 100644 index 000000000000..4525f55a641c --- /dev/null +++ b/misc/tkman/pkg-plist @@ -0,0 +1,6 @@ +@cd /usr/local +@owner bin +@mode 755 +bin/tkman +@mode 644 +man/man1/tkman.1 |