Make tkdiff work again by stealing the post-patch stanza from tkcvs and

apply it here to deal with wish correctly.

Reviewed by:	kevlo@
This commit is contained in:
Sean Bruno 2013-12-11 04:39:47 +00:00
parent 1f706e03cc
commit 8ee8d3c444
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336142

View File

@ -3,6 +3,7 @@
PORTNAME= tkdiff
PORTVERSION= 4.2
PORTREVISION= 1
CATEGORIES= textproc tk
MASTER_SITES= SF
@ -19,6 +20,10 @@ NO_BUILD= yes
PLIST_FILES= bin/tkdiff
post-patch:
${FIND} ${WRKSRC} -type f | ${XARGS} \
${REINPLACE_CMD} -e '/^exec wish/s|wish|${WISH}|g' -e '/^exec tclsh/s|tclsh|${TCLSH}|g'
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/tkdiff ${STAGEDIR}${PREFIX}/bin