diff options
Diffstat (limited to 'app-text/namazu/namazu-2.0.19.ebuild')
-rw-r--r-- | app-text/namazu/namazu-2.0.19.ebuild | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/app-text/namazu/namazu-2.0.19.ebuild b/app-text/namazu/namazu-2.0.19.ebuild deleted file mode 100644 index 9304e99c9a69..000000000000 --- a/app-text/namazu/namazu-2.0.19.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/namazu/namazu-2.0.19.ebuild,v 1.2 2012/06/09 19:00:57 armin76 Exp $ - -inherit eutils elisp-common - -IUSE="emacs nls tk linguas_ja" - -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 - emacs? ( virtual/emacs ) - linguas_ja? ( - app-i18n/nkf - || ( - dev-perl/Text-Kakasi - app-i18n/kakasi - app-text/chasen - app-text/mecab - ) - ) - nls? ( sys-devel/gettext ) - tk? ( - dev-lang/tk - www-client/lynx - )" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${P}-gentoo.patch" -} - -src_compile() { - local myconf - - econf \ - $(use_enable nls) \ - $(use_enable tk tknamazu) \ - ${myconf} || die - emake || die - - if use emacs; then - cd lisp - elisp-compile gnus-nmz-1.el namazu.el || die - 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 etc/*.png - dohtml -r doc/* - - if use emacs; then - elisp-install ${PN} lisp/gnus-nmz-1.el* lisp/namazu.el* || die - elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el || die - - docinto lisp - dodoc lisp/ChangeLog* - fi -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} |