ports/161635: Update port: misc/tkman

KATO Tsuguru tkato432 at yahoo.com
Fri Oct 14 18:50:26 UTC 2011


>Number:         161635
>Category:       ports
>Synopsis:       Update port: misc/tkman
>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:25 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Support USE_TK

Remove file:
files/patch-aa

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/misc/tkman/Makefile misc/tkman/Makefile
--- /usr/ports/misc/tkman/Makefile	2009-08-22 16:23:44.000000000 +0900
+++ misc/tkman/Makefile	2011-08-28 19:35:54.000000000 +0900
@@ -14,12 +14,12 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A Tcl/Tk based manual browser
 
-LIB_DEPENDS=	tk84.1:${PORTSDIR}/x11-toolkits/tk84
-RUN_DEPENDS=	rman:${PORTSDIR}/textproc/rman \
-		glimpse:${PORTSDIR}/textproc/glimpse
+RUN_DEPENDS=	glimpse:${PORTSDIR}/textproc/glimpse \
+		rman:${PORTSDIR}/textproc/rman
 
+USE_TK=		yes
 USE_GMAKE=	yes
-MAKE_ARGS=	WISH="${PREFIX}/bin/wish8.4" \
+MAKE_ARGS=	WISH="${WISH}" \
 		texinfodir="${PREFIX}/${INFO_PATH}" \
 		gzgrep="\"/usr/bin/zgrep -E\"" \
 		mastermen="\"/usr/share/man ${PREFIX}/man ${LOCALBASE}/man\"" \
@@ -28,7 +28,7 @@
 		manprint="{groff -mandoc -Tps -te -l}"
 
 post-patch:
-	@${REINPLACE_CMD} -e "s;/usr/local/bin/wish;${PREFIX}/bin/wish8.4;" \
+	@${REINPLACE_CMD} -e 's|/usr/local/bin/wish|${WISH}|' \
 		${WRKSRC}/contrib/tkmanclient
 
 do-install:
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list