summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-11-04 00:15:14 +0000
committerknu <knu@FreeBSD.org>2002-11-04 00:15:14 +0000
commitbb5f7546971cd1722bf091f87b4068c3281b8ca6 (patch)
tree8616e5a014390d8be0d7af3b36a0cdab77aab0d8
parent90f2276a82c5ebc583f092822c767e8d91f4e63f (diff)
downloadFreeBSD-ports-bb5f7546971cd1722bf091f87b4068c3281b8ca6.zip
FreeBSD-ports-bb5f7546971cd1722bf091f87b4068c3281b8ca6.tar.gz
Use sed(1) and USE_REINPLACE instead of perl.
-rw-r--r--japanese/esecanna/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/japanese/esecanna/Makefile b/japanese/esecanna/Makefile
index 7e661bf..a6fcd9b 100644
--- a/japanese/esecanna/Makefile
+++ b/japanese/esecanna/Makefile
@@ -15,6 +15,7 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= knu@FreeBSD.org
+USE_REINPLACE= yes
USE_AUTOCONF= yes
USE_GMAKE= yes
@@ -26,18 +27,18 @@ DOCS= CREDITS CHANGES.jp README.First.jp README.jp
PLIST_SUB= STARTER="${STARTER}"
post-extract:
- ${PERL} -pe " \
+ ${SED} -e " \
s,!!PREFIX!!,${PREFIX},g; \
s,!!STARTER!!,${STARTER},g; \
" \
${FILESDIR}/esecanna.sh > ${WRKSRC}/${STARTER}
post-patch:
- cd ${WRKSRC} && ${PERL} -i -pe " \
+ ${REINPLACE_CMD} -e " \
s,!!PREFIX!!,${PREFIX},g; \
" \
- README.jp \
- esecannarc
+ ${WRKSRC}/README.jp \
+ ${WRKSRC}/esecannarc
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/${STARTER} ${PREFIX}/etc/rc.d/
OpenPOWER on IntegriCloud