summaryrefslogtreecommitdiffstats
path: root/devel/tkcvs/Makefile
blob: 2c9797952d3cfbcd52374ba3ef407490ecffd076 (plain)
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
# Created by: Andreas Kohout <shanee@augusta.de>
# $FreeBSD$

PORTNAME=	tkcvs
PORTVERSION=	8.2.3
CATEGORIES=	devel
MASTER_SITES=	SF \
		http://www.twobarleycorns.net/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Tcl/Tk frontends to CVS and Subversion

LICENSE=	GPLv2

RUN_DEPENDS=	tkdiff:${PORTSDIR}/textproc/tkdiff

NO_BUILD=	yes
USES=		tk

OPTIONS_DEFINE=	DOCS

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}/tkcvs/tkcvs ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/tkcvs/tkcvs.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/tkcvs
	${INSTALL_DATA} ${WRKSRC}/tkcvs/*.tcl ${STAGEDIR}${PREFIX}/lib/tkcvs
	${INSTALL_DATA} ${WRKSRC}/tkcvs/tclIndex ${STAGEDIR}${PREFIX}/lib/tkcvs
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/tkcvs/bitmaps
	${INSTALL_DATA} ${WRKSRC}/tkcvs/bitmaps/*.gif ${STAGEDIR}${PREFIX}/lib/tkcvs/bitmaps
	${INSTALL_DATA} ${WRKSRC}/tkcvs/bitmaps/*.xbm ${STAGEDIR}${PREFIX}/lib/tkcvs/bitmaps
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in CHANGELOG.txt FAQ.txt INSTALL
	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>
OpenPOWER on IntegriCloud