summaryrefslogtreecommitdiffstats
path: root/editors/beav
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-21 15:52:35 +0000
committerijliao <ijliao@FreeBSD.org>2002-06-21 15:52:35 +0000
commit41375a7fa3ba02e9cf4d8448e52eb7e6aaf3a4ed (patch)
tree9b2d8b8ded963952c33061446db191c200e97854 /editors/beav
parentc0abd785464496b58bf62d2eee5e0dfa620721cd (diff)
downloadFreeBSD-ports-41375a7fa3ba02e9cf4d8448e52eb7e6aaf3a4ed.zip
FreeBSD-ports-41375a7fa3ba02e9cf4d8448e52eb7e6aaf3a4ed.tar.gz
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39591 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'editors/beav')
-rw-r--r--editors/beav/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/editors/beav/Makefile b/editors/beav/Makefile
index 4305b51..c644e7e 100644
--- a/editors/beav/Makefile
+++ b/editors/beav/Makefile
@@ -15,15 +15,16 @@ MAINTAINER= ports@FreeBSD.org
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
+USE_REINPLACE= yes
ALL_TARGET= beav
MAN1= beav.1
post-patch:
- @${PERL} -pi -e 's|^CFLAGS=|CFLAGS+=-DUNIX -DBSD #|g ; \
+ @${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS+=-DUNIX -DBSD #|g ; \
s|^CC=|CC?=|g ; \
- s|^\(|\$$\(|g' ${WRKSRC}/Makefile
- @${PERL} -pi -e 's|/usr/doc/beav|${DOCSDIR}|g' ${WRKSRC}/beav.1
+ s|^(|\$$(|g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|/usr/doc/beav|${DOCSDIR}|g' ${WRKSRC}/beav.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/beav ${PREFIX}/bin/beav
OpenPOWER on IntegriCloud