summaryrefslogtreecommitdiff
blob: 0e09e4786e316116a1a0ab658a5fb1d44ef2b65e (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
# Copyright 1999-2004 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.3.2.ebuild,v 1.2 2004/06/24 21:56:00 agriffis 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"

DEPEND=">=app-i18n/uim-0.3.4.2
	sys-libs/ncurses"

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
}