BSD Ports

textproc/unroff 1.0.2nb1 NetBSD

Programmable troff translator with backend for HTML

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
e282cfb26b
Categories
textproc
Package size
74.5 KiB, 266.5 KiB installed

Description

Unroff is a Scheme-based, programmable, extensible troff translator with a back-end for the Hypertext Markup Language.

Unroff reads and parses UNIX troff documents and translates the embedded markup into a different format. Neither the actual output format nor any knowledge about particular troff macro sets (-man, -ms, etc.) are hard-wired into unroff. Instead, the translation process is controlled by a set of user-supplied procedures written in the Scheme programming language.

Translation rules for new output formats and troff macro packages can be added easily by providing a corresponding set of Scheme procedures (a `back-end'). Version 1.0 of unroff includes back-ends for translating documents using the `man' and `ms' macros into the Hypertext Markup Language (HTML) version 2.0. Additional requests facilitate use of arbitrary hypertext links in troff documents.

In the other systems

SystemPortVersion
NetBSDtextproc/unroff1.0.2nb1
FreeBSDtextproc/unroff1.0.2_5
DragonFlytextproc/unroff1.0.2_5
HardenedBSDtextproc/unroff1.0.2_5
GhostBSDtextproc/unroff1.0.2_5

Install

Binary package:

pkgin install unroff

From pkgsrc:

cd /usr/pkgsrc/textproc/unroff && 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_641.0.2nb1
NetBSD 10.1 aarch641.0.2nb1
SmartOS / illumos x86_64-
macOS 15 arm64-

Dependencies

Run dependencies 1

No port depends on this one.

Commit history 2

DateCommitCreditsLog message
e282cfb26b wiz *: add LDFLAGS overide that was previously in mk
This is a workaround and should be fixed properly per-package - they should use the pkgsrc LDFLAGS, but this restores what happened before the mk/ cleanup. Fixes relro build for packages that do not honor LDFLAGS. Package list provided by mef@, thanks! Workaround commit requested by bsiegert on tech-pkg.
875dbc2057 wiz mk: switch the default for PATCH_DIST_STRIP from -p0 to -p1
adapt packages that didn't set PATCH_DIST_STRIP to use -p0, and remove the -p1 lines