aboutsummaryrefslogtreecommitdiff
path: root/devel/cvs2p4
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cvs2p4')
-rw-r--r--devel/cvs2p4/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/cvs2p4/Makefile b/devel/cvs2p4/Makefile
index d94145e196ab..3431eb158589 100644
--- a/devel/cvs2p4/Makefile
+++ b/devel/cvs2p4/Makefile
@@ -13,16 +13,18 @@ EXTRACT_SUFX= .tar
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
+REINPLACE_ARGS= -i ""
NO_BUILD= yes
PERFORCE_PORT?= 1666
post-patch:
- ${PERL} -pi \
+ @${REINPLACE_CMD} \
-e 's,!!PREFIX!!,${PREFIX},g;' \
-e 's,!!PERFORCE_PORT!!,${PERFORCE_PORT},g;' \
${WRKSRC}/test/config
- find ${WRKSRC} -name '*.orig' -delete
+ @${FIND} ${WRKSRC} -name '*.orig' -delete
do-install:
${MKDIR} ${PREFIX}/${PORTNAME}