summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2009-03-07 05:48:38 +0000
committerJeremy Olexa <darkside@gentoo.org>2009-03-07 05:48:38 +0000
commitfbce558a888139029619d29a9cd7394da1f46dc8 (patch)
treeee699420edad4169ddda1717c69c88388db97ed5 /www-apps/swish-e
parent(non maintainer commit) add missing rdep on guile-gtk, bug 260100 (diff)
downloadgentoo-2-fbce558a888139029619d29a9cd7394da1f46dc8.tar.gz
gentoo-2-fbce558a888139029619d29a9cd7394da1f46dc8.tar.bz2
gentoo-2-fbce558a888139029619d29a9cd7394da1f46dc8.zip
(non maintainer commit) simple rename version bump, bug 223589
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'www-apps/swish-e')
-rw-r--r--www-apps/swish-e/ChangeLog9
-rw-r--r--www-apps/swish-e/swish-e-2.4.5.ebuild69
2 files changed, 76 insertions, 2 deletions
diff --git a/www-apps/swish-e/ChangeLog b/www-apps/swish-e/ChangeLog
index 00d3af81d275..2d8703898a15 100644
--- a/www-apps/swish-e/ChangeLog
+++ b/www-apps/swish-e/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/swish-e
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/swish-e/ChangeLog,v 1.12 2007/01/18 22:34:33 mcummings Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/swish-e/ChangeLog,v 1.13 2009/03/07 05:48:38 darkside Exp $
+
+*swish-e-2.4.5 (07 Mar 2009)
+
+ 07 Mar 2009; Jeremy Olexa <darkside@gentoo.org> +swish-e-2.4.5.ebuild:
+ (non maintainer commit) simple rename version bump, bug 223589
*swish-e-2.4.4 (18 Jan 2007)
diff --git a/www-apps/swish-e/swish-e-2.4.5.ebuild b/www-apps/swish-e/swish-e-2.4.5.ebuild
new file mode 100644
index 000000000000..671ce7682060
--- /dev/null
+++ b/www-apps/swish-e/swish-e-2.4.5.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/swish-e/swish-e-2.4.5.ebuild,v 1.1 2009/03/07 05:48:38 darkside Exp $
+
+inherit perl-module eutils
+
+DESCRIPTION="Simple Web Indexing System for Humans - Enhanced"
+HOMEPAGE="http://www.swish-e.org/"
+SRC_URI="http://www.swish-e.org/distribution/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="doc perl pdf mp3"
+
+DEPEND=">=sys-libs/zlib-1.1.3
+ dev-libs/libxml2
+ pdf? ( app-text/poppler )
+ perl? ( dev-perl/libwww-perl
+ dev-perl/HTML-Parser
+ dev-perl/HTML-Tagset
+ dev-perl/MIME-Types
+ dev-perl/HTML-Template
+ dev-perl/HTML-FillInForm
+ dev-perl/Template-Toolkit
+ mp3? ( dev-perl/MP3-Tag )
+ )"
+
+src_unpack() {
+ if has_version 'www-apps/swish-e'; then
+ ewarn "Your old swish-e indexes may not be compatible with this version."
+ epause 10
+ fi
+ unpack ${A}
+}
+src_compile() {
+ econf || die "configuration failed"
+ # XXX: is this -j1 really needed ?
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ dobin src/swish-e || die "dobin failed"
+ dodoc INSTALL README
+ make DESTDIR="${D}" install || die
+
+ if use doc; then
+ dodir /usr/share/doc/${PF}
+ cp -r html conf "${D}"/usr/share/doc/${PF} || die "cp failed"
+ fi
+
+ if use perl ; then
+ epatch ${FILESDIR}/perl-makefile.patch
+ cd ${S}/perl
+ myconf="SWISHBINDIR=${D}/usr/bin SWISHIGNOREVER SWISHSKIPTEST"
+ perl-module_src_compile
+ cd ${S}/perl
+ perl-module_src_install
+ fi
+}
+
+pkg_postinst() {
+ einfo "If you wish to be able to index MS Word documents, "
+ einfo "emerge app-text/catdoc"
+ einfo
+ einfo "If you wish to be able to index MS Excel Spreadsheets,"
+ einfo "emerge dev-perl/SpreadSheet-ParseExcel and"
+ einfo "dev-perl/HTML-Parser"
+}