pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc regenerated.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f36aa0cd301
branches:  trunk
changeset: 501446:3f36aa0cd301
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Oct 23 11:33:53 2005 +0000

description:
regenerated.

diffstat:

 doc/pkgsrc.html |  947 ++++++++++++++++++++++++++++---------------------------
 doc/pkgsrc.txt  |  926 +++++++++++++++++++++++++++---------------------------
 2 files changed, 942 insertions(+), 931 deletions(-)

diffs (truncated from 3265 to 300 lines):

diff -r f6dc7611b874 -r 3f36aa0cd301 doc/pkgsrc.html
--- a/doc/pkgsrc.html   Sun Oct 23 11:25:58 2005 +0000
+++ b/doc/pkgsrc.html   Sun Oct 23 11:33:53 2005 +0000
@@ -88,8 +88,8 @@
       <p><b>Table of Contents</b></p>
 
       <dl>
-        <dt><span class="chapter"><a href="#introduction">1.
-        Introduction</a></span></dt>
+        <dt><span class="chapter"><a href="#introduction">1. What
+        is pkgsrc?</a></span></dt>
 
         <dd>
           <dl>
@@ -800,6 +800,10 @@
                     <dt><span class="sect2"><a href=
                     "#cpp-defines">15.4.1. CPP
                     defines</a></span></dt>
+
+                    <dt><span class="sect2"><a href=
+                    "#cpp-list">15.4.2. Getting a list of CPP
+                    defines</a></span></dt>
                   </dl>
                 </dd>
 
@@ -980,7 +984,8 @@
         <div>
           <div>
             <h2 class="title"><a name="introduction" id=
-            "introduction"></a>Chapter&nbsp;1.&nbsp;Introduction</h2>
+            "introduction"></a>Chapter&nbsp;1.&nbsp;What is
+            pkgsrc?</h2>
           </div>
         </div>
       </div>
@@ -1655,7 +1660,7 @@
           via the Software Update Protocol, SUP. To do so, make
           sure your supfile has a line</p>
           <pre class="programlisting">
-release=pkgsrc
+    release=pkgsrc
 </pre>
 
           <p>in it, see the examples in <code xmlns=
@@ -2265,7 +2270,7 @@
               .termcap entry provides adequate emulation in most
               cases:</p>
               <pre class="programlisting">
