summaryrefslogtreecommitdiff
blob: c6191f8208bc52316706d6da6ab2db1bca110e95 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/skkinput/skkinput-2.05.ebuild,v 1.13 2005/01/01 14:40:54 eradicator Exp $

inherit eutils

DESCRIPTION="A SKK-like Japanese input method for X11"
HOMEPAGE="http://sourceforge.jp/projects/skkinput2"
SRC_URI="http://downloads.sourceforge.jp/skkinput2/864/${P}.tar.gz"

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

DEPEND="virtual/libc
	virtual/x11
	app-i18n/skkserv"

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/skkinput-ignore-numlock.patch
}

src_compile() {
	xmkmf -a || die
	make || die
}

src_install() {
	make DESTDIR=${D} install || die
	make DESTDIR=${D} MANPATH=/usr/share/man install.man || die
	dodoc ChangeLog GPL skkinput.doc *.jis
	insinto /etc/skel
	newins dot.skkinput .skkinput
}