1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Thomas Gellekum <thomas@ghpc8.ihf.rwth-aachen.de> grants us his tkman

port.  Spasibo, Thomas!
Submitted by:	thomas
This commit is contained in:
Jordan K. Hubbard 1994-12-28 08:55:36 +00:00
parent a0c3f92c96
commit 99d4f2ff96
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=637
5 changed files with 186 additions and 0 deletions

13
misc/tkman/Makefile Normal file
View File

@ -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>

150
misc/tkman/files/patch-aa Normal file
View File

@ -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)

1
misc/tkman/pkg-comment Normal file
View File

@ -0,0 +1 @@
tkman - a Tcl/Tk based manual browser

16
misc/tkman/pkg-descr Normal file
View File

@ -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.

6
misc/tkman/pkg-plist Normal file
View File

@ -0,0 +1,6 @@
@cd /usr/local
@owner bin
@mode 755
bin/tkman
@mode 644
man/man1/tkman.1