BSD Ports

textproc/mandoc 1.14.6nb3 NetBSD

Convert man pages from mdoc, man, eqn and tbl to txt, html, ps, or pdf

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
2-clause-bsd
Categories
textproc, devel
Package size
269.0 KiB, 3083.4 KiB installed

Description

The mandoc manual page parser and formatter package contains: * the man(1) program to display manual pages * the apropos(1) program to search for manual pages * semantic search, regular expressions, and logical operators * the makewhatis(8) program to build manual page databases * the catman(8) program for bulk formatting of many pages * the man.cgi(8) program to serve manual pages on the web * complete validating parsers for the mdoc(7) and man(7) languages * slightly incomplete parsers for the tbl(7) and eqn(7) languages * support for some selected roff(7) requests that occur in manuals * complete ASCII, UTF-8, and HTML text output formatters * simple PostScript and PDF output formatters * translators from the mdoc(7) to the man(7) and markdown languages * output formatters producing indented mdoc(7) and man(7) parse trees

To format manuals for console display, it can be used as a smaller and faster drop-in replacement for nroff -mandoc. Some rare manuals using lots of uncommon low-level roff requests may not work with mandoc but require a full roff implementation.

In the other systems

SystemPortVersion
NetBSDtextproc/mandoc1.14.6nb3
FreeBSDtextproc/mandoc1.14.6_3
DragonFlytextproc/mandoc1.14.6_2
MidnightBSDtextproc/mandoc1.14.6_2

Install

Binary package:

pkgin install mandoc

From pkgsrc:

cd /usr/pkgsrc/textproc/mandoc && make install clean

Dependencies

No port depends on this one.