Correct example showing markup of ports to use <package> tag.

This commit is contained in:
Warren Block 2013-12-08 15:43:22 +00:00
parent 72f4e4107a
commit 703a1c1873
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=43298

View file

@ -1594,20 +1594,17 @@ This is the file called 'foo2'</screen>
<para>To include the name of a program from the &os;
Ports Collection in the document, use the
<tag>filename</tag> tag with the
<literal>role</literal> attribute set to
<literal>package</literal>. Since ports can be installed in
<tag>package</tag> tag. Since ports can be installed in
any number of locations, only include the category and the
port name; do not include
<filename>/usr/ports</filename>.</para>
<example>
<title><tag>filename</tag> Tag with
<literal>package</literal> Role</title>
<title><tag>package</tag> Tag</title>
<para>Usage:</para>
<programlisting><tag class="starttag">para</tag>Install the <tag class="starttag">filename role="package"</tag>net/wireshark<tag class="endtag">filename</tag> port to view network traffic.<tag class="endtag">para</tag></programlisting>
<programlisting><tag class="starttag">para</tag>Install the <tag class="starttag">package</tag>net/wireshark<tag class="endtag">package</tag> port to view network traffic.<tag class="endtag">para</tag></programlisting>
<para>Appearance:</para>