mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
8ee8d3c444
apply it here to deal with wish correctly. Reviewed by: kevlo@
31 lines
602 B
Makefile
31 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>
|