BSD Ports

textproc/py-laserhammer 2.4_1 FreeBSD

Docbook to mdoc(7) converter

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD2CLAUSE
Categories
textproc, python
Package size
9.8 KiB, 29.1 KiB installed

Description

LaserHammer is a simple DocBook to mdoc(7) ("UNIX man page syntax") converter.

The command line utility resides in the scripts/ subdirectory; use it like this:

$ laserhammer book.parsed.xml book.7

The 7 above stands for section 7 of man pages, "miscellaneous documentation". The 'book.parsed.xml' is a processed XML source of the FreeBSD Handbook; you can use it as test sample. The 'book.7' is the example translated into mdoc.

There's also a rudimentary Python module. Use it like this:

import laserhammer
mdoc = laserhammer.laserhammer(file\_path) print(mdoc)

In the other systems

SystemPortVersion
FreeBSDtextproc/py-laserhammer2.4_1
DragonFlytextproc/py-laserhammer2.4_1

Install

Binary package:

pkg install py312-laserhammer

From the ports tree:

cd /usr/ports/textproc/py-laserhammer/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-laserhammer>0:textproc/py-laserhammer

Packages

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.4_12.4_12.42.4_12.4_1
FreeBSD:14:quarterly2.4_12.4_1n/a2.4_12.4_1
FreeBSD:15:latest2.4_12.4_1n/a2.4_12.4_1
FreeBSD:15:quarterly2.4_12.4_1n/an/an/a
FreeBSD:16:latest2.4_12.4_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 7

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Message after installing

===>   NOTICE:

The py312-laserhammer port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

distinfo 1
FileSizeSHA256
laserhammer-2.4.tar.gz473707650ab2d9e1cb7611e81734c0cea3db396a8b34e41e5d4ae209c6d596acbff3
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.