summaryrefslogtreecommitdiff
blob: 8a8727fa16edf71ef504ccf1c47dce723a1694b6 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-dicts/ipadic/ipadic-2.6.1.ebuild,v 1.1 2003/08/03 04:01:28 matsuu Exp $

DESCRIPTION="Japanese dictionary for ChaSen"
HOMEPAGE="http://chasen.aist-nara.ac.jp/"
SRC_URI="http://chasen.aist-nara.ac.jp/stable/ipadic/${P}.tar.gz"
LICENSE="as-is"
KEYWORDS="~x86 ~ppc"
SLOT="0"
IUSE=""

DEPEND=">=app-text/chasen-2.3.2"

S="${WORKDIR}/${P}"

src_compile() {
	cp Makefile.in ${T}/Makefile.in
	sed -e "/^install-data-am:/s/install-data-local//" < ${T}/Makefile.in > Makefile.in
	econf || die
	make || die
}

src_install () {
	make DESTDIR=${D} install || die
	insinto /etc
	doins chasenrc
	dodoc INSTALL* README NEWS || die
}