freebsd-ports/textproc/tkdiff/Makefile
Sean Bruno 8ee8d3c444 Make tkdiff work again by stealing the post-patch stanza from tkcvs and
apply it here to deal with wish correctly.

Reviewed by:	kevlo@
2013-12-11 04:39:47 +00:00

30 lines
602 B
Makefile

# Created by: Kevin Lo <kevlo@FreeBSD.org>
# $FreeBSD$
PORTNAME= tkdiff
PORTVERSION= 4.2
PORTREVISION= 1
CATEGORIES= textproc tk
MASTER_SITES= SF
MAINTAINER= kevlo@FreeBSD.org
COMMENT= A Tk frontend for diff(1)
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
WRKSRC= ${WRKDIR}/${PORTNAME}-unix
USES= tk:wrapper
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
.include <bsd.port.mk>