Changeset 36737 for trunk/doc-new


Ignore:
Timestamp:
May 13, 2008, 7:37:37 PM (11 years ago)
Author:
markd@…
Message:

Tweak binpath information.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc-new/guide/xml/portfile-variables.xml

    r35811 r36737  
    22<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
    4 
    54<section id="reference.variables">
    65  <title>Global Variables</title>
     
    98  of additional variables available to ports that are assigned to a MacPorts
    109  Portgroup, see portgroup(7).</para>
     10
    1111  <para>All of these variables except <varname>prefix</varname> are
    1212  read-only!</para>
     
    2727
    2828    <varlistentry>
    29       <term>binpath</term>
     29      <term>x11prefix</term>
    3030
    3131      <listitem>
    32         <para>Default PATH to use in finding executables.</para>
     32        <para>Absolute path to X11.</para>
    3333      </listitem>
    3434    </varlistentry>
     
    113113        <!-- TODO: which value have the variables? -->
    114114
    115         <para>Value: <varname>${sysportpath}/distfiles/${dist_subdir}/</varname></para>
     115        <para>Value:
     116        <varname>${sysportpath}/distfiles/${dist_subdir}/</varname></para>
    116117      </listitem>
    117118    </varlistentry>
     
    137138
    138139      <listitem>
    139         <para>Identifies platform type (ie "darwin", "freebsd",
    140         etc).</para>
     140        <para>Identifies platform type (ie "darwin", "freebsd", etc).</para>
    141141      </listitem>
    142142    </varlistentry>
     
    177177
    178178    <varlistentry>
    179       <term>x11prefix</term>
     179      <term>binpath</term>
    180180
    181181      <listitem>
    182         <para>Absolute path to X11.</para>
     182        <para>Sets the directory search path for locating system executables
     183        (rsync, tar, etc.) during port installation. Only applications in
     184        these directories are available while ports are being installed even
     185        if other paths are specified by $PATH in a user's environment. </para>
     186
     187        <para>Default:
     188        ${prefix}/bin:${prefix}/sbin:/bin:/sbin:/usr/bin:/usr/sbin:${x11prefix}/bin</para>
     189
     190        <note>
     191          <para>The binpath is implicitly defined, but it may be overwritten
     192          by defining the variable in macports.conf. However, using a
     193          non-default binpath is discouraged and should only be performed by
     194          advanced users.</para>
     195        </note>
    183196      </listitem>
    184197    </varlistentry>
    185 
    186198  </variablelist>
    187199</section>
Note: See TracChangeset for help on using the changeset viewer.