diff options
Diffstat (limited to 'www-client/surfraw/surfraw-2.2.7.ebuild')
-rw-r--r-- | www-client/surfraw/surfraw-2.2.7.ebuild | 17 |
1 files changed, 8 insertions, 9 deletions
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 |