# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils python kde distutils DESCRIPTION="NoteFinder is full-featured extensible desktop note-taking application." HOMEPAGE="http://code.google.com/p/notefinder" SRC_URI="http://notefinder.googlecode.com/files/${P}.tar.gz" IUSE="kde" LICENSE="BSD" SLOT="0" KEYWORDS="x86" DEPEND=">=dev-lang/python-2.5 >=dev-python/PyQt4-4.3 >=x11-libs/qt-4.3" use kde && need-kde 3.5 src_unpack() { unpack ${A} cd "${SN}" } src_compile() { :; } src_install() { cd ${WORKDIR}/${PN} dobin notefinder dodoc README data/doc/help.html cd ${WORKDIR}/${PN}/src distutils_src_install cd ${WORKDIR}/${PN}/data insinto /usr/share/notefinder doins icons/* domenu notefinder.desktop if use kde; then insinto $KDEDIR/share/apps/konqueror/servicemenus/ doins kde/* fi }