Wed Dec 30 14:15:03 2020 UTC ()
lang/ruby: correct list of commands

Correctly update list of commands.

Bump PKGREVISION.


(taca)
diff -r1.65 -r1.66 pkgsrc/lang/ruby/Makefile

cvs diff -r1.65 -r1.66 pkgsrc/lang/ruby/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/ruby/Makefile 2020/01/26 17:31:31 1.65
+++ pkgsrc/lang/ruby/Makefile 2020/12/30 14:15:02 1.66
@@ -1,35 +1,42 @@ @@ -1,35 +1,42 @@
1# $NetBSD: Makefile,v 1.65 2020/01/26 17:31:31 rillig Exp $ 1# $NetBSD: Makefile,v 1.66 2020/12/30 14:15:02 taca Exp $
2 2
3DISTNAME= # empty 3DISTNAME= # empty
4PKGNAME= ruby-${RUBY_VERSION} 4PKGNAME= ruby-${RUBY_VERSION}
 5PKGREVISION= 1
5CATEGORIES= lang ruby 6CATEGORIES= lang ruby
6MASTER_SITES= # empty 7MASTER_SITES= # empty
7DISTFILES= # empty 8DISTFILES= # empty
8 9
9MAINTAINER= taca@NetBSD.org 10MAINTAINER= taca@NetBSD.org
10HOMEPAGE= https://www.ruby-lang.org/en/ 11HOMEPAGE= https://www.ruby-lang.org/en/
11COMMENT= Wrapper package for Ruby programming language 12COMMENT= Wrapper package for Ruby programming language
12 13
13CONFLICTS= pkg_alternatives-[0-9]* 14CONFLICTS= pkg_alternatives-[0-9]*
14 15
15NO_CONFIGURE= yes 16NO_CONFIGURE= yes
16NO_BUILD= yes 17NO_BUILD= yes
17 18
18.include "../../lang/ruby/rubyversion.mk" 19.include "../../lang/ruby/rubyversion.mk"
19 20
20DEPENDS+= ${RUBY_BASE}>=${RUBY_VERSION}:${RUBY_SRCDIR} 21DEPENDS+= ${RUBY_BASE}>=${RUBY_VERSION}:${RUBY_SRCDIR}
21 22
22RUBY_COMMANDS= erb gem irb rake ruby testrb 23.if ${RUBY_VER} == "25"
 24RUBY_COMMANDS= erb gem irb rake rdoc ri ruby
 25.elif ${RUBY_VER} == "26"
 26RUBY_COMMANDS= bundle bundler erb gem irb rake rdoc ri ruby
 27.elif ${RUBY_VER} == "27"
 28RUBY_COMMANDS= bundle bundler erb gem irb racc rake racc2y rdoc ri ruby y2racc
 29.endif
23 30
24INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 31INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
25CHECK_INTERPRETER_SKIP= bin/* ${PKGMANDIR}/man1/ruby.1 32CHECK_INTERPRETER_SKIP= bin/* ${PKGMANDIR}/man1/ruby.1
26 33
27.if ${RUBY_NAME} == "ruby" 34.if ${RUBY_NAME} == "ruby"
28GENERATE_PLIST+= ${ECHO} "@comment This plist intentionally left empty"; 35GENERATE_PLIST+= ${ECHO} "@comment This plist intentionally left empty";
29.else 36.else
30. for f in ${RUBY_COMMANDS} 37. for f in ${RUBY_COMMANDS}
31GENERATE_PLIST+= ${ECHO} bin/${f}; 38GENERATE_PLIST+= ${ECHO} bin/${f};
32. endfor 39. endfor
33GENERATE_PLIST+= ${ECHO} man/man1/ruby.1; 40GENERATE_PLIST+= ${ECHO} man/man1/ruby.1;
34.endif 41.endif
35 42