Mon Sep 15 06:26:33 2014 UTC ()
Clarify description of RUBY_NOVERSION, RUBY_PKGPREFIX and RUBY_SUFFIX.


(taca)
diff -r1.123 -r1.124 pkgsrc/lang/ruby/rubyversion.mk

cvs diff -r1.123 -r1.124 pkgsrc/lang/ruby/rubyversion.mk (expand / switch to unified diff)

--- pkgsrc/lang/ruby/rubyversion.mk 2014/08/25 03:25:57 1.123
+++ pkgsrc/lang/ruby/rubyversion.mk 2014/09/15 06:26:33 1.124
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: rubyversion.mk,v 1.123 2014/08/25 03:25:57 taca Exp $ 1# $NetBSD: rubyversion.mk,v 1.124 2014/09/15 06:26:33 taca Exp $
2# 2#
3 3
4# This file determines which Ruby version is used as a dependency for 4# This file determines which Ruby version is used as a dependency for
5# a package. 5# a package.
6# 6#
7# 7#
8# === User-settable variables === 8# === User-settable variables ===
9# 9#
10# RUBY_VERSION_DEFAULT 10# RUBY_VERSION_DEFAULT
11# The preferered Ruby version to use. 11# The preferered Ruby version to use.
12# 12#
13# Possible values: 18 193 200 21 13# Possible values: 18 193 200 21
14# Default: 200 14# Default: 200
@@ -38,27 +38,27 @@ @@ -38,27 +38,27 @@
38# 38#
39# === Package-settable variables === 39# === Package-settable variables ===
40# 40#
41# RUBY_VERSION_SUPPORTED 41# RUBY_VERSION_SUPPORTED
42# The Ruby versions that are acceptable for the package. 42# The Ruby versions that are acceptable for the package.
43# 43#
44# Possible values: 18 193 200 21 44# Possible values: 18 193 200 21
45# Default: 200 193 18 21 45# Default: 200 193 18 21
46# 46#
47# RUBY_NOVERSION 47# RUBY_NOVERSION
48# If "Yes", the package dosen't depend on any version of Ruby, such 48# If "Yes", the package dosen't depend on any version of Ruby, such
49# as editing mode for emacs. In this case, package's name would begin 49# as editing mode for emacs. In this case, package's name would begin
50# with "ruby-". Otherwise, the package's name is begin with 50# with "ruby-". Otherwise, the package's name is begin with
51# ${RUBY_PKGPREFIX}; "ruby18", "ruby193" , "ruby200" or "ruby21". 51# ${RUBY_PKGPREFIX}.
52# 52#
53# Possible values: Yes No 53# Possible values: Yes No
54# Default: No 54# Default: No
55# 55#
56# RUBY_DYNAMIC_DIRS 56# RUBY_DYNAMIC_DIRS
57# Build dynamic PLIST from directories. 57# Build dynamic PLIST from directories.
58# 58#
59# Default: (empty) 59# Default: (empty)
60# 60#
61# RUBY_ENCODING_ARG 61# RUBY_ENCODING_ARG
62# 62#
63# Optional encoding argument for shbang line. 63# Optional encoding argument for shbang line.
64# 64#
@@ -67,26 +67,30 @@ @@ -67,26 +67,30 @@
67# === Defined variables === 67# === Defined variables ===
68# 68#
69# RUBY_VER 69# RUBY_VER
70# Really selected version of ruby. 70# Really selected version of ruby.
71# 71#
72# Possible values: 18 193 200 21 72# Possible values: 18 193 200 21
73# 73#
74# Use this variable in pkgsrc's Makefile 74# Use this variable in pkgsrc's Makefile
75# 75#
76# RUBY_PKGPREFIX 76# RUBY_PKGPREFIX
77# Prefix part for ruby based packages. It is recommended that to 77# Prefix part for ruby based packages. It is recommended that to
78# use RUBY_PKGPREFIX with ruby related packages since you can supply 78# use RUBY_PKGPREFIX with ruby related packages since you can supply
79# different binary packages as each version of Ruby. 79# different binary packages as each version of Ruby.
 80# The value of RUBY_PKGPREFIX is "ruby-" and concatination of Ruby's
 81# major, minor and teeny version unless RUBY_VER is "18".
 82#
 83# Example values: ruby18 ruby193 ruby200 ruby212
80# 84#
81# RUBY_ABI_VERSION 85# RUBY_ABI_VERSION
82# Ruby's ABI version. 86# Ruby's ABI version.
83# 87#
84# RUBY_DLEXT 88# RUBY_DLEXT
85# Suffix of extention library. 89# Suffix of extention library.
86# 90#
87# RUBY_SLEXT 91# RUBY_SLEXT
88# Suffix of shared library. 92# Suffix of shared library.
89# 93#
90# RUBY 94# RUBY
91# Full path of ruby command. 95# Full path of ruby command.
92# 96#
@@ -94,26 +98,30 @@ @@ -94,26 +98,30 @@
94# Full path of rdoc command. 98# Full path of rdoc command.
95# 99#
96# RUBY_NAME 100# RUBY_NAME
97# Name of ruby command. 101# Name of ruby command.
98# 102#
99# RUBYGEM_NAME 103# RUBYGEM_NAME
100# Name of gem command. 104# Name of gem command.
101# 105#
102# RAKE_NAME 106# RAKE_NAME
103# Name of rake command. 107# Name of rake command.
104# 108#
105# RUBY_SUFFIX 109# RUBY_SUFFIX
106# Extra string for each ruby commands; ruby, irb and so on. 110# Extra string for each ruby commands; ruby, irb and so on.
 111# The value of RUBY_SUFFIX is concatination of Ruby's major, minor
 112# and teeny version unless RUBY_VER is "18".
 113#
 114# Possible values: 18 193 200 212
107# 115#
108# RUBY_VERSION 116# RUBY_VERSION
109# Version of real Ruby's version excluding patchlevel. 117# Version of real Ruby's version excluding patchlevel.
110# 118#
111# RUBY_VERSION_FULL 119# RUBY_VERSION_FULL
112# Version of Ruby including patchlevel. 120# Version of Ruby including patchlevel.
113# 121#
114# RUBY_BASE 122# RUBY_BASE
115# Name of ruby base package's name. 123# Name of ruby base package's name.
116# 124#
117# RUBY_SRCDIR 125# RUBY_SRCDIR
118# Relative path to directory of base ruby package. 126# Relative path to directory of base ruby package.
119# 127#