diff options
-rw-r--r-- | app-text/tkman/ChangeLog | 12 | ||||
-rw-r--r-- | app-text/tkman/files/digest-tkman-2.1-r1 | 1 | ||||
-rw-r--r-- | app-text/tkman/files/tkman-2.1-r1-gentoo.diff | 68 | ||||
-rw-r--r-- | app-text/tkman/tkman-2.1-r1.ebuild | 30 |
4 files changed, 108 insertions, 3 deletions
diff --git a/app-text/tkman/ChangeLog b/app-text/tkman/ChangeLog index 3eae389e996b..05b7bf6ec4d2 100644 --- a/app-text/tkman/ChangeLog +++ b/app-text/tkman/ChangeLog @@ -1,11 +1,17 @@ # ChangeLog for app-text/tkman # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/tkman/ChangeLog,v 1.7 2003/02/12 05:35:31 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/tkman/ChangeLog,v 1.8 2003/04/23 17:15:56 utx Exp $ + +*tkman-2.1-r1 (23 Apr 2003) + + 23 Apr 2003; Stanislav Brabec <utx@gentoo.org> tkman-2.1-r1.ebuild, + files/tkman-2.1-r1-gentoo.diff: + Use wish, not wish8.3, to work with both tcl/tk 8.3 and 8.4 (bug #19553). - 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords - *tkman-2.1.ebuild (23 Nov 2002) + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + 23 Nov 2002; Sascha Schwabbauer <cybersystem@gentoo.org> tkman-2.1.ebuild : Added ~ppc to keywords. diff --git a/app-text/tkman/files/digest-tkman-2.1-r1 b/app-text/tkman/files/digest-tkman-2.1-r1 new file mode 100644 index 000000000000..f6996764f9fb --- /dev/null +++ b/app-text/tkman/files/digest-tkman-2.1-r1 @@ -0,0 +1 @@ +MD5 c9ecaacf83a30f36ed0995ba51fdd33f tkman.tar.gz 224735 diff --git a/app-text/tkman/files/tkman-2.1-r1-gentoo.diff b/app-text/tkman/files/tkman-2.1-r1-gentoo.diff new file mode 100644 index 000000000000..73dc3e090b76 --- /dev/null +++ b/app-text/tkman/files/tkman-2.1-r1-gentoo.diff @@ -0,0 +1,68 @@ +--- tkman-2.1/Makefile Thu Jun 22 15:39:42 2000 ++++ tkman-2.1-gentoo/Makefile Wed Apr 23 13:56:20 2003 +@@ -26,14 +26,16 @@ + ### you need to localize the paths on these lines + + #WISH = /usr/sww/tcl-8.3/bin/wish +-WISH = /private/share/bin/wish ++#WISH = /private/share/bin/wish + #WISH = /private/share/bin/wish8.3 + #WISH = /usr/local/bin/wish8.3 ++WISH = /usr/bin/wish + + # 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 = ${DESTDIR}/usr/bin + + + # OPTIONAL +@@ -81,7 +83,7 @@ + # 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. +-mastermen = "/usr/man /usr/local/man" ++mastermen = "/usr/share/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" + #masterbin = "/usr/bin /usr/local/bin /usr/sww/bin /usr/sww/share/bin /usr/sww/share/X11R5/bin" +@@ -202,9 +204,9 @@ + # the right-topmost menu's Rebuild Database/Glimpse Index menu choice. + + # BY DEFAULT ON (Boolean scope set to entire file) +-glimpse = "glimpse -W" ++#glimpse = "glimpse -W" + # IF YOU DON'T WANT TO BOTHER WITH GLIMPSE, you can disable it here +-#glimpse = "" ++glimpse = "" + # give the full path, if you'd like + #glimpse = /usr/sww/bin/glimpse + # variations (refer to the Glimpse manual page) +@@ -229,11 +231,11 @@ + #glimpseindex = "glimpseindex -o -B" + # To shorten most index build times by incrementally building index when possible. + # For me, this drops indexing time from ~25 minutes to ~3 minutes, depending +-glimpseindex = "glimpseindex -o -B -f" ++#glimpseindex = "glimpseindex -o -B -f" + # -M 8 gives 8MB of main memory instead of default 2, which speeds up indexing, maybe + #glimpseindex = "glimpseindex -o -B -f -M 8" + # if you don't want give the power to index, disable glimpseindex here +-#glimpseindex = "" ++glimpseindex = "" + #glimpseindex = "/usr/sww/bin/glimpseindex -o -B" + # compressed manual pages are handled automatically; don't add -z to above + +@@ -290,9 +292,9 @@ + rman = rman + #rman = /private/phelps/bin/rman + +-apropos = {man -k} ++#apropos = {man -k} + # Linux uses a shell script instead: +-#apropos = apropos ++apropos = apropos + # if don't have apropos (maybe on Windoze) + #apropos = "" + diff --git a/app-text/tkman/tkman-2.1-r1.ebuild b/app-text/tkman/tkman-2.1-r1.ebuild new file mode 100644 index 000000000000..d239cc95d87a --- /dev/null +++ b/app-text/tkman/tkman-2.1-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/tkman/tkman-2.1-r1.ebuild,v 1.1 2003/04/23 17:15:56 utx Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="TkMan man and info page browser" +SRC_URI="http://tkman.sourceforge.net/${PN}.tar.gz" +HOMEPAGE="http://tkman.sourceforge.net/" +KEYWORDS="x86 ~ppc sparc " +SLOT="0" +LICENSE="Artistic" + +DEPEND=">=app-text/rman-3.0.9 + >=dev-lang/tcl-8.3.3 + >=dev-lang/tk-8.3.3" + +src_unpack() { + unpack ${A} + cd ${WORKDIR} + patch -p0 <${FILESDIR}/${PF}-gentoo.diff || die +} + +src_compile() { + emake || die +} + +src_install () { + dobin ${PN} + dobin re${PN} +} |