summaryrefslogtreecommitdiff
blob: d344c61fc315023a99b4bc3be8af1b6b45afdb24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim-fep/uim-fep-0.4.0.ebuild,v 1.2 2005/01/01 14:42:35 eradicator Exp $

IUSE="unicode"

DESCRIPTION="UIM multilingual input method frontend processor for console"
HOMEPAGE="http://www.ice.nuie.nagoya-u.ac.jp/~h013177b/uim-fep/"
SRC_URI="http://www.ice.nuie.nagoya-u.ac.jp/~h013177b/uim-fep/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~ppc ~alpha"

DEPEND=">=app-i18n/uim-0.3.4.2
	sys-libs/ncurses"
RDEPEND="${DEPEND}
	!>=app-i18n/uim-0.4.0
	!app-i18n/uim-svn"

src_compile() {

	local myconf
	if use unicode ; then
		myconf="${myconf} --with-enc=utf-8"
	else
		myconf="${myconf} --with-enc=euc-jp"
	fi

	econf ${myconf} || die
	emake || die
}

src_install() {

	make DESTDIR=${D} install || die "make install failed"

	dodoc README COPYING INSTALL
}

pkg_postinst() {

	einfo
	einfo "uim-fep is configured for skk. If you want to change it, you can set"
	einfo "UIM_FEP environment variable to one of skk, prime, anthy, canna,"
	einfo "tcode and tutcode or run uim-fep with -u option with engines listed above."
	einfo
}