1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/devel/tkp4/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

35 lines
817 B
Makefile

# 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>