This brings ruby-module.5 up to reality.

OKs?

Thanks,
Jeremy

Index: ruby-module.5
===================================================================
RCS file: /cvs/src/share/man/man5/ruby-module.5,v
retrieving revision 1.14
diff -u -p -r1.14 ruby-module.5
--- ruby-module.5       17 Oct 2014 17:09:50 -0000      1.14
+++ ruby-module.5       18 Jul 2015 04:09:08 -0000
@@ -160,7 +160,7 @@ The "ruby gem"
 should be used for pure ruby gems without C extensions.
 This adds
 .Ev PKG_ARCH
-= * and adds ruby18, ruby19, ruby20, ruby21, rbx, and jruby
+= * and adds ruby18, ruby19, ruby20, ruby21, ruby22, rbx, and jruby
 .Ev FLAVOR Ns s
 to the port, so the same port can build packages for multiple versions of ruby.
 .It
@@ -178,7 +178,7 @@ the appropriate libraries and
 .Ev MODRUBY_WANTLIB
 to
 .Ev WANTLIB .
-It also adds ruby18, ruby19, ruby20, ruby21, and rbx
+It also adds ruby18, ruby19, ruby20, ruby21, ruby22, and rbx
 .Ev FLAVOR Ns s
 to the port.
 If the C extension in the gem requires specific arguments to extconf.rb, set 
those
@@ -199,7 +199,7 @@ should use this format:
 .Pp
 .Dl category/ruby-foo,${MODRUBY_FLAVOR}
 .Pp
-Use of a ruby19, ruby20, ruby21, rbx, or jruby
+Use of a ruby19, ruby20, ruby21, ruby22, rbx, or jruby
 .Ev FLAVOR
 causes the
 .Ev FULLPKGNAME
@@ -208,18 +208,18 @@ to use the
 instead of ruby as the package prefix.
 Specifying
 .Ev MODRUBY_FLAVOR
-is necessary so that if a ruby 1.9 package is being built for the current
-port, it depends on the ruby 1.9 package of the
+is necessary so that if a ruby x.y package is being built for the current
+port, it depends on the ruby x.y package of the
 dependencies.
 .Pp
-The ports system defaults to using ruby 2.0 if the version of ruby is not
+The ports system defaults to using ruby 2.2 if the version of ruby is not
 specified.
 If you want to specify a version for a gem/extconf port, use a specific
 .Ev FLAVOR ,
 such as ruby18 to use ruby 1.8.
 If you want to specify a version for a non-gem/extconf port, set
 .Ev MODRUBY_REV
-for the version of ruby you want to use (1.8, 1.9, 2.0, 2.1, jruby, rbx).
+for the version of ruby you want to use (1.8, 1.9, 2.0, 2.1, 2.2, jruby, rbx).
 .Pp
 If you do not want the ports system to automatically set up
 .Ev FLAVOR Ns s
@@ -276,5 +276,9 @@ so always manually check the result of m
 you can build the other
 .Ev FLAVOR Ns s
 before committing.
+Additionally, for gems with C extensions, make update-plist may add back the
+extension source files, which shouldn't be included in the files, so make sure
+to double check that all files added by make update-plist should be included
+in the package.
 .Sh SEE ALSO
 .Xr port-modules 5

Reply via email to