FreeBSD Bugzilla – Attachment 36202 Details for
Bug 58132
Update port: misc/tkman to tkman 2.2 and Tcl / Tk 8.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 9.28 KB, created by
Klaus Robert Suetterlin
on 2003-10-16 16:30:10 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Klaus Robert Suetterlin
Created:
2003-10-16 16:30:10 UTC
Size:
9.28 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># tkman.new ># tkman.new/files ># tkman.new/files/310.index_manpages ># tkman.new/files/patch-aa ># tkman.new/files/patch-ab ># tkman.new/Makefile ># tkman.new/distinfo ># tkman.new/pkg-descr ># tkman.new/pkg-plist ># >echo c - tkman.new >mkdir -p tkman.new > /dev/null 2>&1 >echo c - tkman.new/files >mkdir -p tkman.new/files > /dev/null 2>&1 >echo x - tkman.new/files/310.index_manpages >sed 's/^X//' >tkman.new/files/310.index_manpages << 'END-of-tkman.new/files/310.index_manpages' >X#!/bin/sh >X >Xif ! PREFIX=$(expr $0 : "\(/.*\)/etc/periodic/weekly/$(basename $0)\$"); then >X echo "$0: Cannot determine the PREFIX" >&2 >X exit 1 >Xfi >X >XIFS=":" mandirs=`/usr/bin/manpath` >X >Xfor dir in ${mandirs}; do >X cd ${dir} >X if [ ! -r .glimpse_filters ] ; then >X echo '*.gz /usr/bin/gzip -cdfq' > .glimpse_filters >X fi >X if [ -x ${PREFIX}/bin/glimpseindex ]; then >X echo "" >X echo "Rebuilding man page indexes:" >X ${PREFIX}/bin/glimpseindex -z -o -B -f -H ${dir} man* >X chmod 644 ${dir}/.glimpse_* >X fi >Xdone >X >Xexit 0 >END-of-tkman.new/files/310.index_manpages >echo x - tkman.new/files/patch-aa >sed 's/^X//' >tkman.new/files/patch-aa << 'END-of-tkman.new/files/patch-aa' >X--- Makefile.orig Thu Oct 16 15:53:22 2003 >X+++ Makefile Thu Oct 16 16:11:11 2003 >X@@ -25,14 +25,16 @@ >X >X ### you need to localize the paths on these lines >X >X-WISH = /usr/local/bin/wish8.4 >X+#WISH = /usr/local/bin/wish8.4 >X #WISH = /usr/sww/tcl-8.4/bin/wish >X #WISH = /private/share/bin/wish8.4 >X+WISH = ${LOCALBASE}/bin/wish8.4 >X >X # the executable `tkman' is placed in BINDIR >X # this should be a directory that's in your bin PATH >X-BINDIR = /usr/local/bin >X+#BINDIR = /usr/local/bin >X #BINDIR = /private/share/bin >X+BINDIR = ${PREFIX}/bin >X >X >X # OPTIONAL FEATURES >X@@ -42,13 +44,14 @@ >X # This directory should not have any Texinfo source itself. >X # More information is given in manual.html >X # if you don't have Texinfo files, leave this variable empty >X-texinfodir = "" >X+#texinfodir = "" >X #texinfodir = /home/orodruin/h/bair/phelps/spine/tkman/info >X #texinfodir = /usr/local/info >X+texinfodir = ${PREFIX}/info >X # In order to search within Texinfo files you need a grep, such as GNU grep 2.1, >X # that can report byte offsets (with the -b switch). This needs to be >X # gzgrep if you'll be searching in compressed Texinfo source. >X-gzgrep = "" >X+#gzgrep = "" >X #gzgrep = "gzgrep -E" >X #gzgrep = "gzgrep -Ew" >X # Linux calls it zgrep >X@@ -57,6 +60,7 @@ >X #gzgrep = grep >X # if you don't compress your Texinfo source, this is fine >X #gzgrep = grep >X+gzgrep = "/usr/bin/zgrep -E" >X >X # OPTIONAL >X # directory root of hierarchy of RFC files, with "rfc-index.txt" at the root >X@@ -80,10 +84,12 @@ >X # will examine for matches if a search in the usual locations fails while searching >X # for a man pages and displaying its associated binaries (if any). >X # Use this feature carefully as a large number of directories can slow down startup. >X-mastermen = "/usr/man /usr/local/man" >X+#mastermen = "/usr/man /usr/local/man" >X #mastermen = "/usr/man /usr/local/man /usr/sww/man /usr/share/man /usr/kerberos/man" >X-masterbin = "/usr/bin /usr/local/bin" >X+mastermen = "/usr/share/man ${PREFIX}/man ${X11BASE}/man" >X+#masterbin = "/usr/bin /usr/local/bin" >X #masterbin = "/usr/bin /usr/local/bin /usr/sww/bin /usr/sww/share/bin /usr/sww/share/X11R5/bin" >X+masterbin = "/usr/bin ${PREFIX}/bin ${X11BASE}/bin" >X >X >X # names of common printers, in addition to default printer (PRINTER or LPDEST) >X@@ -113,7 +119,7 @@ >X # Lines are cached in .../man/cat<n>@<line-length>; >X # that is, the line length is appended to the usual cache directory names >X #manformat = {groff -te -Tascii -man /tmp/ll -} >X-manformat = {groff -te -Tlatin1 -man /tmp/ll -} >X+#manformat = {groff -te -Tlatin1 -man /tmp/ll -} >X # Ultrix users should uncomment the following line (you don't have eqn) >X #manformat = {tbl | nroff -man } >X # HP-UX uses a number of macros that groff doesn't define, so use the builtin nroff >X@@ -122,6 +128,7 @@ >X #manformat = {tbl | neqn | nroff -man } >X # BSD macros (.Sh, .Ss, .PP, ...) need -mandoc >X #manformat = {groff -Tascii -te -mandoc} >X+manformat = {groff -Tlatin1 -te -mandoc} >X # BSDI >X #manformat = {tbl | eqn -Tascii | nroff -man } >X # It's actually legal to leave this empty if all the pages you'll ever >X@@ -166,13 +173,14 @@ >X >X # pick a printing pipeline for which your platform has all the constituants >X #manprint = {groff -man -Tps -te -l} >X+manprint = {groff -mandoc -Tps -te -l} >X # alternatives >X #manprint = {groff -man -Tps -te -l | psnup -n2} >X #manprint = {tbl | eqn | troff -man -t | lpr -t} >X #manprint = {tbl | eqn | psroff -man} >X #manprint = {tbl | eqn | gtroff -Tpsc | psdit | lpr} >X # use an empty pipeline if you're environmentally conscious or have no printer >X-manprint = "" >X+#manprint = "" >X # printing string for preformatted pages without [tn]roff source >X #catprint = lpr >X #catprint = "lpr -h" >X@@ -460,7 +468,7 @@ >X chmod +rx $(BINDIR)/tkman >X $(CP) retkman $(BINDIR) >X chmod +rx $(BINDIR)/retkman >X- @echo 'You also need RosettaMan to run TkMan.' >X+# @echo 'You also need RosettaMan to run TkMan.' >X >X test: dox tkman >X cp tkman $(BINDIR) >END-of-tkman.new/files/patch-aa >echo x - tkman.new/files/patch-ab >sed 's/^X//' >tkman.new/files/patch-ab << 'END-of-tkman.new/files/patch-ab' >X--- tkmandesc.tcl.orig Thu Oct 16 16:11:45 2003 >X+++ tkmandesc.tcl Thu Oct 16 16:13:35 2003 >X@@ -224,8 +224,9 @@ >X set mani(manTitleList) $man(manTitleList) >X >X if {![info exists env(MANPATH)] || [string trim $env(MANPATH)] eq ""} { >X- puts stderr "You must set a MANPATH environment variable,\nwhich is a colon-separated list of directories in which\nto find man pages, for example /usr/man:/usr/share/man.\n(See the help page for an explanation of why\nalternatives to the MANPATH are a bad thing.)" >X- exit 1 >X+# puts stderr "You must set a MANPATH environment variable,\nwhich is a colon-separated list of directories in which\nto find man pages, for example /usr/man:/usr/share/man.\n(See the help page for an explanation of why\nalternatives to the MANPATH are a bad thing.)" >X+# exit 1 >X+ set env(MANPATH) [join $manx(mastermen) ":"] >X } >X set manx(MANPATH0) $env(MANPATH) >X >END-of-tkman.new/files/patch-ab >echo x - tkman.new/Makefile >sed 's/^X//' >tkman.new/Makefile << 'END-of-tkman.new/Makefile' >X# New ports collection makefile for: tkman >X# Date created: 27 Dec 1994 >X# Whom: Thomas Gellekum <tg@FreeBSD.org> >X# >X# $FreeBSD: ports/misc/tkman/Makefile,v 1.45 2003/03/07 06:07:17 ade Exp $ >X# >X >XPORTNAME= tkman >XPORTVERSION= 2.2 >XCATEGORIES= misc tk84 >XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} >XMASTER_SITE_SUBDIR= ${PORTNAME} >X >XMAINTAINER= tg@FreeBSD.org >XCOMMENT= A Tcl/Tk based manual browser >X >XLIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84 >XRUN_DEPENDS= rman:${PORTSDIR}/textproc/rman \ >X glimpse:${PORTSDIR}/textproc/glimpse >X >XUSE_GMAKE= yes >X >Xpost-patch: >X ${PERL} -pi -e "s;/usr/local/bin/wish;${LOCALBASE}/bin/wish8.4;" \ >X ${WRKSRC}/contrib/tkmanclient >X >Xpost-install: >X.if !defined(NOPORTDOCS) >X @${MKDIR} ${PREFIX}/share/doc/tkman >X ${INSTALL_DATA} ${WRKSRC}/manual.html ${PREFIX}/share/doc/tkman >X.endif >X ${INSTALL_SCRIPT} ${WRKSRC}/contrib/tkmanclient ${PREFIX}/bin >X @${MKDIR} ${PREFIX}/etc/periodic/weekly >X ${INSTALL_SCRIPT} ${FILESDIR}/310.index_manpages ${PREFIX}/etc/periodic/weekly >X >X.include <bsd.port.mk> >END-of-tkman.new/Makefile >echo x - tkman.new/distinfo >sed 's/^X//' >tkman.new/distinfo << 'END-of-tkman.new/distinfo' >XMD5 (tkman-2.2.tar.gz) = 0e81735c93ab2500d6105ff33095c3e8 >END-of-tkman.new/distinfo >echo x - tkman.new/pkg-descr >sed 's/^X//' >tkman.new/pkg-descr << 'END-of-tkman.new/pkg-descr' >XA manual page reader, TkMan offers two major advantages over xman: >Xhypertext links to other man pages (click on a word in the text which >Xcorresponds to a man page, and you jump there), and better navigation >Xwithin long man pages with searches (both incremental and regular >Xexpression) and jumps to section headers. TkMan also offers some >Xconvenience features, like a user-configurable list of commonly used man >Xpages, a one-click printout, and integration of `whatis' and `apropos'. >XFurther, one may highlight, as if with a yellow marker, arbitrary passages >Xof text in man pages and subsequently jump directly to these passages by >Xselecting an identifying excerpt from a pulldown menu. Finally, TkMan >Xgives one control over the directory-to-menu volume mapping of man pages >Xwith a capability similar to but superior to xman's mandesc in that rather >Xthan forcing all who share a man directory to follow a single organization, >XTkMan gives control to the individual. In fact, one may decide he has no >Xuse for a large set of man pages--say for instance the programmer routines >Xin volumes 2, 3, 4, 8--and eliminate them from his personal database. >X >XWWW: http://tkman.sourceforge.net/ >END-of-tkman.new/pkg-descr >echo x - tkman.new/pkg-plist >sed 's/^X//' >tkman.new/pkg-plist << 'END-of-tkman.new/pkg-plist' >Xbin/tkman >Xbin/tkmanclient >Xbin/retkman >Xetc/periodic/weekly/310.index_manpages >Xshare/doc/tkman/manual.html >X@dirrm share/doc/tkman >X@dirrm etc/periodic/weekly >X@dirrm etc/periodic >END-of-tkman.new/pkg-plist >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 58132
: 36202