pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/doc doc/pkgsrc.*: regen
details: https://anonhg.NetBSD.org/pkgsrc/rev/a2c47df0f5d4
branches: trunk
changeset: 389275:a2c47df0f5d4
user: gutteridge <gutteridge%pkgsrc.org@localhost>
date: Sat Dec 03 02:21:09 2022 +0000
description:
doc/pkgsrc.*: regen
diffstat:
doc/pkgsrc.html | 2349 +++++++++++++++++++++++++++---------------------------
doc/pkgsrc.txt | 1573 ++++++++++++++++++------------------
2 files changed, 1987 insertions(+), 1935 deletions(-)
diffs (truncated from 5212 to 300 lines):
diff -r 8f6cc308f8bf -r a2c47df0f5d4 doc/pkgsrc.html
--- a/doc/pkgsrc.html Sat Dec 03 02:17:44 2022 +0000
+++ b/doc/pkgsrc.html Sat Dec 03 02:21:09 2022 +0000
@@ -239,6 +239,7 @@
<dt><span class="sect2"><a href="#echo-literal">15.3.2. Echoing a string exactly as-is</a></span></dt>
<dt><span class="sect2"><a href="#cflags-gnu-configure">15.3.3. Passing <code class="varname">CFLAGS</code> to GNU configure scripts</a></span></dt>
<dt><span class="sect2"><a href="#empty-variables">15.3.4. Handling possibly empty variables</a></span></dt>
+<dt><span class="sect2"><a href="#makefile.yesno">15.3.5. Testing yes/no variables in conditions</a></span></dt>
</dl></dd>
</dl></dd>
<dt><span class="chapter"><a href="#options">16. Options handling</a></span></dt>
@@ -653,7 +654,6 @@
<td align="center">Dec 2002</td>
<td>
<a class="ulink" href="https://cdn.NetBSD.org/pub/pkgsrc/current/pkgsrc/bootstrap/README.IRIX" target="_top">README.IRIX</a>
- <a class="ulink" href="https://cdn.NetBSD.org/pub/pkgsrc/current/pkgsrc/bootstrap/README.IRIX5.3" target="_top">README.IRIX5.3</a>
</td>
</tr>
<tr>
@@ -717,7 +717,7 @@
<tr>
<td><a class="ulink" href="https://www.bitrig.org/" target="_top">Bitrig</a></td>
<td align="center">Jun 2014</td>
-<td><a class="ulink" href="https://cdn.NetBSD.org/pub/pkgsrc/current/pkgsrc/bootstrap/README.Bitrig" target="_top">README.Bitrig</a></td>
+<td>Removed from pkgsrc Sep 2022</td>
</tr>
</tbody>
</table></div>
@@ -830,7 +830,7 @@
<span class="quote">“<span class="quote">normal</span>”</span> user privileges are sufficient. We use a
<code class="prompt">#</code> for root's shell prompt, a <code class="prompt">%</code> for users'
shell prompt, assuming they use the C-shell or tcsh and a <code class="prompt">$</code> for
- bourne shell and derivatives.</p>
+ Bourne shell and derivatives.</p>
</div>
</div>
<div class="part">
@@ -3209,6 +3209,7 @@
<dt><span class="sect2"><a href="#echo-literal">15.3.2. Echoing a string exactly as-is</a></span></dt>
<dt><span class="sect2"><a href="#cflags-gnu-configure">15.3.3. Passing <code class="varname">CFLAGS</code> to GNU configure scripts</a></span></dt>
<dt><span class="sect2"><a href="#empty-variables">15.3.4. Handling possibly empty variables</a></span></dt>
+<dt><span class="sect2"><a href="#makefile.yesno">15.3.5. Testing yes/no variables in conditions</a></span></dt>
</dl></dd>
</dl></dd>
<dt><span class="chapter"><a href="#options">16. Options handling</a></span></dt>
@@ -5573,6 +5574,7 @@
<dt><span class="sect2"><a href="#echo-literal">15.3.2. Echoing a string exactly as-is</a></span></dt>
<dt><span class="sect2"><a href="#cflags-gnu-configure">15.3.3. Passing <code class="varname">CFLAGS</code> to GNU configure scripts</a></span></dt>
<dt><span class="sect2"><a href="#empty-variables">15.3.4. Handling possibly empty variables</a></span></dt>
+<dt><span class="sect2"><a href="#makefile.yesno">15.3.5. Testing yes/no variables in conditions</a></span></dt>
</dl></dd>
</dl>
</div>
@@ -5755,7 +5757,7 @@
<code class="code">${EGFILES}</code> is replaced with an empty string by <a class="citerefentry" href="https://man.NetBSD.org/NetBSD-9.2/i386/make.1"><span class="citerefentry"><span
class="refentrytitle">make</span>(1)</span></a>.
To fix this syntax error, use one of the snippets below.</p>
<pre class="programlisting">
-EMPTY= # empty
+EGFILES= # empty
install-examples:
for egfile in ${EGFILES} ""; do \
@@ -5778,6 +5780,23 @@
<p>To have a shell command test whether a make variable is empty, use
the following code: <code class="code">${TEST} -z ${POSSIBLY_EMPTY:Q}""</code>.</p>
</div>
+<div class="sect2">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="makefile.yesno"></a>15.3.5. Testing yes/no variables in conditions</h3></div></div></div>
+<p>When a variable can have the values <code class="literal">yes</code> or
+<code class="literal">no</code>, use the following pattern to test the variable:</p>
+<pre class="programlisting">
+.if ${VAR:U:tl} == "yes"
+# do something
+.endif
+</pre>
+<p>The <code class="literal">:U</code> modifier is only necessary if the variable
+can be undefined. If the variable is guaranteed to be defined, the
+<code class="literal">:U</code> can be omitted.</p>
+<p>The <code class="literal">:tl</code> modifier converts the variable value to
+lowercase, allowing for the values <code class="literal">yes</code>,
+<code class="literal">Yes</code>, <code class="literal">YES</code>.</p>
+</div>
</div>
</div>
<div class="chapter">
@@ -11902,106 +11921,110 @@
</tr>
<tr>
<td>BLAS_LIBS</td>
+<td>BLAS_PC</td>
+</tr>
+<tr>
<td>BLAS_TYPE</td>
-</tr>
-<tr>
<td>BOOTSTRAP_DEPENDS</td>
+</tr>
+<tr>
<td>BROKEN</td>
-</tr>
-<tr>
<td>BROKEN_EXCEPT_ON_PLATFORM</td>
+</tr>
+<tr>
<td>BROKEN_ON_PLATFORM</td>
-</tr>
-<tr>
<td>BSDSRCDIR</td>
+</tr>
+<tr>
<td>BSDXSRCDIR</td>
-</tr>
-<tr>
<td>BSD_MAKE_ENV</td>
+</tr>
+<tr>
<td>BUILDLINK_AUTO_DIRS</td>
-</tr>
-<tr>
<td>BUILDLINK_AUTO_VARS</td>
+</tr>
+<tr>
<td>BUILDLINK_CFLAGS</td>
-</tr>
-<tr>
<td>BUILDLINK_CONTENTS_FILTER</td>
+</tr>
+<tr>
<td>BUILDLINK_CPPFLAGS</td>
-</tr>
-<tr>
<td>BUILDLINK_FILES</td>
+</tr>
+<tr>
<td>BUILDLINK_FILES_CMD</td>
-</tr>
-<tr>
<td>BUILDLINK_FNAME_TRANSFORM</td>
+</tr>
+<tr>
<td>BUILDLINK_LDFLAGS</td>
-</tr>
-<tr>
<td>BUILDLINK_LIBS</td>
+</tr>
+<tr>
<td>BUILDLINK_OPSYS_SUPPORT_PTHREAD</td>
-</tr>
-<tr>
<td>BUILDLINK_PKGNAME</td>
+</tr>
+<tr>
<td>BUILDLINK_PREFIX</td>
-</tr>
-<tr>
<td>BUILDLINK_RPATHDIRS</td>
+</tr>
+<tr>
<td>BUILDLINK_TREE</td>
-</tr>
-<tr>
<td>BUILD_DEFS</td>
+</tr>
+<tr>
<td>BUILD_DEFS_EFFECTS</td>
-</tr>
-<tr>
<td>BUILD_DEPENDS</td>
+</tr>
+<tr>
<td>BUILD_DIRS</td>
-</tr>
-<tr>
<td>BUILD_ENV_SHELL</td>
+</tr>
+<tr>
<td>BUILD_MAKE_CMD</td>
-</tr>
-<tr>
<td>BUILD_MAKE_FLAGS</td>
+</tr>
+<tr>
<td>BUILD_TARGET</td>
-</tr>
-<tr>
<td>BUILTIN_FIND_FILES</td>
+</tr>
+<tr>
<td>BUILTIN_FIND_FILES_VAR</td>
-</tr>
-<tr>
<td>BUILTIN_FIND_GREP</td>
+</tr>
+<tr>
<td>BUILTIN_FIND_HEADERS</td>
-</tr>
-<tr>
<td>BUILTIN_FIND_HEADERS_VAR</td>
+</tr>
+<tr>
<td>BUILTIN_FIND_PKGCONFIG</td>
-</tr>
-<tr>
<td>BUILTIN_FIND_PKGCONFIG_VAR</td>
+</tr>
+<tr>
<td>BUILTIN_PKG</td>
-</tr>
-<tr>
<td>BUILTIN_TEST_CURSES_DEFINES</td>
+</tr>
+<tr>
<td>BUILTIN_TEST_CURSES_FUNCS</td>
-</tr>
-<tr>
<td>BUILTIN_VERSION_SCRIPT</td>
+</tr>
+<tr>
<td>BUILTIN_X11_TYPE</td>
-</tr>
-<tr>
<td>BUILTIN_X11_VERSION</td>
+</tr>
+<tr>
<td>CACTI_GROUP</td>
-</tr>
-<tr>
<td>CACTI_USER</td>
+</tr>
+<tr>
<td>CANNA_GROUP</td>
-</tr>
-<tr>
<td>CANNA_USER</td>
+</tr>
+<tr>
<td>CAT</td>
-</tr>
-<tr>
<td>CBLAS_LIBS</td>
+</tr>
+<tr>
+<td>CBLAS_PC</td>
<td>CCACHE_BASE</td>
</tr>
<tr>
@@ -12510,2219 +12533,2227 @@
</tr>
<tr>
<td>GO_SRCPATH</td>
-<td>GO_VERSION_DEFAULT</td>
-</tr>
-<tr>
<td>GROUP_SPECIFIC_PKGS</td>
+</tr>
+<tr>
<td>GRUB_NETWORK_CARDS</td>
-</tr>
-<tr>
<td>GRUB_PRESET_COMMAND</td>
+</tr>
+<tr>
<td>GRUB_SCAN_ARGS</td>
-</tr>
-<tr>
<td>GZIP</td>
+</tr>
+<tr>
<td>HASKELL_ENABLE_DYNAMIC_EXECUTABLE</td>
-</tr>
-<tr>
<td>HASKELL_ENABLE_HADDOCK_DOCUMENTATION</td>
+</tr>
+<tr>
<td>HASKELL_ENABLE_LIBRARY_PROFILING</td>
-</tr>
-<tr>
<td>HASKELL_ENABLE_SHARED_LIBRARY</td>
+</tr>
+<tr>
<td>HASKELL_OPTIMIZATION_LEVEL</td>
-</tr>
-<tr>
+<td>HASKELL_PKG_NAME</td>
+</tr>
+<tr>
+<td>HASKELL_UNRESTRICT_DEPENDENCIES</td>
<td>HAS_CONFIGURE</td>
+</tr>
+<tr>
<td>HEADER_TEMPLATES</td>
-</tr>
-<tr>
<td>HOMEPAGE</td>
+</tr>
+<tr>
<td>HOST_PKGTOOLS_ARGS</td>
-</tr>
-<tr>
Home |
Main Index |
Thread Index |
Old Index