2010-02-20 02:27:06 +01:00
|
|
|
# Template file for 'mdocml'
|
|
|
|
pkgname=mdocml
|
2014-08-11 07:38:19 +02:00
|
|
|
version=1.13.1
|
2014-09-22 14:30:59 +02:00
|
|
|
revision=2
|
2014-08-11 07:38:19 +02:00
|
|
|
makedepends="sqlite-devel"
|
2014-03-13 15:05:13 +01:00
|
|
|
replaces="groff>=0 man-db>=0"
|
2010-02-20 02:27:06 +01:00
|
|
|
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
|
2010-02-20 02:27:06 +01:00
|
|
|
|
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
|
2011-10-21 18:12:51 +02:00
|
|
|
|
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}
|
2014-09-22 14:30:59 +02:00
|
|
|
# Daily cron job to generate man db
|
|
|
|
vinstall ${FILESDIR}/makewhatis.cron.daily 755 etc/cron.daily makewhatis
|
2011-01-11 13:55:47 +01:00
|
|
|
}
|