From 00fd5f48dd3f640d517600bde4e3eff4f753ce5f Mon Sep 17 00:00:00 2001
From: Akinori MUSHA <knu@FreeBSD.org>
Date: Mon, 4 Nov 2002 20:41:48 +0000
Subject: USE_REINPLACE instead of perl.

---
 japanese/esecanna-module-vje30/Makefile | 5 +++--
 1 file 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)
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0