summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2009-04-14 14:58:02 +0000
committerJeroen Roovers <jer@gentoo.org>2009-04-14 14:58:02 +0000
commita0553c7c939a034f29f9c57e39787bc873ed9750 (patch)
tree896e6a0afa7e8723c4d6578ac2c573853a1c5c83 /www-client/surfraw
parentstable amd64, bug 265791 (diff)
downloadgentoo-2-a0553c7c939a034f29f9c57e39787bc873ed9750.tar.gz
gentoo-2-a0553c7c939a034f29f9c57e39787bc873ed9750.tar.bz2
gentoo-2-a0553c7c939a034f29f9c57e39787bc873ed9750.zip
Remove old.
(Portage version: 2.2_rc30/cvs/Linux i686)
Diffstat (limited to 'www-client/surfraw')
-rw-r--r--www-client/surfraw/ChangeLog5
-rw-r--r--www-client/surfraw/surfraw-2.2.3.ebuild75
2 files changed, 4 insertions, 76 deletions
diff --git a/www-client/surfraw/ChangeLog b/www-client/surfraw/ChangeLog
index 310beb064b48..716ffb38d077 100644
--- a/www-client/surfraw/ChangeLog
+++ b/www-client/surfraw/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-client/surfraw
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/ChangeLog,v 1.35 2009/04/14 10:24:22 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/ChangeLog,v 1.36 2009/04/14 14:58:02 jer Exp $
+
+ 14 Apr 2009; Jeroen Roovers <jer@gentoo.org> -surfraw-2.2.3.ebuild:
+ Remove old.
14 Apr 2009; Raúl Porcel <armin76@gentoo.org> surfraw-2.2.4.ebuild:
x86 stable wrt #265459
diff --git a/www-client/surfraw/surfraw-2.2.3.ebuild b/www-client/surfraw/surfraw-2.2.3.ebuild
deleted file mode 100644
index 7757814bac1d..000000000000
--- a/www-client/surfraw/surfraw-2.2.3.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/surfraw-2.2.3.ebuild,v 1.6 2008/12/02 11:22:41 armin76 Exp $
-
-inherit bash-completion eutils
-
-DESCRIPTION="A fast unix command line interface to WWW"
-HOMEPAGE="http://surfraw.alioth.debian.org/"
-SRC_URI="http://${PN}.alioth.debian.org/dist/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="public-domain"
-KEYWORDS="amd64 hppa ppc sparc x86"
-IUSE=""
-RESTRICT="test"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${PN}-2.1.5-gentoo_pkg_tools.patch
- # Man page symlinks shouldn't link to compressed files
- sed -i 's,\.gz,,g' links.IN
-}
-
-src_compile() {
- econf \
- --with-elvidir='$(datadir)'/surfraw \
- --disable-opensearch \
- || die "./configure failed"
- emake || die "make failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "make install failed"
- dodoc AUTHORS ChangeLog HACKING NEWS README TODO
-
- dobashcompletion surfraw-bash-completion
-}
-
-pkg_preinst() {
- has_version "=${CATEGORY}/${PN}-1.0.7"
- upgrade_from_1_0_7=$?
-}
-
-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 [[ $upgrade_from_1_0_7 = 0 ]] ; 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
- # This file was always autogenerated, and is no longer needed.
- if [ -f "${ROOT}"/etc/surfraw_elvi.list ]; then
- rm -f "${ROOT}"/etc/surfraw_elvi.list
- fi
-}