# Template file for 'doxygen'
pkgname=doxygen
version=1.7.2
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=1f6de57f7fe9acc65dc86bbdade21fc84bd013b66daeebc497e16e3a54ad91a1
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++
}
