summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-11-04 00:17:35 +0000
committerknu <knu@FreeBSD.org>2002-11-04 00:17:35 +0000
commit52a16dbe17234481b1ea38f9b5afb2f2152c5b1f (patch)
tree9e510d3402baa47eecb0cfd1b37599266030d8d0
parentbb5f7546971cd1722bf091f87b4068c3281b8ca6 (diff)
downloadFreeBSD-ports-52a16dbe17234481b1ea38f9b5afb2f2152c5b1f.zip
FreeBSD-ports-52a16dbe17234481b1ea38f9b5afb2f2152c5b1f.tar.gz
Use ruby instead of perl.
-rw-r--r--japanese/ruby-kakasi/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/japanese/ruby-kakasi/Makefile b/japanese/ruby-kakasi/Makefile
index a0ef7ac..bf70ca5 100644
--- a/japanese/ruby-kakasi/Makefile
+++ b/japanese/ruby-kakasi/Makefile
@@ -28,8 +28,8 @@ DOCS_JA= README.jp
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
post-patch:
- ${PERL} -i -pe 's,/usr/local,${PREFIX},g' ${WRKSRC}/extconf.rb
- ${PERL} -i -pe 's,\./(kakasi),$$1,g' ${WRKSRC}/test.rb
+ ${RUBY} -i -pe 'gsub %r"/usr/local", "${PREFIX}"' ${WRKSRC}/extconf.rb
+ ${RUBY} -i -pe 'gsub %r"\./(kakasi)", "\\1"' ${WRKSRC}/test.rb
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/wdcnt ${PREFIX}/bin/
OpenPOWER on IntegriCloud