Use ruby instead of perl.
This commit is contained in:
parent
a4e1d3cae7
commit
100df61d7a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69397
1 changed files with 2 additions and 2 deletions
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue