diff options
author | sbruno <sbruno@FreeBSD.org> | 2013-12-11 12:39:47 +0800 |
---|---|---|
committer | sbruno <sbruno@FreeBSD.org> | 2013-12-11 12:39:47 +0800 |
commit | f875e10d0e63816c01d9cd0b150bbaaf0214d66f (patch) | |
tree | 7d1d6a33d919673ea81b15115a2c87ef79160911 /textproc | |
parent | 1dbd40ec752a505d70179a6133e6b7d63c40ed6d (diff) | |
download | freebsd-ports-gnome-f875e10d0e63816c01d9cd0b150bbaaf0214d66f.tar.gz freebsd-ports-gnome-f875e10d0e63816c01d9cd0b150bbaaf0214d66f.tar.zst freebsd-ports-gnome-f875e10d0e63816c01d9cd0b150bbaaf0214d66f.zip |
Make tkdiff work again by stealing the post-patch stanza from tkcvs and
apply it here to deal with wish correctly.
Reviewed by: kevlo@
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/tkdiff/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/textproc/tkdiff/Makefile b/textproc/tkdiff/Makefile index 88bb187432a9..f6561057b4aa 100644 --- a/textproc/tkdiff/Makefile +++ b/textproc/tkdiff/Makefile @@ -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 |