# Template file for 'doxygen'
pkgname=doxygen
version=1.8.0
distfiles="http://ftp.stack.nl/pub/users/dimitri/$pkgname-$version.src.tar.gz"
makedepends="perl flex qt-devel"
revision=1
short_desc="Source code documentation generator tool"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.doxygen.org/"
license="GPL-2"
checksum=70fa9034bbe964654e95bdeffcefeb28cd4bf2f73dea8b951143f3cbd19cd533
long_desc="
 Doxygen is a documentation system for C++, C, Java, Objective-C, Python,
 IDL (Corba and Microsoft flavors), Fortran, VHDL, PHP, C#, and to some
 extent D."

subpackages="$pkgname-gui"

do_configure() {
	env QTDIR=/usr ./configure --prefix /usr --with-doxywizard --with-doxyapp
}

do_build() {
	make ${makejobs}
}

do_install() {
	make INSTALL=${DESTDIR}/usr MAN1DIR=share/man/man1 install
}
