pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ruby * Replace RUBY_VERSION_FULL with RUBY_VERSIO...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5db1e8c2ec56
branches: trunk
changeset: 363019:5db1e8c2ec56
user: taca <taca%pkgsrc.org@localhost>
date: Tue May 30 15:47:51 2017 +0000
description:
* Replace RUBY_VERSION_FULL with RUBY_VERSION since there is no
RUBY_VERSION_FULL contains Ruby's patchlevel.
* Remove ruby18 specific code.
diffstat:
lang/ruby/Makefile | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diffs (27 lines):
diff -r 3e36da85a213 -r 5db1e8c2ec56 lang/ruby/Makefile
--- a/lang/ruby/Makefile Tue May 30 15:47:16 2017 +0000
+++ b/lang/ruby/Makefile Tue May 30 15:47:51 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.62 2017/05/30 14:22:40 taca Exp $
+# $NetBSD: Makefile,v 1.63 2017/05/30 15:47:51 taca Exp $
DISTNAME= # empty
-PKGNAME= ruby-${RUBY_VERSION_FULL}
+PKGNAME= ruby-${RUBY_VERSION}
CATEGORIES= lang ruby
MASTER_SITES= # empty
DISTFILES= # empty
@@ -19,12 +19,7 @@
DEPENDS+= ${RUBY_BASE}>=${RUBY_VERSION}:${RUBY_SRCDIR}
-RUBY_COMMANDS= erb irb ruby testrb
-.if ${RUBY_VER} == "18"
-RUBY_COMMANDS+= h2rb
-.else
-RUBY_COMMANDS+= gem rake
-.endif
+RUBY_COMMANDS= erb gem irb rake ruby testrb
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
CHECK_INTERPRETER_SKIP= bin/* ${PKGMANDIR}/man1/ruby.1
Home |
Main Index |
Thread Index |
Old Index