summaryrefslogtreecommitdiff
blob: e4ea66761e3e01a24658e63bc8f9b6fbdb32d971 (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.7.ebuild,v 1.1 2004/07/05 04:33:11 usata 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"

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
}