summaryrefslogtreecommitdiff
blob: a5fe342ac40d14061f1b89c1589c5c7a2a8b8cb4 (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
# 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.2.1.ebuild,v 1.2 2005/07/24 17:20:10 dholm 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 )"

src_compile() {
	econf --with-lispdir=/usr/share/emacs/site-lisp/uim-el || 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."
}