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/namazu: namazu-2.0.21.ebuild ChangeLog
Date: Sun, 30 Oct 2011 07:11:46
Message-Id: 20111030071131.832142004B@flycatcher.gentoo.org
1 naota 11/10/30 07:11:31
2
3 Modified: ChangeLog
4 Added: namazu-2.0.21.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha71/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.36 app-text/namazu/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/namazu/ChangeLog?rev=1.36&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/namazu/ChangeLog?rev=1.36&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/namazu/ChangeLog?r1=1.35&r2=1.36
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-text/namazu/ChangeLog,v
20 retrieving revision 1.35
21 retrieving revision 1.36
22 diff -u -r1.35 -r1.36
23 --- ChangeLog 12 Aug 2010 09:18:37 -0000 1.35
24 +++ ChangeLog 30 Oct 2011 07:11:31 -0000 1.36
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-text/namazu
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-text/namazu/ChangeLog,v 1.35 2010/08/12 09:18:37 maekke Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-text/namazu/ChangeLog,v 1.36 2011/10/30 07:11:31 naota Exp $
31 +
32 +*namazu-2.0.21 (30 Oct 2011)
33 +
34 + 30 Oct 2011; Naohiro Aota <naota@g.o> +namazu-2.0.21.ebuild,
35 + +files/namazu-2.0.21-search.patch:
36 + Version bump.
37
38 12 Aug 2010; Markus Meier <maekke@g.o> namazu-2.0.20.ebuild:
39 amd64 stable, bug #306051
40
41
42
43 1.1 app-text/namazu/namazu-2.0.21.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/namazu/namazu-2.0.21.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/namazu/namazu-2.0.21.ebuild?rev=1.1&content-type=text/plain
47
48 Index: namazu-2.0.21.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-text/namazu/namazu-2.0.21.ebuild,v 1.1 2011/10/30 07:11:31 naota Exp $
53
54 inherit eutils elisp-common
55
56 IUSE="emacs nls tk linguas_ja"
57
58 DESCRIPTION="Namazu is a full-text search engine"
59 HOMEPAGE="http://www.namazu.org/"
60 SRC_URI="http://www.namazu.org/stable/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
64 SLOT="0"
65
66 RDEPEND=">=dev-perl/File-MMagic-1.20
67 emacs? ( virtual/emacs )
68 linguas_ja? (
69 app-i18n/nkf
70 || (
71 dev-perl/Text-Kakasi
72 app-i18n/kakasi
73 app-text/chasen
74 app-text/mecab
75 )
76 )
77 nls? ( virtual/libintl )
78 tk? (
79 dev-lang/tk
80 www-client/lynx
81 )"
82
83 DEPEND="${RDEPEND}
84 nls? ( sys-devel/gettext )"
85
86 src_unpack() {
87 unpack ${A}
88 cd "${S}"
89 epatch "${FILESDIR}/${PN}-2.0.19-gentoo.patch"
90 epatch "${FILESDIR}/${PN}-2.0.21-search.patch"
91 }
92
93 src_compile() {
94 local myconf
95
96 use tk && myconf="--with-namazu=/usr/bin/namazu
97 --with-mknmz=/usr/bin/mknmz
98 --with-indexdir=/var/lib/namazu/index"
99
100 econf \
101 $(use_enable nls) \
102 $(use_enable tk tknamazu) \
103 ${myconf} || die
104 emake || die
105
106 if use emacs; then
107 cd lisp
108 elisp-compile gnus-nmz-1.el namazu.el || die
109 fi
110 }
111
112 src_install () {
113 emake DESTDIR="${D}" install || die
114
115 dodoc AUTHORS CREDITS ChangeLog* HACKING* NEWS README* THANKS TODO etc/*.png
116 dohtml -r doc/*
117
118 if use emacs; then
119 elisp-install ${PN} lisp/gnus-nmz-1.el* lisp/namazu.el* || die
120 elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el || die
121
122 docinto lisp
123 dodoc lisp/ChangeLog*
124 fi
125 }
126
127 pkg_postinst() {
128 use emacs && elisp-site-regen
129 }
130
131 pkg_postrm() {
132 use emacs && elisp-site-regen
133 }