aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/tkdiff/Makefile
blob: 96c869f042791744ec900603040f2776a9098f71 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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=    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>