| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/ggobi/ggobi-2.1.9.ebuild,v 1.3 2012/05/04 08:06:59 jdhore Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
inherit eutils autotools
|
| 7 |
|
| 8 |
DESCRIPTION="Visualization program for exploring high-dimensional data"
|
| 9 |
HOMEPAGE="http://www.ggobi.org/"
|
| 10 |
SRC_URI="http://www.ggobi.org/downloads/${P}.tar.bz2"
|
| 11 |
|
| 12 |
LICENSE="CPL-1.0"
|
| 13 |
SLOT="0"
|
| 14 |
KEYWORDS="~amd64 ~x86"
|
| 15 |
IUSE="doc minimal nls"
|
| 16 |
|
| 17 |
RDEPEND="media-gfx/graphviz
|
| 18 |
x11-libs/gtk+:2
|
| 19 |
dev-libs/libxml2:2"
|
| 20 |
DEPEND="${RDEPEND}
|
| 21 |
virtual/pkgconfig"
|
| 22 |
|
| 23 |
src_prepare() {
|
| 24 |
sed -i \
|
| 25 |
-e 's|ND_coord_i|ND_coord|' \
|
| 26 |
plugins/GraphLayout/graphviz.c || die
|
| 27 |
}
|
| 28 |
|
| 29 |
src_configure() {
|
| 30 |
econf \
|
| 31 |
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
| 32 |
--disable-rpath \
|
| 33 |
$(use_enable nls) \
|
| 34 |
$(use_with !minimal all-plugins)
|
| 35 |
}
|
| 36 |
|
| 37 |
src_compile() {
|
| 38 |
emake all ggobirc
|
| 39 |
}
|
| 40 |
|
| 41 |
src_install() {
|
| 42 |
default
|
| 43 |
insinto /etc/xdg/ggobi
|
| 44 |
doins ggobirc
|
| 45 |
use doc || rm "${ED}"/usr/share/doc/${PF}/*.pdf
|
| 46 |
}
|