blob: 9e84d2d96f47a90fed93c1a4362c09b25cb1bb01 (
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.94-r1.ebuild,v 1.3 2009/02/25 01:04:24 josejx 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}[kdeprefix=]
sys-apps/diffutils
!kdeprefix? ( !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
}
|