BSD Ports

textproc/doclifter 2.22 NetBSD

Translates documents written in troff macros to DocBook

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

Description

The doclifter program translates documents written in troff macros to DocBook.

Lifting documents from presentation level to semantic level is hard, and a really good job requires human polishing. This tool aims to do everything that can be mechanized, and to preserve any troff-level information that might have structural implications in XML comments.

This tool does most of the hard parts, but not all. TBL tables diagrams are translated into DocBook table markup and and PIC into SVG, but EQN is not translated.

Test loads are included in the distribution. The code has been tested in about the most brutal possible way; it has been run against every single man page in all sections of a full installation of Red Hat 9 with Fedore Core 1 updates. It lifts 96% of 9836 pages without requiring any hand-hacking required.

In the other systems

SystemPortVersion
NetBSDtextproc/doclifter2.22
OpenBSDtextproc/doclifter2.22

Install

Binary package:

pkgin install doclifter

From pkgsrc:

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

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.22
NetBSD 10.1 aarch642.22
SmartOS / illumos x86_642.22
macOS 15 arm642.22

Dependencies

Run dependencies 1

No port depends on this one.