public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-text/namazu: ChangeLog namazu-2.0.17-r1.ebuild
@ 2008-01-14  0:51 Christian Faulhammer (opfer)
  0 siblings, 0 replies; only message in thread
From: Christian Faulhammer (opfer) @ 2008-01-14  0:51 UTC (permalink / raw
  To: gentoo-commits

opfer       08/01/14 00:51:29

  Modified:             ChangeLog
  Added:                namazu-2.0.17-r1.ebuild
  Log:
  add proper GNU Emacs support, fixes bug 194734
  (Portage version: 2.1.3.19)

Revision  Changes    Path
1.23                 app-text/namazu/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/namazu/ChangeLog?rev=1.23&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/namazu/ChangeLog?rev=1.23&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/namazu/ChangeLog?r1=1.22&r2=1.23

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/namazu/ChangeLog,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- ChangeLog	3 Oct 2007 08:21:03 -0000	1.22
+++ ChangeLog	14 Jan 2008 00:51:28 -0000	1.23
@@ -1,6 +1,12 @@
 # ChangeLog for app-text/namazu
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/namazu/ChangeLog,v 1.22 2007/10/03 08:21:03 tgall Exp $
+# 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 $
+
+*namazu-2.0.17-r1 (14 Jan 2008)
+
+  14 Jan 2008; Christian Faulhammer <opfer@gentoo.org>
+  +files/50namazu-gentoo.el, +namazu-2.0.17-r1.ebuild:
+  add proper GNU Emacs support, fixes bug 194734
 
   03 Oct 2007; Tom Gall <tgall@gentoo.org> namazu-2.0.17.ebuild:
   stable on ppc64



1.1                  app-text/namazu/namazu-2.0.17-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/namazu/namazu-2.0.17-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/namazu/namazu-2.0.17-r1.ebuild?rev=1.1&content-type=text/plain

Index: namazu-2.0.17-r1.ebuild
===================================================================
# 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.17-r1.ebuild,v 1.1 2008/01/14 00:51:28 opfer 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
}



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-14  0:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-14  0:51 [gentoo-commits] gentoo-x86 commit in app-text/namazu: ChangeLog namazu-2.0.17-r1.ebuild Christian Faulhammer (opfer)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox