Created an attachment (id=116152) [details]
dev-util/subversion-1.4.3.ebuild
--- /usr/portage/dev-util/subversion/subversion-1.4.3.ebuild 2007-03-22
17:35:41.000000000 +0100
+++ subversion-1.4.3.ebuild 2007-04-13 14:18:54.000000000 +0200
@@ -11,7 +11,7 @@
LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~sparc-fbsd
~x86 ~x86-fbsd"
-IUSE="apache2 berkdb python emacs perl java nls nowebdav ruby"
+IUSE="apache2 berkdb python emacs perl java nls nowebdav ruby doc"
RESTRICT="test"
COMMONDEPEND="apache2? ( ${APACHE2_DEPEND} )
@@ -29,7 +29,8 @@
DEPEND="${COMMONDEPEND}
java? ( >=virtual/jdk-1.4 )
- >=sys-devel/autoconf-2.59"
+ >=sys-devel/autoconf-2.59
+ doc? ( app-doc/doxygen )"
S=${WORKDIR}/${P/_rc/-rc}
@@ -153,6 +154,10 @@
elisp-compile ${S}/contrib/client-side/psvn/psvn.el || die
"emacs modules failed"
elisp-compile ${S}/contrib/client-side/vc-svn.el || die "emacs
modules failed"
fi
+
+ if use doc; then
+ doxygen doc/doxygen.conf
+ fi
}
@@ -252,6 +257,9 @@
mkdir -p ${D}/usr/share/doc/${PF}/
cp -r tools/{client-side,examples,hook-scripts}
${D}/usr/share/doc/${PF}/
cp -r contrib/hook-scripts ${D}/usr/share/doc/${PF}/
+ if use doc ; then
+ dohtml doc/doxygen/html/*
+ fi
docinto notes
for f in notes/*