Use ruby instead of perl.

This commit is contained in:
Akinori MUSHA 2002-11-04 00:17:35 +00:00
parent a4e1d3cae7
commit 100df61d7a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69397

View file

@ -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/