pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ruby lang/ruby: correct list of commands
details: https://anonhg.NetBSD.org/pkgsrc/rev/0d0792f5e643
branches: trunk
changeset: 443877:0d0792f5e643
user: taca <taca%pkgsrc.org@localhost>
date: Wed Dec 30 14:15:02 2020 +0000
description:
lang/ruby: correct list of commands
Correctly update list of commands.
Bump PKGREVISION.
diffstat:
lang/ruby/Makefile | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r dfa9886ac8d3 -r 0d0792f5e643 lang/ruby/Makefile
--- a/lang/ruby/Makefile Wed Dec 30 12:34:24 2020 +0000
+++ b/lang/ruby/Makefile Wed Dec 30 14:15:02 2020 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.65 2020/01/26 17:31:31 rillig Exp $
+# $NetBSD: Makefile,v 1.66 2020/12/30 14:15:02 taca Exp $
DISTNAME= # empty
PKGNAME= ruby-${RUBY_VERSION}
+PKGREVISION= 1
CATEGORIES= lang ruby
MASTER_SITES= # empty
DISTFILES= # empty
@@ -19,7 +20,13 @@
DEPENDS+= ${RUBY_BASE}>=${RUBY_VERSION}:${RUBY_SRCDIR}
-RUBY_COMMANDS= erb gem irb rake ruby testrb
+.if ${RUBY_VER} == "25"
+RUBY_COMMANDS= erb gem irb rake rdoc ri ruby
+.elif ${RUBY_VER} == "26"
+RUBY_COMMANDS= bundle bundler erb gem irb rake rdoc ri ruby
+.elif ${RUBY_VER} == "27"
+RUBY_COMMANDS= bundle bundler erb gem irb racc rake racc2y rdoc ri ruby y2racc
+.endif
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
CHECK_INTERPRETER_SKIP= bin/* ${PKGMANDIR}/man1/ruby.1
Home |
Main Index |
Thread Index |
Old Index