void-packages/srcpkgs/mdocml/template

27 lines
730 B
Plaintext

# Template file for 'mdocml'
pkgname=mdocml
version=1.13.1
revision=2
makedepends="sqlite-devel"
replaces="groff>=0 man-db>=0"
short_desc="mdoc macro compiler"
maintainer="Juan RP <xtraeme@gmail.com>"
license="ISC"
homepage="http://mdocml.bsd.lv"
distfiles="${homepage}/snapshots/mdocml-$version.tar.gz"
checksum=7a18e728dc8555b1095bf7edbf086e1d6afb5508c06a7baecfd0b0e448648bf9
do_build() {
make ${makejobs}
}
do_install() {
make MANDIR=/usr/share/man BINDIR=/usr/bin \
EXAMPLEDIR=/usr/share/examples/mdocml \
PREFIX=/usr DESTDIR=${DESTDIR} install
# remove devel stuff.
rm -rf ${DESTDIR}/usr/{include,lib}
# Daily cron job to generate man db
vinstall ${FILESDIR}/makewhatis.cron.daily 755 etc/cron.daily makewhatis
}