bentley d0f14baf60 Import doclifter-2.14.
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 the hard parts. TBL tables are translated into DocBook
table markup, PIC into SVG, and EQN into MathML (relying on pic2svg and
GNU eqn for the last two).

ok benoit@ schwarze@
2014-04-03 07:04:52 +00:00

32 lines
630 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2014/04/03 07:04:52 bentley Exp $
COMMENT = troff to DocBook converter
DISTNAME = doclifter-2.14
CATEGORIES = textproc
HOMEPAGE = http://www.catb.org/~esr/doclifter/
# BSD
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = http://www.catb.org/~esr/doclifter/
MODULES = lang/python
MODPY_BUILDDEP = No
MODPY_ADJ_FILES = doclifter manlifter
NO_BUILD = Yes
do-test:
cd ${WRKSRC}/tests && ${MAKE}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/doclifter ${WRKSRC}/manlifter \
${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/doclifter.1 ${WRKSRC}/manlifter.1 \
${PREFIX}/man/man1
.include <bsd.port.mk>