-interix:kP=\E[S:kN=\E[T:kH=\E[U:dc@:DC@:tc=pcansi:
+    interix:kP=\E[S:kN=\E[T:kH=\E[U:dc@:DC@:tc=pcansi:
 </pre>
             </div>
           </div>
@@ -2335,7 +2340,7 @@
             <p>If you are using SGI's MIPSPro compiler, please
             set</p>
             <pre class="programlisting">
-PKGSRC_COMPILER=mipspro
+    PKGSRC_COMPILER=        mipspro
 </pre>
 
             <p>in <code xmlns=
@@ -2381,8 +2386,8 @@
             <p>To bootstrap using icc, assuming the default icc
             installation directory:</p>
             <pre class="programlisting">
-env CC=/opt/intel_cc_80/bin/icc LDFLAGS=-static-libcxa \
-                ac_cv___attribute__=yes ./bootstrap
+    env CC=/opt/intel_cc_80/bin/icc LDFLAGS=-static-libcxa \
+            ac_cv___attribute__=yes ./bootstrap
 </pre>
 
             <div class="note" style=
@@ -2406,7 +2411,7 @@
             "http://www.w3.org/TR/xhtml1/transitional"; class=
             "filename">/etc/mk.conf</code>:</p>
             <pre class="programlisting">
-PKGSRC_COMPILER=icc
+    PKGSRC_COMPILER=        icc
 </pre>
 
             <p>The default installation directory for icc is
@@ -2418,7 +2423,7 @@
             "http://www.w3.org/TR/xhtml1/transitional"; class=
             "filename">/etc/mk.conf</code>:</p>
             <pre class="programlisting">
-ICCBASE=/opt/icc
+    ICCBASE=                /opt/icc
 </pre>
 
             <p>pkgsrc uses the static linking method of the runtime
@@ -2501,11 +2506,11 @@
                   work around this by enclosing all the
                   pkgsrc-specific parts of the file with:</p>
                   <pre class="programlisting">
-.ifdef BSD_PKG_MK
-# pkgsrc stuff, e.g. insert defaults/mk.conf or similar here
-.else
-# OpenBSD stuff
-.endif
+    .ifdef BSD_PKG_MK
+    # pkgsrc stuff, e.g. insert defaults/mk.conf or similar here
+    .else
+    # OpenBSD stuff
+    .endif
 </pre>
                 </li>
               </ol>
@@ -2631,15 +2636,15 @@
               "http://www.w3.org/TR/xhtml1/transitional"; class=
               "filename">/etc/mk.conf</code>, e.g.:</p>
               <pre class="programlisting">
-CC=     cc
-CXX=    CC
-CPP=    /usr/ccs/lib/cpp
+    CC=     cc
+    CXX=    CC
+    CPP=    /usr/ccs/lib/cpp
 </pre>
 
               <p>You may also want to build 64-bit binaries,
               e.g.:</p>
               <pre class="programlisting">
-CFLAGS= -xtarget=ultra -xarch=v9
+    CFLAGS= -xtarget=ultra -xarch=v9
 </pre>
 
               <p>Whichever compiler you use, please ensure the
@@ -3505,18 +3510,17 @@
           <span><strong class="command">make
           show-options</strong></span>, for example:</p>
           <pre class="programlisting">
-      The following options are supported by this package:
-      ssl      Enable SSL support.
-      Exactly one of the following gecko options is required:
-      firefox  Use firefox as gecko rendering engine.
-      mozilla  Use mozilla as gecko rendering engine.
-      At most one of the following database options may be selected:
-      mysql    Enable support for MySQL database.
-      pgsql    Enable support for PostgreSQL database.
-
-      These options are enabled by default: firefox
-      These options are currently enabled: mozilla ssl
-    
+    The following options are supported by this package:
+    ssl      Enable SSL support.
+    Exactly one of the following gecko options is required:
+    firefox  Use firefox as gecko rendering engine.
+    mozilla  Use mozilla as gecko rendering engine.
+    At most one of the following database options may be selected:
+    mysql    Enable support for MySQL database.
+    pgsql    Enable support for PostgreSQL database.
+
+    These options are enabled by default: firefox
+    These options are currently enabled: mozilla ssl
 </pre>
 
           <p>The following variables can be defined in <code xmlns=
@@ -3793,14 +3797,14 @@
               "varname">_ACCEPTABLE=yes</code> accepts <span class=
               "emphasis"><em>all</em></span> licenses.</p>
               <pre class="programlisting">
-PACKAGES?=      ${_PKGSRCDIR}/packages/${MACHINE_ARCH}
-WRKOBJDIR?=     /usr/tmp/pkgsrc   # build here instead of in pkgsrc
-BSDSRCDIR=      /usr/src
-BSDXSRCDIR=     /usr/xsrc         # for x11/xservers
-OBJHOSTNAME?=   yes               # use work.`hostname`
-FAILOVER_FETCH= yes               # insist on the correct checksum
-PKG_DEVELOPER?= yes
-_ACCEPTABLE=    yes
+    PACKAGES?=      ${_PKGSRCDIR}/packages/${MACHINE_ARCH}
+    WRKOBJDIR?=     /usr/tmp/pkgsrc   # build here instead of in pkgsrc
+    BSDSRCDIR=      /usr/src
+    BSDXSRCDIR=     /usr/xsrc         # for x11/xservers
+    OBJHOSTNAME?=   yes               # use work.`hostname`
+    FAILOVER_FETCH= yes               # insist on the correct checksum
+    PKG_DEVELOPER?= yes
+    _ACCEPTABLE=    yes
 </pre>
             </div>
 
@@ -3910,10 +3914,10 @@
             <code xmlns="http://www.w3.org/TR/xhtml1/transitional";
             class="filename">rc.local</code>:</p>
             <pre class="programlisting">
-( cd /usr/pkgsrc/security/ssh ; make bulk-install )
-if [ -f /usr/pkg/etc/rc.d/sshd ]; then
-    /usr/pkg/etc/rc.d/sshd
-fi
+    ( cd /usr/pkgsrc/security/ssh ; make bulk-install )
+    if [ -f /usr/pkg/etc/rc.d/sshd ]; then
+        /usr/pkg/etc/rc.d/sshd
+    fi
 </pre>
 
             <p>Not doing so will result in you being not able to
@@ -4731,7 +4735,7 @@
 
           <p>To subscribe, do:</p>
           <pre class="programlisting">
-<code class="prompt">%</code> echo subscribe <em class=
+    <code class="prompt">%</code> echo subscribe <em class=
 "replaceable"><code>listname</code></em> | mail majordomo%NetBSD.org@localhost
 </pre>
 
@@ -5098,10 +5102,10 @@
           "filename">wget</code> to resume downloads, you'll have
           to use something like:</p>
           <pre class="programlisting">
-FETCH_CMD=wget
-FETCH_BEFORE_ARGS=--passive-ftp
-FETCH_RESUME_ARGS=-c
-FETCH_OUTPUT_ARGS=-O
+    FETCH_CMD=             wget
+    FETCH_BEFORE_ARGS=     --passive-ftp
+    FETCH_RESUME_ARGS=     -c
+    FETCH_OUTPUT_ARGS=     -O
 </pre>
         </div>
 
@@ -5127,7 +5131,7 @@
           "http://www.w3.org/TR/xhtml1/transitional"; class=
           "filename">/etc/mk.conf</code>:</p>
           <pre class="programlisting">
-X11_TYPE=XFree86
+    X11_TYPE=XFree86
 </pre>
         </div>
 
@@ -5153,7 +5157,7 @@
           "http://www.w3.org/TR/xhtml1/transitional"; class=
           "filename">/etc/mk.conf</code>:</p>
           <pre class="programlisting">
-X11_TYPE=xorg
+    X11_TYPE=xorg
 </pre>
         </div>
 
@@ -5178,8 +5182,8 @@
           firewalls, and it uses port 80 as the proxy port number.
           So the proxy environment variables are:</p>
           <pre class="programlisting">
-ftp_proxy=ftp://orpheus.amdahl.com:80/
-http_proxy=http://orpheus.amdahl.com:80/
+    ftp_proxy=ftp://orpheus.amdahl.com:80/
+    http_proxy=http://orpheus.amdahl.com:80/
 </pre>
         </div>
 
@@ -5411,9 +5415,9 @@
           "http://www.w3.org/TR/xhtml1/transitional"; class=
           "filename">/etc/mk.conf</code>:</p>
           <pre class="programlisting">
-.if exists(${LOCALBASE}/bin/sudo)
-SU_CMD=${LOCALBASE}/bin/sudo /bin/sh -c
-.endif
+    .if exists(${LOCALBASE}/bin/sudo)
+    SU_CMD=        ${LOCALBASE}/bin/sudo /bin/sh -c
+    .endif
 </pre>
         </div>
 
@@ -5949,6 +5953,10 @@
                   <dt><span class="sect2"><a href=
                   "#cpp-defines">15.4.1. CPP
                   defines</a></span></dt>
+
+                  <dt><span class="sect2"><a href=
+                  "#cpp-list">15.4.2. Getting a list of CPP
+                  defines</a></span></dt>
                 </dl>
               </dd>
 
@@ -6174,14 +6182,14 @@
                 than one is used, they need to be separated by
                 spaces:</p>
                 <pre class="programlisting">
-archivers     cross         geography     meta-pkgs     security
-audio         databases     graphics      misc          shells
-benchmarks    devel         ham           multimedia    sysutils
-biology       editors       inputmethod   net           textproc
-cad           emulators     lang          news          time
-chat          finance       mail          parallel      wm
-comms         fonts         math          pkgtools      www
-converters    games         mbone         print         x11
+    archivers     cross         geography     meta-pkgs     security
+    audio         databases     graphics      misc          shells
+    benchmarks    devel         ham           multimedia    sysutils
+    biology       editors       inputmethod   net           textproc
+    cad           emulators     lang          news          time
+    chat          finance       mail          parallel      wm
+    comms         fonts         math          pkgtools      www
+    converters    games         mbone         print         x11
 </pre>
               </li>
 
@@ -6193,27 +6201,26 @@
                 <p>The <code class="varname">MASTER_SITES</code>
                 may make use of the following predefined sites:</p>
                 <pre class="programlisting">



Home | Main Index | Thread Index | Old Index