blob: e82f27a5c28513d1c05a60c258e63acf9a989fc3 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/canfep/canfep-1.0.ebuild,v 1.5 2005/01/01 14:25:56 eradicator Exp $
inherit eutils
IUSE="unicode"
DESCRIPTION="Canna Japanese kana-kanji frontend processor on console"
HOMEPAGE="http://www.geocities.co.jp/SiliconValley-Bay/7584/canfep/"
SRC_URI="http://www.geocities.co.jp/SiliconValley-Bay/7584/canfep/${P}.tar.gz
unicode? ( http://hp.vector.co.jp/authors/VA020411/patches/canfep_utf8.diff )"
LICENSE="as-is"
SLOT="0"
KEYWORDS="x86 -alpha ~sparc ppc"
DEPEND="app-i18n/canna
sys-libs/ncurses"
RDEPEND="app-i18n/canna"
src_unpack() {
unpack ${P}.tar.gz
cd ${S}
use unicode && epatch ${DISTDIR}/canfep_utf8.diff
}
src_compile() {
make CXX="${CXX}" LIBS="-lcanna -lncurses" CFLAGS="${CFLAGS}" \
|| die "make failed"
}
src_install() {
dobin canfep
dodoc 00changes 00readme
}
|