aboutsummaryrefslogtreecommitdiff
path: root/editors/beav
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-21 15:52:35 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-21 15:52:35 +0000
commit4fcd623a911ebff1fb406f959932040af7ed40b2 (patch)
tree3179f0030b56361bd63473d24ab0af7ddce20dbf /editors/beav
parent15b35ffaea08acdf8c14ea61767dbb931ac1b83f (diff)
downloadports-4fcd623a911ebff1fb406f959932040af7ed40b2.tar.gz
ports-4fcd623a911ebff1fb406f959932040af7ed40b2.zip
Notes
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 4305b5151871..c644e7ece119 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