From b6436fa0d430be5e8e7e18ee44b4d7bc11b847fc Mon Sep 17 00:00:00 2001 From: knu Date: Sat, 10 Feb 2001 16:43:22 +0000 Subject: Use RUBY_SHEBANG_FILES to adjust the #! line of irb.rb. Somehow I dropped this when I did a mass convert some time ago.. --- lang/ruby14-irb/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/ruby14-irb/Makefile b/lang/ruby14-irb/Makefile index 417094a..4be179d 100644 --- a/lang/ruby14-irb/Makefile +++ b/lang/ruby14-irb/Makefile @@ -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: -- cgit v1.1