Files
macports-guide/guide/xml/portgroup-ruby.xml
Rainer Müller 10a4e35aa9 Add xlink XML namespace to all root elements
In order to convert <link xlink:href=""> for external links correctly,
the xlink XML namespace has to be declared explicitly.
2018-05-01 16:35:13 +02:00

64 lines
1.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
"http://docbook.org/xml/5.0/dtd/docbook.dtd">
<section xml:id="reference.portgroup.ruby" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>PortGroup ruby</title>
<para>PortGroup ruby allows for efficient porting of ruby-based open
source software.</para>
<section xml:id="reference.portgroup.ruby.variables">
<title>ruby PortGroup Specific Variables</title>
<para>When the ruby PortGroup is declared within a Portfile, the
following variables are provided during port install.</para>
<variablelist>
<varlistentry>
<term>ruby.version</term>
<listitem>
<para>The MacPorts Ruby version.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>ruby.bin</term>
<listitem>
<para>The Ruby binary location.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>ruby.lib</term>
<listitem>
<para>Path to the Ruby vendorlibdir directory (i.e.,
<filename>${prefix}/lib/ruby/vendor_ruby/${ruby.version}</filename>)</para>
</listitem>
</varlistentry>
<varlistentry>
<term>ruby.arch</term>
<listitem>
<para>The name for the Ruby architecture-dependent directory name
(i.e., <literal>i686-darwin8.10.1</literal>).</para>
</listitem>
</varlistentry>
<varlistentry>
<term>ruby.archlib</term>
<listitem>
<para>Path to the Ruby vendor archdir (i.e.,
<filename>${ruby.lib}/${ruby.arch}</filename>).</para>
</listitem>
</varlistentry>
</variablelist>
</section>
</section>