void-packages/srcpkgs/mdocml/template
2014-11-22 08:15:22 +01:00

24 lines
743 B
Text

# Template file for 'mdocml'
pkgname=mdocml
version=1.13.1
revision=3
build_style=gnu-makefile
makedepends="sqlite-devel"
replaces="groff>=0 man-db>=0"
short_desc="The mandoc UNIX manpage compiler toolset"
maintainer="Juan RP <xtraeme@gmail.com>"
license="ISC"
homepage="http://mdocml.bsd.lv"
distfiles="${homepage}/snapshots/mdocml-$version.tar.gz"
checksum=7a18e728dc8555b1095bf7edbf086e1d6afb5508c06a7baecfd0b0e448648bf9
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
}