mdocml: add daily cron job to run makewhatis(8).

This commit is contained in:
Juan RP 2014-09-22 14:30:59 +02:00
parent b517d751d5
commit 7b8c26b05a
2 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1,3 @@
#!/bin/sh
/sbin/makewhatis -a -Tutf8
exit 0

View File

@ -1,7 +1,7 @@
# Template file for 'mdocml'
pkgname=mdocml
version=1.13.1
revision=1
revision=2
makedepends="sqlite-devel"
replaces="groff>=0 man-db>=0"
short_desc="mdoc macro compiler"
@ -14,7 +14,6 @@ checksum=7a18e728dc8555b1095bf7edbf086e1d6afb5508c06a7baecfd0b0e448648bf9
do_build() {
make ${makejobs}
}
do_install() {
make MANDIR=/usr/share/man BINDIR=/usr/bin \
EXAMPLEDIR=/usr/share/examples/mdocml \
@ -22,4 +21,6 @@ do_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
}