diff options
author | Aron Griffis <agriffis@gentoo.org> | 2003-06-29 21:26:39 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2003-06-29 21:26:39 +0000 |
commit | e72332b0881b2615bc99bbedadf81da7cd0a43f7 (patch) | |
tree | 5ed7f9877c4a5b5a44abe18f27e273d6bade7f95 /net-www/w3m | |
parent | fix bug 23714 (diff) | |
download | historical-e72332b0881b2615bc99bbedadf81da7cd0a43f7.tar.gz historical-e72332b0881b2615bc99bbedadf81da7cd0a43f7.tar.bz2 historical-e72332b0881b2615bc99bbedadf81da7cd0a43f7.zip |
fix bug 23714
Diffstat (limited to 'net-www/w3m')
-rw-r--r-- | net-www/w3m/Manifest | 5 | ||||
-rw-r--r-- | net-www/w3m/files/digest-w3m-0.4.1-r2 | 1 | ||||
-rw-r--r-- | net-www/w3m/w3m-0.4.1-r2.ebuild | 86 |
3 files changed, 90 insertions, 2 deletions
diff --git a/net-www/w3m/Manifest b/net-www/w3m/Manifest index 81928197931c..6fa5be986a71 100644 --- a/net-www/w3m/Manifest +++ b/net-www/w3m/Manifest @@ -1,12 +1,13 @@ MD5 6064a4a10ff77029d4c490151e1bfe0e w3m-0.4.1.ebuild 2147 MD5 66a4ea15846539603899abfe5b51fa45 w3m-0.3-r2.ebuild 3515 +MD5 d1011aa4522d035a089d31e8769b834c w3m-0.4.1-r1.ebuild 2153 MD5 9ca609c558bf95cbbd769b314c50a9f0 w3m-0.3.2.2.ebuild 3747 MD5 a85fdacc6ccf12a40c63b76f46ab98e7 w3m-0.4.ebuild 4454 MD5 e91abafb626e658ddead4da60c447213 w3m-0.2.2-r1.ebuild 2997 MD5 4c00a62192cd6ff57204232f94c36d1d w3m-0.3-r6.ebuild 3652 MD5 e1c8eb026fee51aaded3ee5bd6b4f051 w3m-0.3.2.1.ebuild 3749 -MD5 0cbb10f2ce4740ee87b6abc590e56c14 w3m-0.4.1-r2.ebuild 2153 -MD5 4e39801d9adc086c15f75ba13fe2ad93 ChangeLog 4700 +MD5 50f0bd059654f877883b3b9b8c70174d w3m-0.4.1-r2.ebuild 2153 +MD5 5e6737bd1065a0eccf4fa191a70091d2 ChangeLog 4864 MD5 7d3cca8a96c2485f12ee3c65fb4b3195 files/digest-w3m-0.2.2-r1 62 MD5 fd7a37dd6717b69b356f6179a19e17b7 files/digest-w3m-0.4.1-r1 62 MD5 fd7a37dd6717b69b356f6179a19e17b7 files/digest-w3m-0.4.1-r2 62 diff --git a/net-www/w3m/files/digest-w3m-0.4.1-r2 b/net-www/w3m/files/digest-w3m-0.4.1-r2 new file mode 100644 index 000000000000..61a1d9de1887 --- /dev/null +++ b/net-www/w3m/files/digest-w3m-0.4.1-r2 @@ -0,0 +1 @@ +MD5 b496ec119dc9734059035e70988dd470 w3m-0.4.1.tar.gz 1250762 diff --git a/net-www/w3m/w3m-0.4.1-r2.ebuild b/net-www/w3m/w3m-0.4.1-r2.ebuild new file mode 100644 index 000000000000..a444ef63c372 --- /dev/null +++ b/net-www/w3m/w3m-0.4.1-r2.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/w3m/w3m-0.4.1-r2.ebuild,v 1.1 2003/06/29 21:26:31 agriffis Exp $ + +inherit eutils + +IUSE="gpm cjk imlib ssl" + +DESCRIPTION="Text based WWW browser, supports tables and frames" +SRC_URI="mirror://sourceforge/w3m/${P}.tar.gz" +HOMEPAGE="http://w3m.sourceforge.net/" + +SLOT="0" +LICENSE="w3m" +KEYWORDS="x86 ~alpha" + +DEPEND=">=sys-libs/ncurses-5.2-r3 + >=sys-libs/zlib-1.1.3-r2 + imlib? ( >=media-libs/imlib-1.9.8 media-libs/compface ) + gpm? ( >=sys-libs/gpm-1.19.3-r5 ) + ssl? ( >=dev-libs/openssl-0.9.6b )" + +PROVIDE="virtual/textbrowser" + +src_unpack() { + unpack ${A} + cd ${S} + if use alpha; then + epatch ${FILESDIR}/w3m-0.4-alpha.patch || die "epatch failed" + fi +} + +src_compile() { + local myuse + myuse="use_cookie=y use_ansi_color=y" + + local myconf + myconf="-prefix=/usr -mandir=/usr/share/man -sysconfdir=/etc/w3m \ + --gc-includedir=/usr/include/gc --gc-libdir=/usr/lib \ + -cflags=${CFLAGS} -model=custom -nonstop" + + if use cjk &>/dev/null; then + myconf="${myconf} -lang=ja -code=E" + else + myconf="${myconf} -lang=en" + fi + + if use ssl &>/dev/null; then + myconf="${myconf} --ssl-includedir=/usr/include/openssl --ssl-libdir=/usr/lib" + myuse="${myuse} use_ssl=y use_ssl_verify=y use_digest_auth=y" + else + myuse="${myuse} use_ssl=n" + fi + + if use gpm &>/dev/null; then + myuse="${myuse} use_mouse=y" + else + myuse="${myuse} use_mouse=n" + fi + + if use imlib &>/dev/null; then + myuse="${myuse} use_image=y use_w3mimg_x11=y use_w3mimg_fb=y w3mimgdisplay_setuid=n use_xface=y" + else + myuse="${myuse} use_image=n" + fi + + env ${myuse} ./configure ${myconf} || die "configure failed" + + # Test to make sure the above configuration was sane + grep -q "dcc='gcc'" config.param || \ + die "configure out of sync; ebuild needs an update" + + # binary executables come prebuilt for 80386! + # clean it up and be sure to remake for ANY arch + cd ${S}/gc + make clean + cd - + + emake || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" + dodoc doc/* README* + doman doc/w3m.1 +} |