# Template file for 'doxygen'
pkgname=doxygen
version=1.8.17
revision=1
build_style=cmake
hostmakedepends="git perl python flex"
short_desc="Source code documentation generator tool"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://www.doxygen.org/"
distfiles="http://doxygen.nl/files/doxygen-${version}.src.tar.gz"
checksum=2cba988af2d495541cbbe5541b3bee0ee11144dcb23a81eada19f5501fd8b599

build_options="wizard"
desc_option_wizard="build Qt5 GUI configuration tool, doxywizard"

if [ "$build_option_wizard" ]; then
	configure_args+=" -Dbuild_wizard=1"
	makedepends+=" qt5-devel"
fi

post_install() {
	vman doc/doxygen.1
	if [ "$build_option_wizard" ]; then
		vman doc/doxywizard.1
	fi
}
