blob: de4f88a07d19706cb3ec4e63c602978a779d1083 (
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
|
# Created by: mi@aldan.algebra.com
# $FreeBSD$
PORTNAME= tkp4
PORTVERSION= 1.12
PORTREVISION= 2
CATEGORIES= devel tk
MASTER_SITES= http://www.timshel.ca/tkp4/
MAINTAINER= mi@aldan.algebra.com
COMMENT= Tcl/Tk frontends to Perforce's p4
OPTIONS_DEFINE= DOCS
RUN_DEPENDS= p4:devel/p4
NO_BUILD= yes
REINPLACE_ARGS= -i ""
USES= tk:run
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.tcl ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/tkp4 ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/P4WINdifferences \
${WRKSRC}/UsingTkP4 ${STAGEDIR}${DOCSDIR}
post-patch:
${REINPLACE_CMD} -e 's|wish|${WISH}|' ${WRKSRC}/tkp4
${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
`${GREP} -Fl /usr/local ${WRKSRC}/*`
.include <bsd.port.mk>
|