summaryrefslogtreecommitdiff
blob: 1a5282161d343ff3147437e7d8393da8f4f9e5e1 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/kscope/kscope-1.6.2.ebuild,v 1.7 2009/10/12 11:09:13 ssuominen Exp $

EAPI=1
ARTS_REQUIRED="never"
inherit kde

DESCRIPTION="KScope is a KDE front-end to Cscope."
HOMEPAGE="http://kscope.sourceforge.net/"
SRC_URI="mirror://sourceforge/kscope/${P}.tar.gz"

LICENSE="BSD"
SLOT="3.5"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""

RDEPEND="kde-base/kate:3.5
	media-gfx/graphviz
	dev-util/ctags
	>=dev-util/cscope-15.5-r4"
DEPEND="${RDEPEND}
	sys-devel/flex
	sys-devel/bison"

need-kde 3.5

PATCHES=( "${FILESDIR}/kscope-1.6.1-desktop-entry.diff" )

src_unpack() {
	kde_src_unpack
	rm -f "${S}"/configure
}

src_install() {
	kde_src_install

	insinto /usr/share/config
	doins "${FILESDIR}"/${PN}rc
}