summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2011-01-25 17:57:13 +0000
committerJeremy Olexa <darkside@gentoo.org>2011-01-25 17:57:13 +0000
commitced0d0a5b99520f6f882117cb698528271c6d807 (patch)
tree06197e0db98162876c903f6fe13f3c77fffcde1a /www-client/surfraw
parentVersion bump, remove old testing and 9999 version since it's not really maint... (diff)
downloadgentoo-2-ced0d0a5b99520f6f882117cb698528271c6d807.tar.gz
gentoo-2-ced0d0a5b99520f6f882117cb698528271c6d807.tar.bz2
gentoo-2-ced0d0a5b99520f6f882117cb698528271c6d807.zip
Port changes from Gentoo Prefix, use EROOT, add KEYWORDS, convert to EAPI3.
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'www-client/surfraw')
-rw-r--r--www-client/surfraw/ChangeLog6
-rw-r--r--www-client/surfraw/surfraw-2.2.7.ebuild17
2 files changed, 13 insertions, 10 deletions
diff --git a/www-client/surfraw/ChangeLog b/www-client/surfraw/ChangeLog
index f403f83d6967..c82e4b641844 100644
--- a/www-client/surfraw/ChangeLog
+++ b/www-client/surfraw/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-client/surfraw
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/ChangeLog,v 1.59 2011/01/22 18:03:58 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/ChangeLog,v 1.60 2011/01/25 17:57:13 darkside Exp $
+
+ 25 Jan 2011; Jeremy Olexa <darkside@gentoo.org> surfraw-2.2.7.ebuild:
+ Port changes from Gentoo Prefix, use EROOT, add KEYWORDS, convert to
+ EAPI3.
22 Jan 2011; Jeroen Roovers <jer@gentoo.org>
files/surfraw-2.2.6-gentoo_pkg_tools.patch:
diff --git a/www-client/surfraw/surfraw-2.2.7.ebuild b/www-client/surfraw/surfraw-2.2.7.ebuild
index afbc83672188..62dfdd3afa8a 100644
--- a/www-client/surfraw/surfraw-2.2.7.ebuild
+++ b/www-client/surfraw/surfraw-2.2.7.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# 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.6 2010/09/15 03:24:41 jer Exp $
+# $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="2"
+EAPI="3"
inherit bash-completion eutils
@@ -12,7 +12,7 @@ SRC_URI="http://${PN}.alioth.debian.org/dist/${P}.tar.gz"
SLOT="0"
LICENSE="public-domain"
-KEYWORDS="amd64 hppa ppc sparc x86"
+KEYWORDS="amd64 hppa ppc sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
IUSE=""
RESTRICT="test"
@@ -25,8 +25,7 @@ src_prepare() {
src_configure() {
econf \
--with-elvidir='$(datadir)'/surfraw \
- --disable-opensearch \
- || die "./configure failed"
+ --disable-opensearch
}
src_install() {
@@ -74,13 +73,13 @@ pkg_postinst() {
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
+ 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 "${ROOT}"${f} ]; then
+ if [ -f "${EROOT}"${f} ]; then
ewarn "${f} has moved to /etc/xdg/config/surfraw/${f##*.} in v2.2.6."
moves=1
fi