diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2005-05-10 12:17:31 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2005-05-10 12:17:31 +0000 |
commit | ea7b135d227784644818853ca48febb15aea6b85 (patch) | |
tree | e8a8fc4c429feb717125feee03eb96644b5433e6 /www-client/surfraw | |
parent | Added to ~ppc (diff) | |
download | historical-ea7b135d227784644818853ca48febb15aea6b85.tar.gz historical-ea7b135d227784644818853ca48febb15aea6b85.tar.bz2 historical-ea7b135d227784644818853ca48febb15aea6b85.zip |
Version bump thanks to: James Rowe <jnrowe@ukfsn.org> in bug #90968
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'www-client/surfraw')
-rw-r--r-- | www-client/surfraw/ChangeLog | 7 | ||||
-rw-r--r-- | www-client/surfraw/Manifest | 4 | ||||
-rw-r--r-- | www-client/surfraw/files/digest-surfraw-2.1.0.1 | 2 | ||||
-rw-r--r-- | www-client/surfraw/surfraw-2.1.0.1.ebuild | 64 |
4 files changed, 75 insertions, 2 deletions
diff --git a/www-client/surfraw/ChangeLog b/www-client/surfraw/ChangeLog index 42ee12821201..7c613381711c 100644 --- a/www-client/surfraw/ChangeLog +++ b/www-client/surfraw/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-client/surfraw # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/ChangeLog,v 1.3 2005/04/19 14:19:19 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/ChangeLog,v 1.4 2005/05/10 12:17:31 seemant Exp $ + +*surfraw-2.1.0.1 (10 May 2005) + + 10 May 2005; Seemant Kulleen <seemant@gentoo.org> +surfraw-2.1.0.1.ebuild: + Version bump thanks to: James Rowe <jnrowe@ukfsn.org> in bug #90968 *surfraw-2.0.2.1 (19 Apr 2005) diff --git a/www-client/surfraw/Manifest b/www-client/surfraw/Manifest index cda81b0ebd6f..83d252da0380 100644 --- a/www-client/surfraw/Manifest +++ b/www-client/surfraw/Manifest @@ -1,6 +1,8 @@ MD5 eb652b61aaebddc598fb5fe81d66c529 surfraw-1.0.7.ebuild 1312 -MD5 9742ffc6f3c47b70988db0009d5f7c84 ChangeLog 1155 +MD5 a80d37014817989de3976272b6b180bc ChangeLog 1335 MD5 9160481967640bdac45691b98a05360c metadata.xml 406 +MD5 ced25b74a6dcebd159428b2586a0b8ef surfraw-2.1.0.1.ebuild 2094 MD5 fd938a4533958066e79ed28c3b6abf07 surfraw-2.0.2.1.ebuild 2092 MD5 0c4863c95791bde92743f7f48a1eaef8 files/digest-surfraw-1.0.7 64 MD5 103c230476d60dd69e251265cb307a1e files/digest-surfraw-2.0.2.1 148 +MD5 40b592ed53c8b2e5844cf92e7d849d06 files/digest-surfraw-2.1.0.1 148 diff --git a/www-client/surfraw/files/digest-surfraw-2.1.0.1 b/www-client/surfraw/files/digest-surfraw-2.1.0.1 new file mode 100644 index 000000000000..53f860725c63 --- /dev/null +++ b/www-client/surfraw/files/digest-surfraw-2.1.0.1 @@ -0,0 +1,2 @@ +MD5 f58ed958545297879d571a1cde3224b2 surfraw_2.1.0-1.tar.gz 137302 +MD5 869939a80f95b7c8d72dbc9b31b91833 surfraw-2.1.0.1-gentoo-patches.tar.bz2 1009 diff --git a/www-client/surfraw/surfraw-2.1.0.1.ebuild b/www-client/surfraw/surfraw-2.1.0.1.ebuild new file mode 100644 index 000000000000..e8c23266d37b --- /dev/null +++ b/www-client/surfraw/surfraw-2.1.0.1.ebuild @@ -0,0 +1,64 @@ +# 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.0.1.ebuild,v 1.1 2005/05/10 12:17:31 seemant Exp $ + +inherit versionator bash-completion eutils + +MY_PF=${PN}_$(replace_version_separator 3 '-') +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/${MY_PF}.tar.gz + mirror://gentoo/${P}-gentoo-patches.tar.bz2" + +SLOT="0" +LICENSE="public-domain" +KEYWORDS="~x86 ~sparc ~ppc" +IUSE="" + +src_unpack() { + unpack ${A}; cd ${S} + + sed -i 's,/lib/,/share/,g' surfraw-bash-completion surfraw.1.in elvi.1sr.in + EPATCH_SUFFIX="patch" epatch ${WORKDIR}/gentoo-patches +} + +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 +} |