/[gentoo-x86]/app-text/chasen/chasen-2.4.4.ebuild
Gentoo

Contents of /app-text/chasen/chasen-2.4.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sat Jun 9 19:10:36 2012 UTC (2 years, 3 months ago) by armin76
Branch: MAIN
Changes since 1.9: +2 -2 lines
Drop sparc keywords

(Portage version: 2.1.10.53/cvs/Linux ia64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/chasen/chasen-2.4.4.ebuild,v 1.9 2012/05/06 19:05:27 halcy0n Exp $
4
5 inherit perl-module
6
7 DESCRIPTION="Japanese Morphological Analysis System, ChaSen"
8 HOMEPAGE="http://chasen-legacy.sourceforge.jp/"
9 SRC_URI="mirror://sourceforge.jp//chasen-legacy/32224/${P}.tar.gz"
10
11 LICENSE="BSD"
12 SLOT="0"
13 KEYWORDS="amd64 ppc ~ppc64 x86 ~sparc-solaris"
14 IUSE="perl"
15
16 DEPEND=">=dev-libs/darts-0.32"
17 RDEPEND="${DEPEND}
18 perl? ( !dev-perl/Text-ChaSen )"
19 PDEPEND=">=app-dicts/ipadic-2.7.0"
20
21 src_compile() {
22 econf || die
23 emake || die
24 if use perl ; then
25 cd "${S}"/perl
26 perl-module_src_compile
27 fi
28 }
29
30 src_install () {
31 emake DESTDIR="${D}" install || die
32
33 dodoc AUTHORS ChangeLog NEWS README
34
35 if use perl ; then
36 cd "${S}"/perl
37 perl-module_src_install
38 newdoc README README.perl
39 fi
40 }

  ViewVC Help
Powered by ViewVC 1.1.20