pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/doc regen



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ffae3ac10d9
branches:  trunk
changeset: 529352:9ffae3ac10d9
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Jun 01 14:57:54 2007 +0000

description:
regen

diffstat:

 doc/pkgsrc.html |  1216 +++++++++++++++++++++++++++--------------------------
 doc/pkgsrc.txt  |  1230 +++++++++++++++++++++++++++---------------------------
 2 files changed, 1229 insertions(+), 1217 deletions(-)

diffs (truncated from 4283 to 300 lines):

diff -r 8764ff425a61 -r 9ffae3ac10d9 doc/pkgsrc.html
--- a/doc/pkgsrc.html   Fri Jun 01 11:07:24 2007 +0000
+++ b/doc/pkgsrc.html   Fri Jun 01 14:57:54 2007 +0000
@@ -346,7 +346,7 @@
 <dd><dl>
 <dt><span class="sect2"><a href="#install-scripts">18.6.1. Creating needed directories</a></span></dt>
 <dt><span class="sect2"><a href="#where-to-install-documentation">18.6.2. Where to install documentation</a></span></dt>
-<dt><span class="sect2"><a href="#installing-score-files">18.6.3. Installing score files</a></span></dt>
+<dt><span class="sect2"><a href="#installing-score-files">18.6.3. Installing highscore files</a></span></dt>
 <dt><span class="sect2"><a href="#hardcoded-paths">18.6.4. Packages with hardcoded paths to other interpreters</a></span></dt>
 <dt><span class="sect2"><a href="#perl-modules">18.6.5. Packages installing perl modules</a></span></dt>
 <dt><span class="sect2"><a href="#faq.info-files">18.6.6. Packages installing info files</a></span></dt>
@@ -937,7 +937,7 @@
 
 </p>
 <pre class="programlisting">
-    release=pkgsrc
+release=pkgsrc
 </pre>
 <p>
 
@@ -1506,7 +1506,7 @@
        don't have a termcap/terminfo entry for it, but the following .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 class="sect3" lang="en">
@@ -1616,7 +1616,7 @@
 
       </p>
 <pre class="programlisting">
-       PKGSRC_COMPILER=        mipspro
+PKGSRC_COMPILER=        mipspro
       </pre>
 <p>
 
@@ -1643,8 +1643,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="margin-left: 0.5in; margin-right: 0.5in;">
 <h3 class="title">Note</h3>
@@ -1659,7 +1659,7 @@
 <p>After bootstrapping, you should set <code class="varname">PKGSRC_COMPILER</code>
       in <code 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
       <code class="filename">/opt/intel_cc_80</code>, which
@@ -1667,7 +1667,7 @@
       directory, set <code class="varname">ICCBASE</code> in
       <code 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 libraries
       provided by icc, so binaries can be run on other systems which do not
@@ -1711,11 +1711,11 @@
          as well. You can 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></div>
@@ -1770,10 +1770,10 @@
 <p>You should set the following variables in your
        <code class="filename">mk.conf</code> file:</p>
 <pre class="programlisting">
-    CC=     cc
-    CXX=    CC
-    CPP=    cc -E
-    CXXCPP= CC -E
+CC=     cc
+CXX=    CC
+CPP=    cc -E
+CXXCPP= CC -E
 </pre>
 <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
 <h3 class="title">Note</h3>
@@ -1789,8 +1789,8 @@
        following lines in your <code class="filename">mk.conf</code>
        file:</p>
 <pre class="programlisting">
-    PKGSRC_COMPILER=        sunpro
-    ABI=                    64
+PKGSRC_COMPILER=        sunpro
+ABI=                    64
 </pre>
 <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
 <h3 class="title">Note</h3>
@@ -1808,8 +1808,8 @@
       scripts, for example by installing <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/shells/bash/README.html"; target="_top"><code class="filename">shells/bash</code></a> and adding the 
following lines
       to your <code class="filename">mk.conf</code>:</p>
 <pre class="programlisting">
-       CONFIG_SHELL=   ${LOCALBASE}/bin/bash
-       WRAPPER_SHELL=  ${LOCALBASE}/bin/bash
+CONFIG_SHELL=   ${LOCALBASE}/bin/bash
+WRAPPER_SHELL=  ${LOCALBASE}/bin/bash
       </pre>
 <p>Then, rebuild the <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/devel/libtool-base/README.html"; target="_top"><code class="filename">devel/libtool-base</code></a> package.</p>
 </div>
@@ -2455,7 +2455,7 @@
        please make sure to use the <code class="literal">+=</code> operator
        instead of the <code class="literal">=</code> operator:</p>
 <pre class="programlisting">
