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.22_p1.ebuild ChangeLog
Date: Fri, 01 Mar 2013 09:47:20
Message-Id: 20130301094715.18DF42171D@flycatcher.gentoo.org
1 naota 13/03/01 09:47:15
2
3 Modified: ChangeLog
4 Added: namazu-2.0.22_p1.ebuild
5 Log:
6 Add pre released ebuild
7
8 (Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key F8551514)
9
10 Revision Changes Path
11 1.42 app-text/namazu/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/namazu/ChangeLog?rev=1.42&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/namazu/ChangeLog?rev=1.42&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/namazu/ChangeLog?r1=1.41&r2=1.42
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-text/namazu/ChangeLog,v
20 retrieving revision 1.41
21 retrieving revision 1.42
22 diff -u -r1.41 -r1.42
23 --- ChangeLog 14 Jul 2012 06:39:25 -0000 1.41
24 +++ ChangeLog 1 Mar 2013 09:47:14 -0000 1.42
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-text/namazu
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-text/namazu/ChangeLog,v 1.41 2012/07/14 06:39:25 hattya Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-text/namazu/ChangeLog,v 1.42 2013/03/01 09:47:14 naota Exp $
31 +
32 +*namazu-2.0.22_p1 (01 Mar 2013)
33 +
34 + 01 Mar 2013; Naohiro Aota <naota@g.o> +namazu-2.0.22_p1.ebuild:
35 + Add pre released ebuild
36
37 14 Jul 2012; Akinori Hattori <hattya@g.o> metadata.xml:
38 format metadata.xml
39 @@ -156,4 +161,3 @@
40 ChangeLog,Manifest,files/digest-namazu-2.0.12:
41
42 Initial import. Ebuild submitted by naoto @ GentooJP
43 -
44
45
46
47 1.1 app-text/namazu/namazu-2.0.22_p1.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/namazu/namazu-2.0.22_p1.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/namazu/namazu-2.0.22_p1.ebuild?rev=1.1&content-type=text/plain
51
52 Index: namazu-2.0.22_p1.ebuild
53 ===================================================================
54 # Copyright 1999-2013 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/app-text/namazu/namazu-2.0.22_p1.ebuild,v 1.1 2013/03/01 09:47:14 naota Exp $
57
58 EAPI=5
59
60 inherit autotools-utils eutils elisp-common
61
62 IUSE="emacs nls tk linguas_ja"
63
64 DESCRIPTION="Namazu is a full-text search engine"
65 HOMEPAGE="http://www.namazu.org/"
66 SRC_URI="http://www.namazu.org/test/${P/_p/pre}.tar.gz"
67
68 LICENSE="GPL-2"
69 KEYWORDS=""
70 SLOT="0"
71
72 RDEPEND=">=dev-perl/File-MMagic-1.20
73 emacs? ( virtual/emacs )
74 linguas_ja? (
75 app-i18n/nkf
76 || (
77 dev-perl/Text-Kakasi
78 app-i18n/kakasi
79 app-text/chasen
80 app-text/mecab
81 )
82 )
83 nls? ( virtual/libintl )
84 tk? (
85 dev-lang/tk
86 www-client/lynx
87 )"
88
89 DEPEND="${RDEPEND}
90 nls? ( sys-devel/gettext )"
91
92 PATCHES=(
93 "${FILESDIR}/${PN}-2.0.19-gentoo.patch"
94 )
95 DOCS=(AUTHORS CREDITS NEWS THANKS TODO)
96
97 S="${WORKDIR}"/${P/_p/pre}
98
99 src_configure() {
100 local myeconfargs=(
101 $(use_enable nls)
102 $(use_enable tk tknamazu)
103 )
104
105 use tk && myeconfargs+=(
106 --with-namazu=/usr/bin/namazu
107 --with-mknmz=/usr/bin/mknmz
108 --with-indexdir=/var/lib/namazu/index
109 )
110 autotools-utils_src_configure
111 }
112
113 src_compile() {
114 autotools-utils_src_compile
115
116 if use emacs; then
117 cd lisp
118 elisp-compile gnus-nmz-1.el namazu.el || die
119 fi
120 }
121
122 src_install () {
123 autotools-utils_src_install
124 dodoc ChangeLog* HACKING* README* etc/*.png
125 dohtml -r doc/*
126 rm -r "${ED}"/usr/share/namazu/doc || die
127 if use emacs; then
128 elisp-install ${PN} lisp/gnus-nmz-1.el* lisp/namazu.el* || die
129 elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el || die
130
131 docinto lisp
132 dodoc lisp/ChangeLog*
133 fi
134 }
135
136 pkg_postinst() {
137 use emacs && elisp-site-regen
138 }
139
140 pkg_postrm() {
141 use emacs && elisp-site-regen
142 }