| # Copyright 1999-2009 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Header: /var/cvsroot/gentoo-x86/kde-misc/krusader/krusader-2.0.0-r1.ebuild,v 1.4 2009/10/18 18:20:17 maekke Exp $ |
| |
| EAPI="2" |
| |
| KDE_LINGUAS="bg bs ca cs da de el es fr hu it ja ko lt nl pl pt pt_BR ru sk sl |
| sr sv tr uk zh_CN" |
| inherit kde4-base |
| |
| MY_P="${P/_/-}" |
| |
| DESCRIPTION="An advanced twin-panel (commander-style) file-manager for KDE with many extras." |
| HOMEPAGE="http://www.krusader.org/" |
| SRC_URI="mirror://sourceforge/krusader/${MY_P}.tar.gz" |
| LICENSE="GPL-2" |
| |
| SLOT="2" |
| KEYWORDS="amd64 ~ppc ~ppc64 x86" |
| IUSE="debug doc" |
| |
| RDEPEND="" |
| DEPEND="${RDEPEND} |
| sys-devel/gettext |
| " |
| |
| PATCHES=( |
| "${FILESDIR}/2.0.0_beta2-gcc44.patch" |
| ) |
| |
| S="${WORKDIR}/${MY_P}" |
| |
| src_prepare() { |
| if ! use doc; then |
| sed -i \ |
| -e "s:^add_subdirectory([[:space:]]doc[[:space:]]):#nodoc:g" \ |
| CMakeLists.txt || die "removing docs failed" |
| fi |
| sed -i \ |
| -e "s:set(CMAKE_VERBOSE_MAKEFILE[[:space:]]ON):#NADA:g" \ |
| CMakeLists.txt # non fatal sed :] |
| kde4-base_src_prepare |
| } |