# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-dicts/kannadic/kannadic-2.0.3.ebuild,v 1.5 2005/12/26 11:14:16 corsair Exp $ DESCRIPTION="Canna, Anthy and Dixchange dictionary editor for KDE" HOMEPAGE="http://linux-life.net/program/cc/kde/app/kannadic/" SRC_URI="http://linux-life.net/program/cc/kde/app/kannadic/download/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="ppc ppc64 ~sparc x86" IUSE="debug xinerama" DEPEND="virtual/libc virtual/x11 kde-base/kdelibs x11-libs/qt app-i18n/canna" src_compile() { addpredict /usr/qt/3/etc/settings/ econf \ $(use_enable debug) \ $(use_with xinerama) \ || die emake || die } src_install() { make DESTDIR=${D} install || die } pkg_postinst() { einfo einfo "Currently KannaDic doesn't create a dictionary for you," einfo "so you need to create one manually." einfo "e.g) If you are going to add user dictionary named \"personal\", run" einfo einfo "\t% mkdic user" einfo einfo "and add :user \"personal\" to (use-dictionary ...) in your ~/.canna" einfo "You may need to restart canna server in order to use your dictionary." einfo }