# Template file for 'daemontools'
pkgname=daemontools
version=0.76
revision=3
create_wrksrc=yes
build_style=slashpackage
short_desc="A collection of tools for managing UNIX services"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Public Domain"
homepage="http://cr.yp.to/daemontools.html"
distfiles="http://cr.yp.to/daemontools/${pkgname}-${version}.tar.gz
 http://smarden.org/pape/djb/manpages/daemontools-${version}-man-20020131.tar.gz"
checksum="a55535012b2be7a52dcd9eccabb9a198b13be50d0384143bd3b32b8710df4c1f
 1b4d77afe0878a0df587672531a3f7bbe0feb7ad0e9acf50395426e3c434600a"

post_extract() {
	mv admin/$pkgname-$version/* .
}

post_install() {
	for m in ${wrksrc}/daemontools-man/*.8; do
		vman $m
	done
	vdoc ${wrksrc}/daemontools-man/README
}
