Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Oct 2011 02:58:47 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/161612: Update port: misc/tkinfo
Message-ID:  <20111015025847.37b016f3.tkato432@yahoo.com>
Resent-Message-ID: <201110141850.p9EIoFQY051254@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         161612
>Category:       ports
>Synopsis:       Update port: misc/tkinfo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 14 18:50:15 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Support USE_TK_WRAPPER
- Add WWW: line

Remove file:
files/patch-aa

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/misc/tkinfo/Makefile misc/tkinfo/Makefile
--- /usr/ports/misc/tkinfo/Makefile	2008-04-09 23:38:24.000000000 +0900
+++ misc/tkinfo/Makefile	2011-08-28 14:41:17.000000000 +0900
@@ -7,21 +7,28 @@
 
 PORTNAME=	tkinfo
 PORTVERSION=	2.8
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	misc tk
 MASTER_SITES=	http://math-www.uni-paderborn.de/~axel/tkinfo/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A tk script to read GNU "info" files and display them
 
-RUN_DEPENDS=	wish8.4:${PORTSDIR}/x11-toolkits/tk84
+LICENSE=	BSD
 
 NO_BUILD=	yes
+
+USE_TK_WRAPPER=	yes
+
 MAN1=		tkinfo.1
 PLIST_FILES=	bin/tkinfo
 
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|/usr/local/info|${LOCALBASE}/info|' ${WRKSRC}/tkinfo
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/tkinfo ${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/tkinfo.1 ${PREFIX}/man/man1
+	${INSTALL_DATA} ${WRKSRC}/tkinfo.1 ${MANPREFIX}/man/man1
 
 .include <bsd.port.mk>
diff -urN /usr/ports/misc/tkinfo/files/patch-aa misc/tkinfo/files/patch-aa
--- /usr/ports/misc/tkinfo/files/patch-aa	2004-07-08 13:43:00.000000000 +0900
+++ misc/tkinfo/files/patch-aa	1970-01-01 09:00:00.000000000 +0900
@@ -1,18 +0,0 @@
---- tkinfo.orig	Tue Mar 23 00:56:39 2004
-+++ tkinfo	Wed Jul  7 21:40:54 2004
-@@ -1,6 +1,6 @@
- #!/bin/sh
- # This is a Tcl/Tk script to be interpreted by wish (Tk4.0 or better): \
--exec wish "$0" "$@"
-+exec wish8.4 "$0" "$@"
- 
- 
- ##########################################################################
-@@ -515,6 +515,7 @@
-       /usr/local/emacs/info /usr/local/lib/emacs/info \
-       /usr/lib/xemacs/info /usr/local/lib/xemacs/info \
-       /usr/gnu/info \
-+      /usr/X11R6/info \
-       ]
- 
-     set defInfoSuffix [list .info -info ""]
diff -urN /usr/ports/misc/tkinfo/pkg-descr misc/tkinfo/pkg-descr
--- /usr/ports/misc/tkinfo/pkg-descr	1995-02-24 21:54:57.000000000 +0900
+++ misc/tkinfo/pkg-descr	2011-08-28 14:35:25.000000000 +0900
@@ -15,3 +15,5 @@
 one that uses "@" everywhere).  Similarly, the latexinfo package (like
 texinfo, but with latex commands and syntax) provides emacs scripts for
 producing info files.
+
+WWW: http://math-www.uni-paderborn.de/~axel/tkinfo/
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111015025847.37b016f3.tkato432>