-    CFLAGS+=        -your -flags
+CFLAGS+=        -your -flags
 </pre>
 <p>Using <code class="varname">CFLAGS=</code> (i.e. without the
        &#8220;<span class="quote">+</span>&#8221;) may lead to problems with packages that need
@@ -2477,7 +2477,7 @@
 <code class="varname">CFLAGS</code>, if you do not wish to override these
 settings, use the <code class="literal">+=</code> operator:</p>
 <pre class="programlisting">
-    LDFLAGS+=        -your -linkerflags
+LDFLAGS+=        -your -linkerflags
 </pre>
 </div>
 </div>
@@ -2676,15 +2676,15 @@
        As used in this example, <code class="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
-       </pre>
+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>
 <p>Some options that are especially useful for bulk builds
        can be found at the top lines of the file
        <code class="filename">mk/bulk/bsd.bulk-pkg.mk</code>. The most useful
@@ -2767,11 +2767,11 @@
       version of ssh for some reason, be sure to install ssh before
       starting it from <code 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
-      </pre>
+(cd /usr/pkgsrc/security/ssh &amp;&amp; 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 log in
       via ssh after the bulk build is finished or if the machine
       gets rebooted or crashes. You have been warned! :)</p>
@@ -3109,18 +3109,18 @@
 When pkgsrc has been installed as root, the default locations
 are:</p>
 <pre class="programlisting">
-    LOCALBASE=              /usr/pkg
-    PKG_SYSCONFBASE=        /usr/pkg/etc
-    VARBASE=                /var
-    PKG_DBDIR=              /var/db/pkg
+LOCALBASE=              /usr/pkg
+PKG_SYSCONFBASE=        /usr/pkg/etc
+VARBASE=                /var
+PKG_DBDIR=              /var/db/pkg
 </pre>
 <p>In unprivileged mode (when pkgsrc has been installed as any other
 user), the default locations are:</p>
 <pre class="programlisting">
-    LOCALBASE=              ${HOME}/pkg
-    PKG_SYSCONFBASE=        ${HOME}/pkg/etc
-    VARBASE=                ${HOME}/pkg/var
-    PKG_DBDIR=              ${HOME}/pkg/var/db/pkg
+LOCALBASE=              ${HOME}/pkg
+PKG_SYSCONFBASE=        ${HOME}/pkg/etc
+VARBASE=                ${HOME}/pkg/var
+PKG_DBDIR=              ${HOME}/pkg/var/db/pkg
 </pre>
 <p>What these four directories are for, and what they look like is
 explained below.</p>
@@ -3284,7 +3284,7 @@
 </ul></div>
 <p>To subscribe, do:</p>
 <pre class="programlisting">
-    <code class="prompt">%</code> echo subscribe <em class="replaceable"><code>listname</code></em> | mail majordomo%NetBSD.org@localhost
+<code class="prompt">%</code> echo subscribe <em class="replaceable"><code>listname</code></em> | mail majordomo%NetBSD.org@localhost
 </pre>
 <p>Archives for all these mailing lists are available from
 <a href="http://mail-index.NetBSD.org/"; target="_top">http://mail-index.NetBSD.org/</a>.</p>
@@ -3412,10 +3412,10 @@
 <code class="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>
 <div class="sect1" lang="en">
@@ -3426,7 +3426,7 @@
 ...), you will have to add the following line into
 <code class="filename">/etc/mk.conf</code>:</p>
 <pre class="programlisting">
-    X11_TYPE=XFree86
+X11_TYPE=XFree86
 </pre>
 </div>
 <div class="sect1" lang="en">
@@ -3437,7 +3437,7 @@
 you will have to add the following line into
 <code class="filename">/etc/mk.conf</code>:</p>
 <pre class="programlisting">
-    X11_TYPE=xorg
+X11_TYPE=xorg
 </pre>
 <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
 <h3 class="title">Note</h3>
@@ -3456,8 +3456,8 @@
 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>
 <div class="sect1" lang="en">
@@ -3551,9 +3551,9 @@
 <span class="emphasis"><em>after</em></span> the definition of the
 <code class="varname">LOCALBASE</code> variable:</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>
 <div class="sect1" lang="en">
@@ -3858,7 +3858,7 @@
 <dd><dl>
 <dt><span class="sect2"><a href="#install-scripts">18.6.1. Creating needed directories</a></span></dt>
 <dt><span class="sect2"><a href="#where-to-install-documentation">18.6.2. Where to install documentation</a></span></dt>
-<dt><span class="sect2"><a href="#installing-score-files">18.6.3. Installing score files</a></span></dt>
+<dt><span class="sect2"><a href="#installing-score-files">18.6.3. Installing highscore files</a></span></dt>
 <dt><span class="sect2"><a href="#hardcoded-paths">18.6.4. Packages with hardcoded paths to other interpreters</a></span></dt>
 <dt><span class="sect2"><a href="#perl-modules">18.6.5. Packages installing perl modules</a></span></dt>
 <dt><span class="sect2"><a href="#faq.info-files">18.6.6. Packages installing info files</a></span></dt>
@@ -3949,17 +3949,17 @@
 <code class="varname">BUILD_DEPENDS</code> instead of <code class="varname">DEPENDS</code>.
 Your package may then look like this:</p>
 <pre class="programlisting">
-    [...]
+[...]
 
-    BUILD_DEPENDS+= lua&gt;=5.0:../../lang/lua
-    DEPENDS+=       screen-[0-9]*:../../misc/screen
-    DEPENDS+=       screen&gt;=4.0:../../misc/screen
+BUILD_DEPENDS+= lua&gt;=5.0:../../lang/lua
+DEPENDS+=       screen-[0-9]*:../../misc/screen
+DEPENDS+=       screen&gt;=4.0:../../misc/screen
 
-    [...]
+[...]



Home | Main Index | Thread Index | Old Index