Gentoo Archives: gentoo-commits

From: "Naohiro Aota (naota)" <naota@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/mecab: mecab-0.993.ebuild ChangeLog
Date: Thu, 31 May 2012 12:01:50
Message-Id: 20120531120124.CF2EA2004B@flycatcher.gentoo.org
1 naota 12/05/31 12:01:24
2
3 Modified: ChangeLog
4 Added: mecab-0.993.ebuild
5 Log:
6 Version bumped. #411249
7
8 (Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.70 app-text/mecab/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mecab/ChangeLog?rev=1.70&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mecab/ChangeLog?rev=1.70&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mecab/ChangeLog?r1=1.69&r2=1.70
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-text/mecab/ChangeLog,v
20 retrieving revision 1.69
21 retrieving revision 1.70
22 diff -u -r1.69 -r1.70
23 --- ChangeLog 17 May 2012 16:37:28 -0000 1.69
24 +++ ChangeLog 31 May 2012 12:01:24 -0000 1.70
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-text/mecab
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-text/mecab/ChangeLog,v 1.69 2012/05/17 16:37:28 aballier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-text/mecab/ChangeLog,v 1.70 2012/05/31 12:01:24 naota Exp $
30 +
31 +*mecab-0.993 (31 May 2012)
32 +
33 + 31 May 2012; Naohiro Aota <naota@g.o> +mecab-0.993.ebuild:
34 + Version bumped. #411249
35
36 17 May 2012; Alexis Ballier <aballier@g.o> mecab-0.991.ebuild:
37 keyword ~amd64-fbsd
38
39
40
41 1.1 app-text/mecab/mecab-0.993.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mecab/mecab-0.993.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mecab/mecab-0.993.ebuild?rev=1.1&content-type=text/plain
45
46 Index: mecab-0.993.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-text/mecab/mecab-0.993.ebuild,v 1.1 2012/05/31 12:01:24 naota Exp $
51
52 EAPI="4"
53 inherit autotools eutils
54
55 DESCRIPTION="Yet Another Part-of-Speech and Morphological Analyzer"
56 HOMEPAGE="http://mecab.sourceforge.net/"
57 SRC_URI="http://mecab.googlecode.com/files/${P}.tar.gz"
58
59 LICENSE="|| ( BSD LGPL-2.1 GPL-2 )"
60 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
61 SLOT="0"
62 IUSE="static-libs unicode"
63
64 DEPEND="dev-lang/perl
65 virtual/libiconv"
66 RDEPEND=""
67 PDEPEND="|| (
68 >=app-dicts/mecab-ipadic-2.7.0.20070610[unicode=]
69 app-dicts/mecab-naist-jdic[unicode=]
70 )"
71
72 src_prepare() {
73 sed -i \
74 -e "/CFLAGS/s/-O3/${CFLAGS}/" \
75 -e "/CXXFLAGS/s/-O3/${CXXFLAGS}/" \
76 configure.in || die
77 epatch "${FILESDIR}/${PN}-0.98-iconv.patch"
78 eautoreconf
79 }
80
81 src_configure() {
82 local myconf
83
84 use unicode && myconf="${myconf} --with-charset=utf8"
85
86 econf \
87 $(use_enable static-libs static) \
88 ${myconf}
89 }
90
91 src_install() {
92 default
93
94 if ! use static-libs ; then
95 find "${ED}" -name '*.la' -delete
96 fi
97
98 dodoc AUTHORS README
99 dohtml -r doc/*
100 }