# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" KMNAME="extragear" inherit kde4-base DESCRIPTION="KDE-based frontend to diff3" HOMEPAGE="http://kdiff3.sourceforge.net/" SRC_URI="mirror://kde/stable/4.2.0/src/extragear/${P}.tar.bz2" SLOT="4.2" LICENSE="GPL-2" KEYWORDS="~amd64 ~x86" IUSE="debug htmlhandbook" RDEPEND="kde-base/konqueror:${SLOT}" src_prepare() { # fix handbook if ! use htmlhandbook; then sed -i \ -e "/add_subdirectory(doc)*$/ s/^#DONOTWANT //" \ "${S}"/CMakeLists.txt || die "removing docs failed" fi }