diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-06-23 01:23:30 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-06-23 01:23:30 +0800 |
commit | 8545a2e67fcd00c39e1d49278039599fde0a3c96 (patch) | |
tree | 93c69ec1765552a1e68bc7a639a178521cfdbd2e /misc/txt2regex | |
parent | a05fa76323fffdebea8fa39b9c6b32db8f07f949 (diff) | |
download | freebsd-ports-gnome-8545a2e67fcd00c39e1d49278039599fde0a3c96.tar.gz freebsd-ports-gnome-8545a2e67fcd00c39e1d49278039599fde0a3c96.tar.zst freebsd-ports-gnome-8545a2e67fcd00c39e1d49278039599fde0a3c96.zip |
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39665
Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'misc/txt2regex')
-rw-r--r-- | misc/txt2regex/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/txt2regex/Makefile b/misc/txt2regex/Makefile index 214ffffa958c..e3c6e41f7a53 100644 --- a/misc/txt2regex/Makefile +++ b/misc/txt2regex/Makefile @@ -16,12 +16,13 @@ MAINTAINER= ports@FreeBSD.org RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2 +USE_REINPLACE= yes NO_BUILD= yes post-patch: - @${PERL} -pi -e "s,/bin/bash,${LOCALBASE}/bin/bash,g ; \ + @${REINPLACE_CMD} -e "s,/bin/bash,${LOCALBASE}/bin/bash,g ; \ s,\`seq,\`gseq,g" ${WRKSRC}/${DISTNAME}.sh - @${PERL} -pi -e "s,/usr,${LOCALBASE},g" ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e "s,/usr,${LOCALBASE},g" ${WRKSRC}/Makefile do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.sh ${PREFIX}/bin/txt2regex |