void-packages/srcpkgs/mdocml/template

26 lines
909 B
Plaintext

# Template file for 'mdocml'
pkgname=mdocml
version=1.10.9
distfiles="http://mdocml.bsd.lv/snapshots/mdocml-$version.tar.gz"
build_style=gnu_makefile
make_install_args="MANDIR=/usr/share/man BINDIR=/usr/bin
EXAMPLEDIR=/usr/share/examples/mdocml PREFIX=/usr"
short_desc="mdoc macro compiler"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=053b86d21edae5a80ecf6fe0927ab0e7dfaccbdec82eff98b4ef331d66ca8b65
long_desc="
mdocml is a suite of tools compiling -mdoc, the roff macro package of
choice for BSD manual pages, and -man, the predominant historical package
for UNIX manuals. The mission of mdocml is to deprecate groff, the GNU roff
implementation, for displaying -mdoc pages whilst providing token support
for -man."
Add_dependency run glibc
post_install()
{
# roff.7 conflicts with groff, so rename it.
mv ${DESTDIR}/usr/share/man/man7/roff.7 \
${DESTDIR}/usr/share/man/man7/mandoc_roff.7
}