# Template file for 'doxygen'
pkgname=doxygen
version=1.7.0
distfiles="http://ftp.stack.nl/pub/users/dimitri/$pkgname-$version.src.tar.gz"
build_style=configure
configure_script="env QTDIR=/usr ./configure"
configure_args="--prefix /usr --with-doxywizard --with-doxyapp"
make_install_target="
INSTALL=$XBPS_DESTDIR/$pkgname-$version/usr
MAN1DIR=share/man/man1 install"
short_desc="Source code documentation generator tool"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=c842a485b82061b0456f7b83295cf7f0d7afa864398ce9521c12033a46b60eaa
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"
Add_dependency run glibc
Add_dependency run libgcc
Add_dependency run libstdc++
Add_dependency build perl
Add_dependency build flex
Add_dependency build qt-devel

pre_build()
{
	export QMAKESPEC=/usr/share/qt/mkspecs/linux-g++
}
