diff options
-rw-r--r-- | app-i18n/anthy/ChangeLog | 9 | ||||
-rw-r--r-- | app-i18n/anthy/anthy-7900.ebuild | 71 | ||||
-rw-r--r-- | app-i18n/anthy/files/digest-anthy-7900 | 3 |
3 files changed, 81 insertions, 2 deletions
diff --git a/app-i18n/anthy/ChangeLog b/app-i18n/anthy/ChangeLog index 6a3d874ea9d9..9c6140e6a9f8 100644 --- a/app-i18n/anthy/ChangeLog +++ b/app-i18n/anthy/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-i18n/anthy -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/anthy/ChangeLog,v 1.76 2006/05/27 17:44:34 kloeri Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/anthy/ChangeLog,v 1.77 2006/07/12 12:53:50 hattya Exp $ + +*anthy-7900 (12 Jul 2006) + + 12 Jul 2006; Akinori Hattori <hattya@gentoo.org> +anthy-7900.ebuild: + new upstream release. 27 May 2006; Bryan Østergaard <kloeri@gentoo.org> anthy-7100b-r1.ebuild: Stable on alpha. diff --git a/app-i18n/anthy/anthy-7900.ebuild b/app-i18n/anthy/anthy-7900.ebuild new file mode 100644 index 000000000000..5ca2a4c91dbd --- /dev/null +++ b/app-i18n/anthy/anthy-7900.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/anthy/anthy-7900.ebuild,v 1.1 2006/07/12 12:53:50 hattya Exp $ + +inherit elisp-common eutils + +IUSE="emacs ucs4" + +DESCRIPTION="Anthy -- free and secure Japanese input system" +HOMEPAGE="http://anthy.sourceforge.jp/" +SRC_URI="mirror://sourceforge.jp/anthy/20887/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc-macos ~ppc64 ~sparc ~x86" +SLOT="0" + +DEPEND="!app-i18n/anthy-ss + emacs? ( virtual/emacs )" + +src_unpack() { + + unpack ${A} + cd "${S}" + + local cannadicdir=/var/lib/canna/dic/canna + + if has_version 'app-dicts/canna-2ch'; then + einfo "Adding nichan.ctd to anthy.dic." + sed -i /placename/a"read ${cannadicdir}/nichan.ctd" \ + mkworddic/dict.args.in + fi + +} + +src_compile() { + + local myconf + + use emacs || myconf="EMACS=no" + use ucs4 && myconf="${myconf} --enable-ucs4" + + econf ${myconf} || die + emake -j1 || die + +} + +src_install() { + + emake DESTDIR="${D}" install || die + + use emacs && elisp-site-file-install "${FILESDIR}"/50anthy-gentoo.el + + dodoc AUTHORS DIARY NEWS README ChangeLog + + docinto doc + rm doc/Makefile* + dodoc doc/* + +} + +pkg_postinst() { + + use emacs && elisp-site-regen + +} + +pkg_postrm() { + + has_version virtual/emacs && elisp-site-regen + +} diff --git a/app-i18n/anthy/files/digest-anthy-7900 b/app-i18n/anthy/files/digest-anthy-7900 new file mode 100644 index 000000000000..b8ae38f9475b --- /dev/null +++ b/app-i18n/anthy/files/digest-anthy-7900 @@ -0,0 +1,3 @@ +MD5 356467305997191acd353d1c7e4e5d92 anthy-7900.tar.gz 3604440 +RMD160 fd28f5925fa981fe173f115f5e1919899fa92037 anthy-7900.tar.gz 3604440 +SHA256 23a6020efdd3b2f4d99ed53af68f53e80be835da9ffe03d9e650939c1a923931 anthy-7900.tar.gz 3604440 |