summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-01-26 17:15:16 +0000
committerJeroen Roovers <jer@gentoo.org>2012-01-26 17:15:16 +0000
commitcd186b97ec64e194530a9444bcbc2df50e9401c2 (patch)
treeb2de286da09ef02ecc739918e2c875fbd18b6f8b /www-client/surfraw
parentCorrect ChangeLog (diff)
downloadgentoo-2-cd186b97ec64e194530a9444bcbc2df50e9401c2.tar.gz
gentoo-2-cd186b97ec64e194530a9444bcbc2df50e9401c2.tar.bz2
gentoo-2-cd186b97ec64e194530a9444bcbc2df50e9401c2.zip
Old.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'www-client/surfraw')
-rw-r--r--www-client/surfraw/ChangeLog5
-rw-r--r--www-client/surfraw/surfraw-2.2.7.ebuild91
2 files changed, 4 insertions, 92 deletions
diff --git a/www-client/surfraw/ChangeLog b/www-client/surfraw/ChangeLog
index f3fa917f7721..30be6fe2b08f 100644
--- a/www-client/surfraw/ChangeLog
+++ b/www-client/surfraw/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-client/surfraw
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/ChangeLog,v 1.69 2012/01/09 16:47:24 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/ChangeLog,v 1.70 2012/01/26 17:15:16 jer Exp $
+
+ 26 Jan 2012; Jeroen Roovers <jer@gentoo.org> -surfraw-2.2.7.ebuild:
+ Old.
09 Jan 2012; Brent Baude <ranger@gentoo.org> surfraw-2.2.8.ebuild:
Marking surfraw-2.2.8 ppc for bug 389333
diff --git a/www-client/surfraw/surfraw-2.2.7.ebuild b/www-client/surfraw/surfraw-2.2.7.ebuild
deleted file mode 100644
index 62dfdd3afa8a..000000000000
--- a/www-client/surfraw/surfraw-2.2.7.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/surfraw-2.2.7.ebuild,v 1.7 2011/01/25 17:57:13 darkside Exp $
-
-EAPI="3"
-
-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 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
-IUSE=""
-RESTRICT="test"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-2.2.6-gentoo_pkg_tools.patch
- # Man page symlinks shouldn't link to compressed files
- sed -i 's,\.gz,,g' links.IN
-}
-
-src_configure() {
- econf \
- --with-elvidir='$(datadir)'/surfraw \
- --disable-opensearch
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "make install failed"
- dodoc AUTHORS ChangeLog HACKING NEWS README TODO
-
- dobashcompletion surfraw-bash-completion
-
- docinto examples
- dodoc examples/README
- insinto /usr/share/doc/${PF}/examples
- doins examples/uzbl_load_url_from_surfraw
-}
-
-pkg_preinst() {
- has_version "=${CATEGORY}/${PN}-1.0.7"
- upgrade_from_1_0_7=$?
-}
-
-pkg_postinst() {
- local moves f
-
- 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 "${EROOT}"/etc/surfraw_elvi.list ]; then
- rm -f "${EROOT}"/etc/surfraw_elvi.list
- fi
-
- # Config file location changes in v2.2.6
- for f in /etc/surfraw.{bookmarks,conf}; do
- if [ -f "${EROOT}"${f} ]; then
- ewarn "${f} has moved to /etc/xdg/config/surfraw/${f##*.} in v2.2.6."
- moves=1
- fi
- done
- if [ "${moves}" == 1 ]; then
- ewarn "You must manually move, and update, the config files listed"
- ewarn "above for surfraw v2.2.6 and above to use them."
- fi
-}