summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-www/w3m-m17n/ChangeLog11
-rw-r--r--net-www/w3m-m17n/Manifest4
-rw-r--r--net-www/w3m-m17n/w3m-m17n-20030308.ebuild83
3 files changed, 96 insertions, 2 deletions
diff --git a/net-www/w3m-m17n/ChangeLog b/net-www/w3m-m17n/ChangeLog
new file mode 100644
index 000000000000..5b93c4a04ac9
--- /dev/null
+++ b/net-www/w3m-m17n/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-www/w3m-m17n
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/w3m-m17n/ChangeLog,v 1.1 2003/06/20 13:47:54 yakina Exp $
+
+*w3m-m17n-20030308 (20 Jun 2003)
+
+ 20 Jun 2003; YAMAKURA Makot <yakina@gentoo.org> w3m-m17n-20030308.ebuild,
+ files/digest-w3m-m17n-20030308,ChangeLog,Manifest:
+
+ Initial import. Ebuild submitted by Mamoru KOMACHI <usata@sodan.ecc.u-tokyo.ac.jp>.
+ Bug #21671
diff --git a/net-www/w3m-m17n/Manifest b/net-www/w3m-m17n/Manifest
index 97e944fa8d68..d19a5d86786c 100644
--- a/net-www/w3m-m17n/Manifest
+++ b/net-www/w3m-m17n/Manifest
@@ -1,3 +1,3 @@
-MD5 efa21cfd4798a592ae4f7f22c4210e3a w3m-m17n-20030308.ebuild 2099
-MD5 8b3457b021288cee35b2ed1e249b5d67 ChangeLog 369
+MD5 d7092f55b0c2aa8bcbd3523409db1862 w3m-m17n-20030308.ebuild 2203
+MD5 36425ada9c8c5cecbce1f2409d1f6b27 ChangeLog 477
MD5 1be9f4e35558ba722185319b64c707d8 files/digest-w3m-m17n-20030308 146
diff --git a/net-www/w3m-m17n/w3m-m17n-20030308.ebuild b/net-www/w3m-m17n/w3m-m17n-20030308.ebuild
new file mode 100644
index 000000000000..da962c127ed6
--- /dev/null
+++ b/net-www/w3m-m17n/w3m-m17n-20030308.ebuild
@@ -0,0 +1,83 @@
+# 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-m17n/w3m-m17n-20030308.ebuild,v 1.1 2003/06/20 13:47:54 yakina Exp $
+
+IUSE="gpm imlib ssl"
+
+W3M_PV="0.4.1"
+GC_PV="6.2alpha5"
+DESCRIPTION="Multilingual text based WWW browser"
+SRC_URI="http://www2u.biglobe.ne.jp/~hsaka/w3m/patch/w3m-${W3M_PV}-stable-m17n-${PV}.tar.gz
+ http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc${GC_PV}.tar.gz"
+HOMEPAGE="http://www2u.biglobe.ne.jp/~hsaka/w3m/"
+
+SLOT="0"
+LICENSE="w3m"
+KEYWORDS="~x86 ~alpha"
+
+DEPEND=">=sys-libs/ncurses-5.2-r3
+ >=sys-libs/zlib-1.1.3-r2
+ dev-lang/perl
+ 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"
+
+S="${WORKDIR}/w3m-${W3M_PV}-stable-m17n-${PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # the boehm-gc which comes with w3m cannot be compiled on alpha
+ rm -rf gc
+ unpack gc${GC_PV}.tar.gz
+ mv gc${GC_PV} gc
+}
+
+src_compile() {
+ local myuse
+ myuse="use_cookie=y use_ansi_color=y use_history=y \
+ use_unicode=y charset=UTF-8"
+
+ local myconf
+ myconf="-prefix=/usr -mandir=/usr/share/man -sysconfdir=/etc/w3m \
+ -suffix=-m17n -lang=en -model=custom -nonstop"
+
+ if [ -n "`use ssl`" ] ; then
+ myconf="${myconf} --ssl-includedir=/usr/include/openssl --ssl-libdir=/usr/lib"
+ myuse="${myuse} use_ssl=y use_ssl_verify=n use_digest_auth=y"
+ else
+ myuse="${myuse} use_ssl=no"
+ fi
+
+ if [ -n "`use gpm`" ] ; then
+ myuse="${myuse} use_mouse=y"
+ else
+ myuse="${myuse} use_mouse=n"
+ fi
+
+ if [ -n "`use imlib`" ] ; 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} -cflags="${CFLAGS}" \
+ || die "configure failed"
+
+ emake || die "make failed"
+}
+
+src_install() {
+ einstall DESTDIR=${D}
+
+ # w3mman and manpages conflict with those from w3m
+ mv ${D}/usr/bin/w3mman ${D}/usr/bin/w3mman-m17n
+ mv ${D}/usr/share/man/ja/man1/w3m{,-m17n}.1
+ mv ${D}/usr/share/man/man1/w3m{,-m17n}.1
+ mv ${D}/usr/share/man/man1/w3mman{,-m17n}.1
+
+ dodoc doc/* README*
+}