# ChangeLog for app-doc/doxygen
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/ChangeLog,v 1.50 2004/10/17 10:15:53 absinthe Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/ChangeLog,v 1.51 2004/10/24 00:52:10 nerdboy Exp $
+
+*doxygen-1.3.9.1 (23 Oct 2004)
+
+ 23 Oct 2004; Steve Arnold <nerdboy@gentoo.org> metadata.xml,
+ +doxygen-1.3.9.1.ebuild:
+ updated to current upstream release, several bug fixes and enhancements
+ (closes bug 67550)
17 Oct 2004; Dylan Carlson <absinthe@gentoo.org> doxygen-1.3.5-r1.ebuild,
doxygen-1.3.7.ebuild, doxygen-1.3.8.ebuild:
-MD5 bb83221afab75e294aef1a7c84bd57a8 ChangeLog 8537
+MD5 3e4a44ec957b8aaf0ffd22f9d1feb7af ChangeLog 8754
MD5 97da6f6830e99756addc4803644d1556 doxygen-1.3.5-r1.ebuild 2841
MD5 59789361a0f2c13b046ce2914cb0f562 doxygen-1.3.5.ebuild 2518
MD5 41714edfd55071a4abdec7f99942e253 doxygen-1.3.6.ebuild 2836
MD5 9b326e7942936f816a2d1f6afd793fb3 doxygen-1.3.7.ebuild 2845
-MD5 b0a0946d26e4c157e66cb81d8557b2f7 metadata.xml 375
+MD5 cf200318691ccdabdcdf603792fc907d metadata.xml 447
MD5 ba67d4f8fc44dd52b9d9b60d25def567 doxygen-1.3.8.ebuild 2846
+MD5 ab69d54a82f344e438b439f156e9e19b doxygen-1.3.9.1.ebuild 2571
MD5 6fbdec5b9c246aad6da7d0e897fc88c0 files/digest-doxygen-1.3.5 70
MD5 6fbdec5b9c246aad6da7d0e897fc88c0 files/digest-doxygen-1.3.5-r1 70
MD5 ad1b465c01ce64583c79c9ff8704a1db files/digest-doxygen-1.3.6 70
MD5 df3a9ba1fcea84b8601e1175a21de969 files/digest-doxygen-1.3.7 70
MD5 6cb85b7786622aeda41b6d098c09798e files/digest-doxygen-1.3.8 70
+MD5 6edbf7e40e4dca10e164fe9c79b61b92 files/digest-doxygen-1.3.9.1 72
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.3.9.1.ebuild,v 1.1 2004/10/24 00:52:10 nerdboy Exp $
+
+DESCRIPTION="Documentation and analysis tool for C++, C, Java, IDL, PHP and C#"
+HOMEPAGE="http://www.doxygen.org/"
+SRC_URI="ftp://ftp.stack.nl/pub/users/dimitri/${P}.src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~hppa ~amd64 ~ia64 ~ppc64"
+IUSE="doc qt tetex"
+
+RDEPEND="media-gfx/graphviz
+ qt? ( x11-libs/qt )
+ doc? ( tetex? ( virtual/tetex )
+ virtual/ghostscript )"
+DEPEND=">=sys-apps/sed-4
+ ${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # use CFLAGS and CXXFLAGS
+ sed -i.orig -e "s:^\(TMAKE_CFLAGS_RELEASE\t*\)= .*$:\1= ${CFLAGS}:" \
+ -e "s:^\(TMAKE_CXXFLAGS_RELEASE\t*\)= .*$:\1= ${CXXFLAGS}:" \
+ tmake/lib/linux-g++/tmake.conf
+}
+
+src_compile() {
+ # set ./configure options (prefix, Qt based wizard, docdir)
+ local confopts="--prefix ${D}/usr"
+ use qt && confopts="${confopts} --with-doxywizard"
+
+ # ./configure and compile
+ ./configure ${confopts} || die '"./configure" failed.'
+ emake all || die '"emake all" failed.'
+
+ # generate html and pdf (if tetex in use) documents.
+ # errors here are not considered fatal, hence the ewarn message
+ # TeX's font caching in /var/cache/fonts causes sandbox warnings,
+ # so we allow it.
+ if use doc; then
+ if use tetex; then
+ addwrite /var/cache/fonts
+ addwrite /usr/share/texmf/fonts/pk
+ addwrite /usr/share/texmf/ls-R
+ make pdf || ewarn '"make docs" failed.'
+ else
+ cp doc/Doxyfile doc/Doxyfile.orig
+ cp doc/Makefile doc/Makefile.orig
+ sed -i.orig -e "s/GENERATE_LATEX = YES/GENERATE_LATEX = NO/" doc/Doxyfile
+ sed -i.orig -e "s/@epstopdf/# @epstopdf/" \
+ -e "s/@cp Makefile.latex/# @cp Makefile.latex/" \
+ -e "s/@sed/# @sed/" doc/Makefile
+ make docs || ewarn '"make docs" failed.'
+ fi
+ fi
+}
+
+src_install() {
+ make install || die '"make install" failed.'
+
+ dodoc INSTALL LANGUAGE.HOWTO LICENSE README VERSION
+
+ # pdf and html manuals
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ if use tetex; then
+ doins latex/doxygen_manual.pdf
+ fi
+ dohtml -r html/*
+ fi
+}
+
+pkg_postinst() {
+
+ ewarn ""
+ einfo "The USE flags qt, doc, and tetex will enable doxywizard, or"
+ einfo "the html and pdf documentation, respectively. For examples"
+ einfo "and other goodies, see the source tarball. For some example"
+ einfo "output, run doxygen on the doxygen source using the Doxyfile"
+ einfo "provided in the top-level source dir."
+ ewarn ""
+}