blob: 24ab67189263bb40b3d1129bd34997ffbfc5ac2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY mandoc-download-http "https://mandoc.bsd.lv/snapshots/mandoc-&mandoc-version;.tar.gz">
<!ENTITY mandoc-download-ftp " ">
<!ENTITY mandoc-md5sum "f0adf24e8fdef5f3e332191f653e422a">
<!ENTITY mandoc-size "684 KB">
<!ENTITY mandoc-buildsize "22 MB (with tests)">
<!ENTITY mandoc-time "less than 0.1 SBU (with tests)">
]>
<sect1 id="mandoc" xreflabel="mandoc-&mandoc-version;">
<?dbhtml filename="mandoc.html"?>
<title>mandoc-&mandoc-version;</title>
<indexterm zone="mandoc">
<primary sortas="a-mandoc">mandoc</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to mandoc</title>
<para>
mandoc is an utility to format manual pages.
</para>
&lfs121_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&mandoc-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&mandoc-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &mandoc-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &mandoc-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &mandoc-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &mandoc-time;
</para>
</listitem>
</itemizedlist>
</sect2>
<sect2 role="installation">
<title>Installation of mandoc</title>
<para>
Many utilities provided by <application>mandoc</application> conflicts
with <application>Man-DB</application> in LFS. Only build the
<command>mandoc</command> command:
</para>
<screen><userinput>./configure &&
make mandoc</userinput></screen>
<para>
To test the package, issue: <command>make regress</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>install -vm755 mandoc /usr/bin &&
install -vm644 mandoc.1 /usr/share/man/man1</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<seglistitem>
<seg>
mandoc
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="mandoc-prog">
<term><command>mandoc</command></term>
<listitem>
<para>
Formats manual pages
</para>
<indexterm zone="mandoc mandoc-prog">
<primary sortas="b-mandoc-prog">mandoc</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>
|