summaryrefslogtreecommitdiff
blob: 73536fdcad22ae90c75342788d8650e52f610e62 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdiff3/kdiff3-0.9.95.ebuild,v 1.2 2009/04/06 11:40:43 scarabeus Exp $

EAPI="2"

KDE_LINGUAS="ar bg br cs cy da de el en_GB es et fr ga gl hi hu it ja ka lt nb
nds nl pl pt pt_BR ro ru rw sv ta tg tr uk zh_CN"
inherit kde4-base

DESCRIPTION="KDE-based frontend to diff3"
HOMEPAGE="http://kdiff3.sourceforge.net/"
SRC_URI="mirror://sourceforge/kdiff3/${P}.tar.gz"

SLOT="1"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="debug htmlhandbook"

RDEPEND=">=kde-base/libkonq-${KDE_MINIMAL}
	sys-apps/diffutils
	!kde-misc/kdiff3:0"

src_prepare() {
	# fix handbook
	if ! use htmlhandbook; then
		sed -i \
			-e "/add_subdirectory(doc)*$/ s/^#DONOTWANT //" \
			"${S}"/CMakeLists.txt || die "removing docs failed"
	fi
}