diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2008-03-24 17:21:35 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2008-03-24 17:21:35 +0000 |
commit | e6ca90ab84ab077dbd7d96fcfcd82ad663c36e78 (patch) | |
tree | bac8807d37aae178659c4468df4687420e67e2ce /app-text | |
parent | amd64 stable (diff) | |
download | gentoo-2-e6ca90ab84ab077dbd7d96fcfcd82ad663c36e78.tar.gz gentoo-2-e6ca90ab84ab077dbd7d96fcfcd82ad663c36e78.tar.bz2 gentoo-2-e6ca90ab84ab077dbd7d96fcfcd82ad663c36e78.zip |
Version bumped, bug #214266.
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/namazu/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/namazu/namazu-2.0.18.ebuild | 89 |
2 files changed, 95 insertions, 1 deletions
diff --git a/app-text/namazu/ChangeLog b/app-text/namazu/ChangeLog index 634d3a828543..0925584a72de 100644 --- a/app-text/namazu/ChangeLog +++ b/app-text/namazu/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/namazu # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/namazu/ChangeLog,v 1.23 2008/01/14 00:51:28 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/namazu/ChangeLog,v 1.24 2008/03/24 17:21:35 matsuu Exp $ + +*namazu-2.0.18 (24 Mar 2008) + + 24 Mar 2008; MATSUU Takuto <matsuu@gentoo.org> +namazu-2.0.18.ebuild: + Version bumped, bug #214266. *namazu-2.0.17-r1 (14 Jan 2008) diff --git a/app-text/namazu/namazu-2.0.18.ebuild b/app-text/namazu/namazu-2.0.18.ebuild new file mode 100644 index 000000000000..98c7eda71bdb --- /dev/null +++ b/app-text/namazu/namazu-2.0.18.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/namazu/namazu-2.0.18.ebuild,v 1.1 2008/03/24 17:21:35 matsuu Exp $ + +inherit elisp-common + +IUSE="chasen cjk emacs kakasi nls tk" + +DESCRIPTION="Namazu is a full-text search engine" +HOMEPAGE="http://www.namazu.org/" +SRC_URI="http://www.namazu.org/stable/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +SLOT="0" + +DEPEND=">=dev-perl/File-MMagic-1.20 + chasen? ( app-text/chasen ) + cjk? ( app-i18n/nkf ) + emacs? ( virtual/emacs ) + kakasi? ( dev-perl/Text-Kakasi ) + nls? ( sys-devel/gettext ) + tk? ( + dev-lang/tk + www-client/lynx + )" + +SITEFILE=50${PN}-gentoo.el + +src_unpack() { + + unpack ${A} + cd "${S}" + + sed -i "s:\(rm -f \$(filterdir).*$\):# \1:" filter/Makefile.in + +} + +src_compile() { + + local myconf + + use tk && myconf="--with-namazu=/usr/bin/namazu + --with-mknmz=/usr/bin/mknmz + --with-indexdir=/var/lib/namazu/index" + + econf \ + $(use_enable nls) \ + $(use_enable tk tknamazu) \ + ${myconf} \ + || die + emake || die + + if use emacs; then + cd lisp + elisp-comp {namazu,gnus-nmz-1}.el || die "elisp-comp failed" + fi +} + +src_install () { + + emake DESTDIR="${D}" install || die + + rm -rf "${D}"/usr/share/namazu/{doc,etc} + + dodoc AUTHORS CREDITS ChangeLog* HACKING* NEWS README* THANKS TODO + dohtml -r doc/* + + insinto /usr/share/doc/${P} + doins etc/*.png + + if use emacs; then + elisp-install ${PN} lisp/{namazu,gnus-nmz-1}.el{,c} \ + || die "elisp-install failed" + elisp-site-file-install "${FILESDIR}/${SITEFILE}" \ + || die "elisp-site-file-install failed" + + docinto lisp + dodoc lisp/ChangeLog* + fi + +} +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |