# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/gqview/gqview-2.0.1.ebuild,v 1.9 2006/10/27 22:38:03 mr_bones_ Exp $ inherit eutils MY_P=Fox-20061029SVN #S= ${WORKDIR}/${MY_P} DESCRIPTION="ObjCryst++ : object-oriented Crystallographic Library, for the analysis of Crystal structures from scattering experiments: optimized scattering computation, Graphical interface for structures and data, global optimization algorithms" HOMEPAGE="http://objcryst.sourceforge.net" SRC_URI="mirror://sourceforge/objcryst/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="doc" RDEPEND="x11-libs/gtk+ x11-base/xorg-x11 media-libs/mesa" DEPEND="${RDEPEND}" src_compile() { cd "${WORKDIR}/${MY_P}" emake doc || "make doc failed" emake || die "make failed" } src_install() { cd "${WORKDIR}/${MY_P}" #install binary Fox dobin src/Fox #install doc if use doc; then dodoc README LICENSE ChangeLog dohtml src-doc/* fi # Install the examples insinto /usr/share/doc/${PF}/examples/ doins -r example/* }