summaryrefslogtreecommitdiff
blob: a2da322eb8718307eeacb6a7767adf9a117322e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-sci/labplot/labplot-1.2.3.ebuild,v 1.5 2004/07/03 22:10:59 carlo Exp $

inherit eutils kde

MY_P=${PN/labp/LabP}-${PVR/_/.}
S="${WORKDIR}/${MY_P}"

DESCRIPTION="LabPlot is a program for two- and three-dimensional graphical presentation of data sets and functions"
HOMEPAGE="http://mitarbeiter.mbi-berlin.de/gerlach/Linux/LabPlot/"
SRC_URI="http://mitarbeiter.mbi-berlin.de/gerlach/Linux/LabPlot/src/${MY_P}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc"
RESTRICT="nomirror"

SLOT="0"
IUSE="doc fftw imagemagick tiff"

MAKEOPTS="${MAKEOPTS} -j1"

DEPEND=">=dev-libs/gsl-1.3
	fftw? ( >=dev-libs/fftw-2.1.5 )
	imagemagick? ( >=media-gfx/imagemagick-5.5.6-r1 )
	>=media-gfx/pstoedit-3.33
	tiff? ( >=media-libs/tiff-3.5.5 )
	>=media-libs/jasper-1.700.5-r1"
need-kde 3.1

src_install() {
	dodir /usr/share/doc/HTML/en/LabPlot/
	kde_src_install
	if use doc ; then
		insinto /usr/share/doc/${PF}/examples
		doins   ${S}/examples/*
		insinto /usr/share/doc/${PF}/examples/data
		doins   ${S}/examples/data/*
	fi
}