# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-i18n/prime/prime-0.8.6.1.ebuild,v 1.3 2005/03/31 18:10:01 kloeri Exp $ inherit ruby DESCRIPTION="Japanese PRedictive Input Method Editor" HOMEPAGE="http://taiyaki.org/prime/" SRC_URI="http://prime.sourceforge.jp/src/${P/_/-}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha ppc x86" IUSE="emacs" DEPEND="app-dicts/prime-dict >=dev-libs/suikyo-2.0.0 dev-ruby/ruby-progressbar dev-ruby/sary-ruby" PDEPEND="emacs? ( app-emacs/prime-el )" S="${WORKDIR}/${P/_/-}" RUBY_ECONF="--with-prime-docdir=/usr/share/doc/${PF}/html --with-rubydir=/usr/lib/ruby/site_ruby" src_compile() { ruby_src_compile -j1 } src_install() { make DESTDIR=${D} install || die make DESTDIR=${D} install-etc || die erubydoc }