aboutsummaryrefslogtreecommitdiffstats
path: root/devel/tkcvs/Makefile
blob: 7e8886cdf939d9b9dc6093d22e0d52932a449d12 (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
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:    tkcvs
# Date created:         02 Aug 1996
# Whom:                 shanee@augusta.de
#
# $FreeBSD$
#

PORTNAME=   tkcvs
PORTVERSION=    7.2.4
CATEGORIES= devel
MASTER_SITES=   http://www.twobarleycorns.net/
DISTNAME=   ${PORTNAME}_${PORTVERSION:S/./_/g}

MAINTAINER= andrew.nau.ua@gmail.com
COMMENT=    Tcl/Tk frontends to CVS and diff

LIB_DEPENDS=    tk84.1:${PORTSDIR}/x11-toolkits/tk84

USE_REINPLACE=  yes
NO_BUILD=   yes

MAN1=       tkcvs.1

WISH=       wish8.4
TCLSH=      tclsh8.4

post-patch:
    @${GREP} -lR "exec wish " ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
        's|exec wish |exec ${WISH} |g'

do-install:
    cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${TCLSH} doinstall.tcl -nox ${PREFIX}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in FAQ vendor5readme.pdf
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>