# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EGIT_REPO_URI="git://github.com/phuang/ibus-anthy.git" inherit autotools git DESCRIPTION="Japanese input method Anthy IMEngine for IBus Framework" HOMEPAGE="http://ibus.googlecode.com" LICENSE="GPL-2" SLOT="0" KEYWORDS="" IUSE="nls" # autopoint needs cvs. Bug #152872 DEPEND="app-i18n/anthy >=dev-lang/python-2.5 dev-lang/swig dev-util/cvs dev-util/pkgconfig sys-devel/gettext" RDEPEND="app-i18n/ibus app-i18n/anthy >=dev-lang/python-2.5" src_unpack() { git_src_unpack autopoint || die "failed to run autopoint" eautoreconf } src_configure() { econf $(use_enable nls) } src_install() { emake install DESTDIR="${D}" || die "Install failed" dodoc AUTHORS ChangeLog NEWS README } pkg_postinst() { echo ewarn "This package is very experimental, please report your bugs to" ewarn "http://ibus.googlecode.com/issues/list" echo elog "You should run ibus-setup and enable IM Engines you want to use." echo }