aboutsummaryrefslogtreecommitdiff
path: root/misc/grc
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-22 17:23:30 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-22 17:23:30 +0000
commit3b9032fabc47df7c423b0fe802d1060c7b4e5816 (patch)
treebc94b068979a41f61931d2bd7979481f6acd573b /misc/grc
parent7b3cf63dbe867642387b83d0d46a6ef77e970a05 (diff)
downloadports-3b9032fabc47df7c423b0fe802d1060c7b4e5816.tar.gz
ports-3b9032fabc47df7c423b0fe802d1060c7b4e5816.zip
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39665 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Notes
Notes: svn path=/head/; revision=61744
Diffstat (limited to 'misc/grc')
-rw-r--r--misc/grc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/grc/Makefile b/misc/grc/Makefile
index c79e55735fcb..afa7a7325b3e 100644
--- a/misc/grc/Makefile
+++ b/misc/grc/Makefile
@@ -14,6 +14,7 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_BUILD= yes
@@ -22,7 +23,7 @@ MAN1= grc.1 grcat.1
post-patch:
.for file in grc grcat
- @${PERL} -pi -e "s|%%PYTHON_CMD%%|${PYTHON_CMD}|g ; \
+ @${REINPLACE_CMD} -e "s|%%PYTHON_CMD%%|${PYTHON_CMD}|g ; \
s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
.endfor