summaryrefslogtreecommitdiff
blob: 1906ecb95e4a93ef83c2b9de09121c257d7947b3 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/rkward/rkward-0.4.9b.ebuild,v 1.1 2009/08/01 12:24:11 bicatali Exp $

EAPI="2"

ARTS_REQUIRED="never"

inherit eutils kde

DESCRIPTION="An IDE/GUI for the R-project"
HOMEPAGE="http://rkward.sourceforge.net/"
SRC_URI="mirror://sourceforge/rkward/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="dev-lang/R"
RDEPEND="${DEPEND}
	dev-lang/php[cli]
	!>=sci-mathematics/rkward-0.5
	!>=kde-base/kdelibs-4"

need-kde 3

src_install() {
	# rbackend needed directory (R-2.5.0 broken)
	dodir /usr/$(get_libdir)/R/library
	kde_src_install
	# already provided by R
	rm -f "${D}"/usr/$(get_libdir)/R/library/R.css
	# already provided by kdelibs
	rm -f "${D}"/share/apps/katepart/syntax/r.xml
}