summaryrefslogtreecommitdiff
blob: 620c9449aac59c01b2d09ad71e2120bd77ac658b (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.0.ebuild,v 1.1 2003/06/20 16:44:06 yakina 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"
SLOT="0"
IUSE=""

DEPEND="app-text/chasen"

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

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

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