summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2007-10-13 01:17:38 +0000
committerSeemant Kulleen <seemant@gentoo.org>2007-10-13 01:17:38 +0000
commit5cf3941457d07ea53d298d7a0e5fe6057849aed5 (patch)
tree6078edaaca8daa1ffbc4a2e45800032a2c5fe5e7 /www-client/surfraw
parentSmall fixes for current tar compatibility. Thanks to Philipp Wehrheim for re... (diff)
downloadgentoo-2-5cf3941457d07ea53d298d7a0e5fe6057849aed5.tar.gz
gentoo-2-5cf3941457d07ea53d298d7a0e5fe6057849aed5.tar.bz2
gentoo-2-5cf3941457d07ea53d298d7a0e5fe6057849aed5.zip
no more linking to compressed manpages. Thanks to James for the report and the fix.
(Portage version: 2.1.3.12)
Diffstat (limited to 'www-client/surfraw')
-rw-r--r--www-client/surfraw/ChangeLog9
-rw-r--r--www-client/surfraw/files/digest-surfraw-2.1.13
-rw-r--r--www-client/surfraw/files/digest-surfraw-2.1.43
-rw-r--r--www-client/surfraw/surfraw-2.1.1.ebuild61
-rw-r--r--www-client/surfraw/surfraw-2.1.4.ebuild62
-rw-r--r--www-client/surfraw/surfraw-2.1.5.ebuild6
6 files changed, 11 insertions, 133 deletions
diff --git a/www-client/surfraw/ChangeLog b/www-client/surfraw/ChangeLog
index 17da55afde80..0ef79db49fad 100644
--- a/www-client/surfraw/ChangeLog
+++ b/www-client/surfraw/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-client/surfraw
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/ChangeLog,v 1.12 2006/12/22 16:18:48 dertobi123 Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/ChangeLog,v 1.13 2007/10/13 01:17:37 seemant Exp $
+
+ 13 Oct 2007; Seemant Kulleen <seemant@gentoo.org> -surfraw-2.1.1.ebuild,
+ -surfraw-2.1.4.ebuild, surfraw-2.1.5.ebuild:
+ no more linking to compressed manpages. Thanks to James for the report and
+ the fix.
22 Dec 2006; Tobias Scherbaum <dertobi123@gentoo.org>
surfraw-2.1.5.ebuild:
diff --git a/www-client/surfraw/files/digest-surfraw-2.1.1 b/www-client/surfraw/files/digest-surfraw-2.1.1
deleted file mode 100644
index 56199a517f3c..000000000000
--- a/www-client/surfraw/files/digest-surfraw-2.1.1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 3b23c6745fd9205eaee54239cbe3efae surfraw_2.1.1.tar.gz 135949
-RMD160 eb029a4d5965dc9d50d2272636cf6aaef83e93b8 surfraw_2.1.1.tar.gz 135949
-SHA256 701f8c022ffad07b76067e2a3b42122e20efbd25acacaa12ac25e7b2c2d1723f surfraw_2.1.1.tar.gz 135949
diff --git a/www-client/surfraw/files/digest-surfraw-2.1.4 b/www-client/surfraw/files/digest-surfraw-2.1.4
deleted file mode 100644
index 2f8d6939f65a..000000000000
--- a/www-client/surfraw/files/digest-surfraw-2.1.4
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 7195bd3051098d074c041cbf26d88342 surfraw_2.1.4.tar.gz 139981
-RMD160 7d21a8a09daec059ff7ef1c375effe11610df779 surfraw_2.1.4.tar.gz 139981
-SHA256 8e34927c00059c01a106bdf800ab07c9a11f3f81e5ce6994331ef0d67d962ecf surfraw_2.1.4.tar.gz 139981
diff --git a/www-client/surfraw/surfraw-2.1.1.ebuild b/www-client/surfraw/surfraw-2.1.1.ebuild
deleted file mode 100644
index fc015bc2f837..000000000000
--- a/www-client/surfraw/surfraw-2.1.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# 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.1.1.ebuild,v 1.1 2005/10/19 18:31:39 seemant Exp $
-
-inherit bash-completion eutils
-
-DESCRIPTION="A fast unix command line interface to WWW"
-HOMEPAGE="http://alioth.debian.org/projects/surfraw/"
-SRC_URI="mirror://debian/pool/main/s/surfraw/${PN}_${PV}.tar.gz"
-
-SLOT="0"
-LICENSE="public-domain"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE=""
-
-src_unpack() {
- unpack ${A}; cd ${S}
-
- sed -i 's,/lib/,/share/,g' surfraw-bash-completion surfraw.1.in elvi.1sr.in
- epatch ${FILESDIR}/${PN}-gentoo_pkg_tools.patch
-}
-
-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 debian/changelog 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
-}
diff --git a/www-client/surfraw/surfraw-2.1.4.ebuild b/www-client/surfraw/surfraw-2.1.4.ebuild
deleted file mode 100644
index 8b0186e4b75b..000000000000
--- a/www-client/surfraw/surfraw-2.1.4.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/surfraw-2.1.4.ebuild,v 1.1 2006/03/31 21:09:35 seemant Exp $
-
-inherit bash-completion eutils
-
-S=${WORKDIR}/${PN}
-DESCRIPTION="A fast unix command line interface to WWW"
-HOMEPAGE="http://alioth.debian.org/projects/surfraw/"
-SRC_URI="mirror://debian/pool/main/s/surfraw/${PN}_${PV}.tar.gz"
-
-SLOT="0"
-LICENSE="public-domain"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE=""
-
-src_unpack() {
- unpack ${A}; cd ${S}
-
- sed -i 's,/lib/,/share/,g' surfraw-bash-completion surfraw.1.in elvi.1sr.in
- epatch ${FILESDIR}/${PN}-gentoo_pkg_tools.patch
-}
-
-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 debian/changelog 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
-}
diff --git a/www-client/surfraw/surfraw-2.1.5.ebuild b/www-client/surfraw/surfraw-2.1.5.ebuild
index 86d808d1f031..5a2834aee210 100644
--- a/www-client/surfraw/surfraw-2.1.5.ebuild
+++ b/www-client/surfraw/surfraw-2.1.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/surfraw-2.1.5.ebuild,v 1.5 2006/12/22 16:18:48 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/surfraw-2.1.5.ebuild,v 1.6 2007/10/13 01:17:37 seemant Exp $
inherit bash-completion eutils
@@ -17,6 +17,8 @@ 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() {