# Template file for 'bmkdep'
pkgname=bmkdep
version=20140112
revision=4
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-makefile
make_cmd="bmake"
make_install_args="MK_INSTALL_AS_USER=yes MANTARGET=man MANDIR=/usr/share/man"
hostmakedepends="bmake groff"
short_desc="Construct Makefile dependency list"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-2-Clause"
homepage="https://github.com/trociny/bmkdep"
distfiles="https://github.com/trociny/${pkgname}/archive/${pkgname}-${version}.tar.gz"
checksum=0e63b2e1aa6086e0c928197cc68c66dc180894f18abb159d84e6fe40a259c27f

post_install() {
	awk '/\/\*-/,/\*\//' mkdep.c >LICENSE
	vlicense LICENSE
}
