# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-dicts/canna-cannadic/canna-cannadic-0.95a.ebuild,v 1.7 2005/01/01 12:47:52 eradicator Exp $ inherit cannadic IUSE="canna" MY_P="${P/canna-/}" DESCRIPTION="Japanese dictionary as a supplement/replacement to the dictionaries distributed with Canna3.5b2" HOMEPAGE="http://cannadic.oucrc.org/" SRC_URI="http://cannadic.oucrc.org/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ppc sparc alpha" DEPEND="canna? ( >=app-i18n/canna-3.6_p3-r1 )" S="${WORKDIR}/${MY_P}" CANNADICS="gcanna gcannaf" DICSDIRFILE="${FILESDIR}/05cannadic.dics.dir" src_compile() { if use canna ; then make maindic || die fi }