diff options
author | Mamoru Komachi <usata@gentoo.org> | 2003-08-21 18:36:02 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2003-08-21 18:36:02 +0000 |
commit | 35add4b3576b6f05c9f6ce5cb3e27366c5b27ba2 (patch) | |
tree | f01014baf737a1496081ef468c7c38a149581f02 /net-www/w3m | |
parent | fixed a problem of viewing Japanese manpages with w3mman (diff) | |
download | historical-35add4b3576b6f05c9f6ce5cb3e27366c5b27ba2.tar.gz historical-35add4b3576b6f05c9f6ce5cb3e27366c5b27ba2.tar.bz2 historical-35add4b3576b6f05c9f6ce5cb3e27366c5b27ba2.zip |
fixed a problem of viewing Japanese manpages with w3mman
Diffstat (limited to 'net-www/w3m')
-rw-r--r-- | net-www/w3m/Manifest | 4 | ||||
-rw-r--r-- | net-www/w3m/files/digest-w3m-0.4.1-r3 | 1 | ||||
-rw-r--r-- | net-www/w3m/w3m-0.4.1-r3.ebuild | 88 |
3 files changed, 91 insertions, 2 deletions
diff --git a/net-www/w3m/Manifest b/net-www/w3m/Manifest index 8afbf06cdf78..6fa8491c1292 100644 --- a/net-www/w3m/Manifest +++ b/net-www/w3m/Manifest @@ -1,4 +1,4 @@ -MD5 5e6737bd1065a0eccf4fa191a70091d2 ChangeLog 4864 +MD5 b781f8bbdc1db2921c2f7118d7c4a96f ChangeLog 5166 MD5 e91abafb626e658ddead4da60c447213 w3m-0.2.2-r1.ebuild 2997 MD5 66a4ea15846539603899abfe5b51fa45 w3m-0.3-r2.ebuild 3515 MD5 4c00a62192cd6ff57204232f94c36d1d w3m-0.3-r6.ebuild 3652 @@ -8,7 +8,7 @@ MD5 d1011aa4522d035a089d31e8769b834c w3m-0.4.1-r1.ebuild 2153 MD5 50f0bd059654f877883b3b9b8c70174d w3m-0.4.1-r2.ebuild 2153 MD5 5b2df0d2cd06837dbb8ccda4ff8749a0 w3m-0.4.1.ebuild 2142 MD5 a85fdacc6ccf12a40c63b76f46ab98e7 w3m-0.4.ebuild 4454 -MD5 159414a3570373a775e185f4e2a9c8a9 w3m-0.4.1-r3.ebuild 2214 +MD5 73ae21ca99d354fc18e1f51cc5d78f37 w3m-0.4.1-r3.ebuild 2211 MD5 feec9d97e61a095d33af68a5b301372f files/config.param 404 MD5 7d3cca8a96c2485f12ee3c65fb4b3195 files/digest-w3m-0.2.2-r1 62 MD5 ea9ffc3e59251a86366bc9f0899df712 files/digest-w3m-0.3-r2 60 diff --git a/net-www/w3m/files/digest-w3m-0.4.1-r3 b/net-www/w3m/files/digest-w3m-0.4.1-r3 new file mode 100644 index 000000000000..61a1d9de1887 --- /dev/null +++ b/net-www/w3m/files/digest-w3m-0.4.1-r3 @@ -0,0 +1 @@ +MD5 b496ec119dc9734059035e70988dd470 w3m-0.4.1.tar.gz 1250762 diff --git a/net-www/w3m/w3m-0.4.1-r3.ebuild b/net-www/w3m/w3m-0.4.1-r3.ebuild new file mode 100644 index 000000000000..8e0a40d03cb6 --- /dev/null +++ b/net-www/w3m/w3m-0.4.1-r3.ebuild @@ -0,0 +1,88 @@ +# 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-r3.ebuild,v 1.1 2003/08/21 18:35:53 usata 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 ~ppc ~sparc" + +DEPEND=">=sys-libs/ncurses-5.2-r3 + >=sys-libs/zlib-1.1.3-r2 + imlib? ( >=media-libs/imlib-1.9.8 + media-libs/compface + media-libs/libungif ) + gpm? ( >=sys-libs/gpm-1.19.3-r5 ) + ssl? ( >=dev-libs/openssl-0.9.6b )" + +PROVIDE="virtual/textbrowser + virtual/w3m" + +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 \ + -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 MAN='env LC_MESSAGES=$${LC_MESSAGES:-$${LC_ALL:-$${LANG}}} LANG=C man'|| die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" + dodoc doc/* README* + doman doc/w3m.1 +} |