summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2005-04-19 14:19:19 +0000
committerSeemant Kulleen <seemant@gentoo.org>2005-04-19 14:19:19 +0000
commit76fb2cd65992f41abb945457e358fed262ee5aea (patch)
treeeb40815ff60722ce37ed01405002a908c9f9ca04 /www-client/surfraw
parentadded dependancy on gtk2-perl (diff)
downloadgentoo-2-76fb2cd65992f41abb945457e358fed262ee5aea.tar.gz
gentoo-2-76fb2cd65992f41abb945457e358fed262ee5aea.tar.bz2
gentoo-2-76fb2cd65992f41abb945457e358fed262ee5aea.zip
version bump, with many bug fixes, including FHS'ness. Thanks very very much to: James Rowe <jnrowe@ukfsn.org> in bug #88454
(Portage version: 2.0.51.19)
Diffstat (limited to 'www-client/surfraw')
-rw-r--r--www-client/surfraw/ChangeLog9
-rw-r--r--www-client/surfraw/Manifest5
-rw-r--r--www-client/surfraw/files/digest-surfraw-2.0.2.12
-rw-r--r--www-client/surfraw/metadata.xml14
-rw-r--r--www-client/surfraw/surfraw-2.0.2.1.ebuild65
5 files changed, 94 insertions, 1 deletions
diff --git a/www-client/surfraw/ChangeLog b/www-client/surfraw/ChangeLog
index 4baca5867602..42ee12821201 100644
--- a/www-client/surfraw/ChangeLog
+++ b/www-client/surfraw/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for www-client/surfraw
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/ChangeLog,v 1.2 2005/03/18 14:55:08 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/ChangeLog,v 1.3 2005/04/19 14:19:19 seemant Exp $
+
+*surfraw-2.0.2.1 (19 Apr 2005)
+
+ 19 Apr 2005; Seemant Kulleen <seemant@gentoo.org> +metadata.xml,
+ +surfraw-2.0.2.1.ebuild:
+ version bump, with many bug fixes, including FHS'ness. Thanks very very much
+ to: James Rowe <jnrowe@ukfsn.org> in bug #88454
*surfraw-1.0.7 (18 Mar 2005)
diff --git a/www-client/surfraw/Manifest b/www-client/surfraw/Manifest
index d9cdcf8aa844..2273cbb32f46 100644
--- a/www-client/surfraw/Manifest
+++ b/www-client/surfraw/Manifest
@@ -1,3 +1,8 @@
MD5 eb652b61aaebddc598fb5fe81d66c529 surfraw-1.0.7.ebuild 1312
MD5 be054ff4d283c84ee53ec8151b30ddc8 ChangeLog 899
+MD5 93300dd5f764d16c0dccf887c8748bc6 surfraw-2.0.2.1.ebuild 2057
MD5 0c4863c95791bde92743f7f48a1eaef8 files/digest-surfraw-1.0.7 64
+MD5 103c230476d60dd69e251265cb307a1e files/digest-surfraw-2.0.2.1 148
+MD5 6f97a91e3a33c951e8618e67fd0503c3 files/surfraw-2.0.2-bbc_new_url.patch 877
+MD5 b1fc3c42cb779c006b6a2147ea51ba70 files/surfraw-2.0.2-gentoo_pkg_tools.patch 1300
+MD5 b17ce1a648de0e0f00938c435f927d94 files/surfraw-2.0.2-rhyme_new_url.patch 796
diff --git a/www-client/surfraw/files/digest-surfraw-2.0.2.1 b/www-client/surfraw/files/digest-surfraw-2.0.2.1
new file mode 100644
index 000000000000..8b567dea68d4
--- /dev/null
+++ b/www-client/surfraw/files/digest-surfraw-2.0.2.1
@@ -0,0 +1,2 @@
+MD5 7ba8dde1714dd259ede735179d692753 surfraw_2.0.2-1.tar.gz 126408
+MD5 09292cc8354071e9b5ff55f3bc895701 surfraw-2.0.2.1-gentoo-patches.tar.bz2 1633
diff --git a/www-client/surfraw/metadata.xml b/www-client/surfraw/metadata.xml
new file mode 100644
index 000000000000..4e7e5167dc97
--- /dev/null
+++ b/www-client/surfraw/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>jnrowe@ukfsn.org</email>
+ <name>James Rowe</name>
+ <description>Maintainer by proxy, through Seemant</description>
+</maintainer>
+<maintainer>
+ <email>seemant@gentoo.org</email>
+ <name>Seemant Kulleen</name>
+</maintainer>
+</pkgmetadata>
diff --git a/www-client/surfraw/surfraw-2.0.2.1.ebuild b/www-client/surfraw/surfraw-2.0.2.1.ebuild
new file mode 100644
index 000000000000..ef636c9cc8f7
--- /dev/null
+++ b/www-client/surfraw/surfraw-2.0.2.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/surfraw-2.0.2.1.ebuild,v 1.1 2005/04/19 14:19:19 seemant Exp $
+
+inherit versionator bash-completion eutils
+
+MY_PF=${PN}_$(replace_version_separator 3 '-')
+MY_P=${P%.*}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="A fast unix command line interface to WWW"
+HOMEPAGE="http://alioth.debian.org/projects/surfraw/"
+SRC_URI="mirror://debian/pool/main/s/surfraw/${MY_PF}.tar.gz
+ mirror://gentoo/${P}-gentoo-patches.tar.bz2"
+
+SLOT="0"
+LICENSE="public-domain"
+KEYWORDS="~x86 ~sparc ~ppc"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}; cd ${S}
+
+ sed -i 's,/lib/,/share/,g' surfraw-bash-completion surfraw.1.in elvi.1sr.in
+ EPATCH_SUFFIX="patch" epatch ${WORKDIR}/gentoo-patches
+}
+
+src_compile() {
+ econf \
+ --with-elvidir='$(datadir)'/surfraw || die "./configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+ dodoc AUTHORS HACKING NEWS README TODO
+
+ dobashcompletion surfraw-bash-completion
+}
+
+pkg_postinst() {
+ bash-completion_pkg_postinst
+ einfo
+ einfo "You can get a list of installed elvi by just typing 'surfraw' or"
+ einfo "the abbreviated 'sr'."
+ einfo
+ einfo "You can try some searches, for example:"
+ einfo "$ sr ask why is jeeves gay? "
+ einfo "$ sr google -results=100 RMS, GNU, which is sinner, which is sin?"
+ einfo "$ sr rhyme -method=perfect Julian"
+ einfo
+ einfo "The system configuration file is /etc/surfraw.conf"
+ einfo
+ einfo "Users can specify preferences in '~/.surfraw.conf' e.g."
+ einfo "SURFRAW_graphical_browser=mozilla"
+ einfo "SURFRAW_text_browser=w3m"
+ einfo "SURFRAW_graphical=no"
+ einfo
+ einfo "surfraw works with any graphical and/or text WWW browser"
+ einfo
+ if has_version '=www-client/surfraw-1.0.7'; then
+ ewarn "surfraw usage has changed slightly since version 1.0.7, elvi are now called"
+ ewarn "using the 'sr' wrapper script as described above. If you wish to return to"
+ ewarn "the old behaviour you can add /usr/share/surfraw to your \$PATH"
+ fi
+}