summaryrefslogtreecommitdiff
blob: 2e32fa9aa0505ee46c45b70119ab9db3ada70673 (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
42
43
# Copyright 1999-2008 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.1 2008/07/25 13:25:20 carlo 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"

SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""

DEPEND="|| ( kde-base/kate:3.5 kde-base/kdebase:3.5 )"
RDEPEND="${DEPEND}
	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"
}