Override the name of the setup script from
setup.rb. Another common value is
install.rb.

This table shows the selected variables available
to port authors via the ports infrastructure. These variables
are used to install files into their proper locations.
Use them in pkg-plist as much as
possible. Do not redefine these variables in the port.

TableÂ 6.26.Â Selected Read-Only Variables for Ports That Use
Ruby

Variable

Description

Example value

RUBY_PKGNAMEPREFIX

Used as a PKGNAMEPREFIX to
distinguish packages for different Ruby
versions.

ruby19-

RUBY_VERSION

Full version of Ruby in the form of
x.y.z[.p].

1.9.3.484

RUBY_SITELIBDIR

Architecture independent libraries installation
path.

/usr/local/lib/ruby/site_ruby/1.9

RUBY_SITEARCHLIBDIR

Architecture dependent libraries installation
path.

/usr/local/lib/ruby/site_ruby/1.9/amd64-freebsd10

RUBY_MODDOCDIR

Module documentation installation path.

/usr/local/share/doc/ruby19/patsy

RUBY_MODEXAMPLESDIR

Module examples installation path.

/usr/local/share/examples/ruby19/patsy

A complete list of available variables can be found in
/usr/ports/Mk/bsd.ruby.mk.