void-packages/srcpkgs/mdocml/template

27 lines
730 B
Plaintext
Raw Normal View History

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