# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="GGobi is an open source visualization program for exploring high-dimensional data." HOMEPAGE="http://www.ggobi.org/" SRC_URI="http://www.ggobi.org/downloads/${P}.tar.bz2" LICENSE="GPL" SLOT="0" KEYWORDS="~x86" IUSE="debug nls" RDEPEND=">=x11-libs/gtk+-2.6 " DEPEND="${RDEPEND} sys-devel/autoconf nls? ( sys-devel/gettext ) " src_compile() { econf $(use_enable debug) \ $(use_enable nls) \ --with-all-plugins \ || die "Error: econf failed!" emake || die "Error: emake failed!" } src_install() { emake DESTDIR="${D}" install || die "make install failed" emake ggobirc || die "make ggobirc failed" dodir "/etc/xdg/ggobi" cp ggobirc "${D}"/etc/xdg/ggobi/ggobirc dodoc AUTHORS ChangeLog COPYING CPLicense.txt NEWS README }