blob: ca8d4fbf67d83711c2b6f22fb952776819c87e90 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/canuum/canuum-3.7_p2.ebuild,v 1.7 2006/11/13 14:46:02 flameeyes Exp $
MY_P="Canna${PV//[._]/}"
S="${WORKDIR}/${MY_P}/${PN}"
DESCRIPTION="Canna input method engine client for console"
HOMEPAGE="http://canna.sourceforge.jp/"
SRC_URI="mirror://sourceforge.jp/canna/9558/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc"
IUSE=""
RDEPEND="app-i18n/canna
dev-libs/libspt"
DEPEND="${RDEPEND}
x11-misc/imake
x11-misc/gccmakedep"
src_compile() {
xmkmf -a || die "xmkmf canuum failed"
sed -i -e 's|$(CANNASRC)|/usr/lib|g' \
-e 's|\(cannaPrefix = \).*|\1/usr|g' \
-e '/^cannaManDir/s|man|share/man|' \
Makefile || die "sed failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR=${D} install || die "install failed"
make DESTDIR=${D} install.man || die "install man failed"
dodoc README*
}
|