diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2008-05-09 22:50:51 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2008-05-09 22:50:51 +0000 |
commit | 9b68cddd9561046a8e9822bc990b33f2c23785d4 (patch) | |
tree | 2dacf1c1570e20384012952e27446956315780f2 /media-libs | |
parent | amd64 stable, bug #214615 (diff) | |
download | gentoo-2-9b68cddd9561046a8e9822bc990b33f2c23785d4.tar.gz gentoo-2-9b68cddd9561046a8e9822bc990b33f2c23785d4.tar.bz2 gentoo-2-9b68cddd9561046a8e9822bc990b33f2c23785d4.zip |
Installing doc on request. Bug #220969
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/cal3d/ChangeLog | 5 | ||||
-rw-r--r-- | media-libs/cal3d/cal3d-0.11.0-r1.ebuild | 29 |
2 files changed, 29 insertions, 5 deletions
diff --git a/media-libs/cal3d/ChangeLog b/media-libs/cal3d/ChangeLog index 9d8808883705..ae4edd691ced 100644 --- a/media-libs/cal3d/ChangeLog +++ b/media-libs/cal3d/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/cal3d # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/cal3d/ChangeLog,v 1.28 2008/04/27 21:36:45 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/cal3d/ChangeLog,v 1.29 2008/05/09 22:50:51 tupone Exp $ + + 09 May 2008; Tupone Alfredo <tupone@gentoo.org> cal3d-0.11.0-r1.ebuild: + Installing doc on request. Bug #220969 by Richard F. Ostrow Jr. 27 Apr 2008; Tupone Alfredo <tupone@gentoo.org> +files/cal3d-0.11.0-gcc43.patch, metadata.xml, cal3d-0.11.0-r1.ebuild: diff --git a/media-libs/cal3d/cal3d-0.11.0-r1.ebuild b/media-libs/cal3d/cal3d-0.11.0-r1.ebuild index d77bbc14670e..b36a12c70d08 100644 --- a/media-libs/cal3d/cal3d-0.11.0-r1.ebuild +++ b/media-libs/cal3d/cal3d-0.11.0-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/cal3d/cal3d-0.11.0-r1.ebuild,v 1.6 2008/04/27 21:36:45 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/cal3d/cal3d-0.11.0-r1.ebuild,v 1.7 2008/05/09 22:50:51 tupone Exp $ -inherit eutils +inherit eutils autotools DESCRIPTION="Cal3D is a skeletal based character animation library" HOMEPAGE="http://home.gna.org/cal3d" @@ -11,14 +11,25 @@ SRC_URI="http://download.gna.org/cal3d/sources/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 ~ia64 ppc x86 ~x86-fbsd" -IUSE="16bit-indices debug" +IUSE="16bit-indices debug doc" -DEPEND="" +DEPEND="doc? ( + app-doc/doxygen + app-text/docbook-sgml-utils + )" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-gcc43.patch + if use doc; then + sed -i \ + -e "s:db2html:docbook2html:g" \ + configure.in \ + docs/Makefile.am \ + || die "sed for doc failed" + eautoreconf + fi } src_compile() { @@ -27,8 +38,18 @@ src_compile() { $(use_enable 16bit-indices) \ || die emake || die + if use doc; then + cd docs + emake doc-api || die "Failed making doc-api" + emake doc-guide || die "Failed making doc-guide" + mkdir -p html/{guide,api} + mv *.{html,gif} html/guide/ + mv api/html/* html/api/ + fi } src_install() { + dodoc AUTHORS ChangeLog README TODO einstall || die + use doc && dohtml -r docs/html/* } |