aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cvs2p4
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-26 02:36:39 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-26 02:36:39 +0800
commit2e24cb013a4dff5e119d355c91b2622a00311b14 (patch)
tree7a79ec7a9cea96d93a4faead0a8d2d8c0f3fff6d /devel/cvs2p4
parentcde2f267c86553ca05e0aa4469ac034e4060371d (diff)
downloadfreebsd-ports-gnome-2e24cb013a4dff5e119d355c91b2622a00311b14.tar.gz
freebsd-ports-gnome-2e24cb013a4dff5e119d355c91b2622a00311b14.tar.zst
freebsd-ports-gnome-2e24cb013a4dff5e119d355c91b2622a00311b14.zip
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39842 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
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}