Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/namazu: ChangeLog namazu-2.0.18.ebuild
Date: Mon, 24 Mar 2008 17:21:38
Message-Id: E1JdqMZ-0006BB-L2@stork.gentoo.org
1 matsuu 08/03/24 17:21:35
2
3 Modified: ChangeLog
4 Added: namazu-2.0.18.ebuild
5 Log:
6 Version bumped, bug #214266.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.24 app-text/namazu/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/namazu/ChangeLog?rev=1.24&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/namazu/ChangeLog?rev=1.24&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/namazu/ChangeLog?r1=1.23&r2=1.24
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-text/namazu/ChangeLog,v
19 retrieving revision 1.23
20 retrieving revision 1.24
21 diff -u -r1.23 -r1.24
22 --- ChangeLog 14 Jan 2008 00:51:28 -0000 1.23
23 +++ ChangeLog 24 Mar 2008 17:21:35 -0000 1.24
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-text/namazu
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-text/namazu/ChangeLog,v 1.23 2008/01/14 00:51:28 opfer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-text/namazu/ChangeLog,v 1.24 2008/03/24 17:21:35 matsuu Exp $
29 +
30 +*namazu-2.0.18 (24 Mar 2008)
31 +
32 + 24 Mar 2008; MATSUU Takuto <matsuu@g.o> +namazu-2.0.18.ebuild:
33 + Version bumped, bug #214266.
34
35 *namazu-2.0.17-r1 (14 Jan 2008)
36
37
38
39
40 1.1 app-text/namazu/namazu-2.0.18.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/namazu/namazu-2.0.18.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/namazu/namazu-2.0.18.ebuild?rev=1.1&content-type=text/plain
44
45 Index: namazu-2.0.18.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-text/namazu/namazu-2.0.18.ebuild,v 1.1 2008/03/24 17:21:35 matsuu Exp $
50
51 inherit elisp-common
52
53 IUSE="chasen cjk emacs kakasi nls tk"
54
55 DESCRIPTION="Namazu is a full-text search engine"
56 HOMEPAGE="http://www.namazu.org/"
57 SRC_URI="http://www.namazu.org/stable/${P}.tar.gz"
58
59 LICENSE="GPL-2"
60 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
61 SLOT="0"
62
63 DEPEND=">=dev-perl/File-MMagic-1.20
64 chasen? ( app-text/chasen )
65 cjk? ( app-i18n/nkf )
66 emacs? ( virtual/emacs )
67 kakasi? ( dev-perl/Text-Kakasi )
68 nls? ( sys-devel/gettext )
69 tk? (
70 dev-lang/tk
71 www-client/lynx
72 )"
73
74 SITEFILE=50${PN}-gentoo.el
75
76 src_unpack() {
77
78 unpack ${A}
79 cd "${S}"
80
81 sed -i "s:\(rm -f \$(filterdir).*$\):# \1:" filter/Makefile.in
82
83 }
84
85 src_compile() {
86
87 local myconf
88
89 use tk && myconf="--with-namazu=/usr/bin/namazu
90 --with-mknmz=/usr/bin/mknmz
91 --with-indexdir=/var/lib/namazu/index"
92
93 econf \
94 $(use_enable nls) \
95 $(use_enable tk tknamazu) \
96 ${myconf} \
97 || die
98 emake || die
99
100 if use emacs; then
101 cd lisp
102 elisp-comp {namazu,gnus-nmz-1}.el || die "elisp-comp failed"
103 fi
104 }
105
106 src_install () {
107
108 emake DESTDIR="${D}" install || die
109
110 rm -rf "${D}"/usr/share/namazu/{doc,etc}
111
112 dodoc AUTHORS CREDITS ChangeLog* HACKING* NEWS README* THANKS TODO
113 dohtml -r doc/*
114
115 insinto /usr/share/doc/${P}
116 doins etc/*.png
117
118 if use emacs; then
119 elisp-install ${PN} lisp/{namazu,gnus-nmz-1}.el{,c} \
120 || die "elisp-install failed"
121 elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
122 || die "elisp-site-file-install failed"
123
124 docinto lisp
125 dodoc lisp/ChangeLog*
126 fi
127
128 }
129 pkg_postinst() {
130 use emacs && elisp-site-regen
131 }
132
133 pkg_postrm() {
134 use emacs && elisp-site-regen
135 }
136
137
138
139 --
140 gentoo-commits@l.g.o mailing list