blob: 88460a4b62e5ecc3da5af0a6b35a955c7f907427 (
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
41
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/canna/canna-3.6_p3.ebuild,v 1.2 2003/06/29 22:12:03 aliz Exp $
MY_P="Canna36p3"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="A client-server based Kana-Kanji conversion system"
HOMEPAGE="http://canna.sourceforge.jp/"
KEYWORDS="x86 ~ppc ~sparc ~alpha"
LICENSE="as-is"
SLOT="0"
IUSE=""
SRC_URI="http://downloads.sourceforge.jp/canna/2181/${MY_P}.tar.gz"
DEPEND="virtual/glibc
x11-base/xfree"
RDEPEND="virtual/glibc"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PF}-gentoo.diff
}
src_compile() {
xmkmf || die
make Makefiles || die
# make includes
make canna || die
}
src_install () {
make DESTDIR=${D} install || die
make DESTDIR=${D} install.man || die
dodoc CHANGES.jp ChangeLog INSTALL* README* WHATIS*
exeinto /etc/init.d ; newexe ${FILESDIR}/canna.initd canna || die
insinto /etc/conf.d ; newins ${FILESDIR}/canna.confd canna || die
touch ${D}/var/log/canna/.keep || die
}
|