# Copyright 2001-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Sean Mitchell , updated Tom von Schwerdtner # $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.2.13.1.ebuild,v 1.3 2002/02/03 21:44:55 danarmak Exp $ S=${WORKDIR}/${P} DESCRIPTION="Doxygen is a documentation system for C++, Java, IDL (Corba, Microsoft and KDE-DCOP flavors) and C" SRC_URI="ftp://ftp.stack.nl/pub/users/dimitri/${P}.src.tar.gz" HOMEPAGE="http://www.doxygen.org" DEPEND="qt? ( =x11-libs/qt-2* )" src_unpack() { unpack ${A} cd ${S}/addon/doxywizard patch -p0 < ${FILESDIR}/${P}-gentoo.diff } src_compile() { use qt && CONFIGURE_OPTIONS="--with-doxywizard" QTDIR=/usr/qt/2 ./configure --install install --prefix ${D}/usr ${CONFIGURE_OPTIONS} || die make all || die } src_install() { make install || die dodoc README VERSION LICENSE LANGUAGE.HOWTO PLATFORMS }