# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ MY_PN="Producer" OSG_PV="0.9.9" DESCRIPTION="Rendering window system for OpenGL. Used by Open Scene Graph." SRC_URI="http://www.openscenegraph.org/downloads/snapshots/OSG_OP_OT-${OSG_PV}.zip" HOMEPAGE="http://www.openscenegraph.org/" SLOT=0 LICENSE="LGPL-2" KEYWORDS="~x86" IUSE="doc" DEPEND="virtual/opengl virtual/x11 >=dev-libs/openthreads-1.3 doc? ( app-doc/doxygen )" RDEPEND="" S=${WORKDIR}/OSG_OP_OT-${OSG_PV}/${MY_PN} src_compile() { emake || die "emake failed" if use doc; then doxygen -u doc/doxy.cfg doxygen doc/doxy.cfg fi } src_install() { emake INST_LOCATION=${D}/usr install || die "emake failed" dodoc *.txt if use doc; then dohtml doc/* fi }