# Template file for 'outils'
pkgname=outils
version=0.2
revision=4
build_style=gnu-makefile
make_install_args="install install-calendars"
makedepends="libressl-devel"
depends="gcc"  # for cpp(1)
conflicts="signify>=0 openbsd-rs>=0 vis-git>=0"
short_desc="Some non-standard OpenBSD tools"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="ISC, BSD"
homepage="https://github.com/chneukirchen/outils"
distfiles="https://github.com/chneukirchen/${pkgname}/archive/v${version}.tar.gz"
checksum=e37626abd95ada936250938f4142161f70dae8247257db946708d6a87e785ddc

do_build() {
	make ${makejobs} CC="$CC" CFLAGS="$CFLAGS"
}

pre_install() {
	vmkdir usr/share/man/man1
	vmkdir usr/share/man/man8
}

post_install() {
	rm ${DESTDIR}/usr/bin/cksum ${DESTDIR}/usr/share/man/man1/cksum.1
}
