summaryrefslogtreecommitdiff
blob: 7289596922f03835ebc194f1a0e484a51d9f93fb (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/uim-el/uim-el-0.0.4.ebuild,v 1.2 2005/12/17 16:57:22 usata Exp $

inherit elisp eutils

IUSE=""

DESCRIPTION="UIM input method client for Emacs"
HOMEPAGE="http://garakuta.homelinux.org/~nosuke/tsubo/pukiwiki.php?%CA%AA%C3%D6%2Fuim.el"
SRC_URI="http://garakuta.homelinux.org/~nosuke/tsubo/files/linux/${P}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="~ppc ~x86"
SLOT="0"

DEPEND="|| ( >=app-i18n/uim-0.4.6 app-i18n/uim-svn )
	!>=app-i18n/uim-1.0.0_beta"

src_compile() {
	econf || die
	emake || die
}

src_install() {

	make DESTDIR=${D} install || die

	elisp-site-file-install ${FILESDIR}/50uim-el-gentoo.el

	dodoc AUTHORS ChangeLog README*
}

pkg_postinst() {
	elisp_pkg_postinst
	draw_line
	ewarn "Please read /usr/share/doc/${PF}/README.jp.gz before using."
	ewarn "You may need to set uim-default-im-engine and uim-default-im-prop."
}