# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit kde eutils DESCRIPTION="kdissert is a mind-mapping tool to help students write texts such as dissertations, theses, and reports. It features both a mindmap view and a li near view, and several document generators (LaTeX text and slides, OpenOffice.o rg writer, HTML, and plain text)." HOMEPAGE="http://freehackers.org/~tnagy/kdissert/index.html" SRC_URI="http://freehackers.org/~tnagy/kdissert/${P}.tar.bz2" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86" IUSE="doc" DEPEND="" RDEPEND="" need-kde 3.2 src_compile() { if ! use doc ; then sed -e 's:SUBDIRS = src po doc:SUBDIRS = src po:' \ -i 'Makefile' || die "disabling documentation failed" fi ./configure \ --prefix=/usr || die "kdissert config failed." emake || die } src_install() { make \ prefix=${D}/usr \ exec_prefix=${D}/usr \ datadir=${D}/usr/share \ libdir=${D}/usr/lib install || die if use doc ; then dodoc AUTHORS COPYING README fi }