diff options
author | knu <knu@FreeBSD.org> | 2001-02-10 16:43:22 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-02-10 16:43:22 +0000 |
commit | b6436fa0d430be5e8e7e18ee44b4d7bc11b847fc (patch) | |
tree | f546c930e253db040af07ffa495481505b182c59 | |
parent | c31231d3ea0ed7dbab2f7fbd8e66dafe98249f75 (diff) | |
download | FreeBSD-ports-b6436fa0d430be5e8e7e18ee44b4d7bc11b847fc.zip FreeBSD-ports-b6436fa0d430be5e8e7e18ee44b4d7bc11b847fc.tar.gz |
Use RUBY_SHEBANG_FILES to adjust the #! line of irb.rb. Somehow I
dropped this when I did a mass convert some time ago..
-rw-r--r-- | lang/ruby14-irb/Makefile | 4 |
1 files 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: |