summaryrefslogtreecommitdiff
path: root/devel/terminality
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-25 18:36:39 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-25 18:36:39 +0000
commitc2e96a6fd15ffeb729ad724a29f33c91d1eafc84 (patch)
tree5163ba03df5b625ecccf34756ce8597ed008cfd5 /devel/terminality
parentUse REINPLACE_CMD (diff)
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39842 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Notes
Notes: svn path=/head/; revision=61964
Diffstat (limited to 'devel/terminality')
-rw-r--r--devel/terminality/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/devel/terminality/Makefile b/devel/terminality/Makefile
index 40b02226e16d..1bbde2c90949 100644
--- a/devel/terminality/Makefile
+++ b/devel/terminality/Makefile
@@ -14,13 +14,14 @@ DISTNAME= tn-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_GMAKE= yes
MAKE_ENV= CPP=${CXX} INSTALL="${INSTALL}" INSTALL_DATA="${INSTALL_DATA}"
post-patch:
- @find ${WRKSRC} -name Makefile | xargs \
- ${PERL} -pi -e "s, -lstdc\\+\\+,,g"
- @${PERL} -pi -e "s,make,gmake,g ; \
+ @${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
+ ${REINPLACE_CMD} -e "s, -lstdc\\+\\+,,g"
+ @${REINPLACE_CMD} -e "s,make,gmake,g ; \
s,/usr/local,${PREFIX},g" ${WRKSRC}/Makefile
.if !defined(NOPORTDOCS)