# Template file for 'bsdbuild'
pkgname=bsdbuild
version=3.0
revision=1
build_style=gnu-configure
configure_args="--with-manpages --with-manlinks"
hostmakedepends="groff perl"
short_desc="Simple, self-contained and portable build system"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://hypertriton.com/bsdbuild/"
license="BSD"
distfiles="http://stable.hypertriton.com/bsdbuild/$pkgname-$version.tar.gz"
checksum=202fbadffcab04a395bd4b3cb786720fd034c862ecf74da603ab29fbbe423428
long_desc="
 BSDBuild is a simple, self-contained and portable build system derived from
 the traditional 4.4BSD share/mk files. BSDBuild uses BSD-style makefiles,
 but without BSD make extensions (it uses standard Bourne script fragments
 instead), so the build system is portable to most operating systems and make
 flavors.

 You never need to "regenerate" your makefiles when using BSDBuild, they are
 edited directly. This is one major advantage of BSDBuild over systems which
 use generated makefiles: BSDBuild is implemented as a library.

 BSDBuild can generate Bourne-type configure scripts. The base distribution
 currently includes over 90 built-in tests for detecting and testing the
 compatibility of various software, and writing new tests is easy."

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

bsdbuild_package() {
	depends="perl"
	noarch="yes"
	pkg_install() {
		vmove usr
	}
}