aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--japanese/esecanna-module-vje30/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/japanese/esecanna-module-vje30/Makefile b/japanese/esecanna-module-vje30/Makefile
index a45d8db267ff..cd2cf9cf8132 100644
--- a/japanese/esecanna-module-vje30/Makefile
+++ b/japanese/esecanna-module-vje30/Makefile
@@ -17,6 +17,7 @@ MAINTAINER= knu@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/sbin/esecannaserver:${PORTSDIR}/japanese/esecanna
+USE_REINPLACE= yes
USE_AUTOCONF= yes
USE_GMAKE= yes
# VJE-Delta 3.0 is installed under /usr/local fixedly
@@ -25,10 +26,10 @@ CONFIGURE_ARGS= --with-vjecfgfile="/usr/local/etc/vje30/vje.cfg"
DIST_SUBDIR= esecanna
post-patch:
- @cd ${WRKSRC} && perl -i -pe " \
+ ${REINPLACE_CMD} -e " \
s,!!PREFIX!!,${PREFIX},g; \
" \
- README.jp
+ ${WRKSRC}/README.jp
post-install:
.if !defined(NOPORTDOCS)