Use RUBY_SHEBANG_FILES to adjust the #! line of irb.rb. Somehow I

dropped this when I did a mass convert some time ago..
This commit is contained in:
Akinori MUSHA 2001-02-10 16:43:22 +00:00
parent b5821579a2
commit fcd4c74199
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38177

View file

@ -20,12 +20,12 @@ RUBY_VER= 1.4
USE_RUBY= yes
NO_BUILD= yes
RUBY_SHEBANG_FILES= ${WRKSRC}/irb.rb
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
post-patch:
${PERL} -i -pe '$$. == 1 && s,^#!\s*\S+,#!${RUBY},' ${WRKSRC}/irb.rb
${RM} -f ${WRKSRC}/instirb.rb
do-install: