summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-11-12 20:22:17 +0000
committerMamoru Komachi <usata@gentoo.org>2003-11-12 20:22:17 +0000
commitb5fa64318e9862c163b5d293f335c4b33ce4c7da (patch)
treef1efe71213b8882a7e3ed168958ddff78d65c609 /net-www/w3m
parentadded webapps-apache (diff)
downloadhistorical-b5fa64318e9862c163b5d293f335c4b33ce4c7da.tar.gz
historical-b5fa64318e9862c163b5d293f335c4b33ce4c7da.tar.bz2
historical-b5fa64318e9862c163b5d293f335c4b33ce4c7da.zip
Added --enable-m17n back.
Diffstat (limited to 'net-www/w3m')
-rw-r--r--net-www/w3m/ChangeLog5
-rw-r--r--net-www/w3m/Manifest4
-rw-r--r--net-www/w3m/w3m-0.4.2-r2.ebuild75
3 files changed, 27 insertions, 57 deletions
diff --git a/net-www/w3m/ChangeLog b/net-www/w3m/ChangeLog
index d7353e64d1b7..655af885fd1e 100644
--- a/net-www/w3m/ChangeLog
+++ b/net-www/w3m/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for net-www/w3m
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/w3m/ChangeLog,v 1.36 2003/11/04 19:56:44 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/w3m/ChangeLog,v 1.37 2003/11/12 20:22:11 usata Exp $
*w3m-0.4.2-r2 (01 Nov 2003)
+ 09 Nov 2003; Mamoru KOMACHI <usata@gentoo.org> w3m-0.4.2-r2.ebuild:
+ Added --enable-m17n back.
+
05 Nov 2003; Mamoru KOMACHI <usata@gentoo.org> w3m-0.4.2-r1.ebuild,
w3m-0.4.2-r2.ebuild, files/w3m-0.4.2-imglib-gentoo.diff,
files/w3m-0.4.2-w3mman-gentoo.diff:
diff --git a/net-www/w3m/Manifest b/net-www/w3m/Manifest
index 8728777433c5..1d85d568e27b 100644
--- a/net-www/w3m/Manifest
+++ b/net-www/w3m/Manifest
@@ -1,5 +1,5 @@
-MD5 2154999be85215c83cbdaaddf01323b4 ChangeLog 7455
-MD5 67419148d63fdb8b8bc46b34725d741f w3m-0.4.2-r2.ebuild 4147
+MD5 810dc2ce9d7810f521201397e3ca136f ChangeLog 7554
+MD5 efd0e7ec20245e58a27edc22a41e8d04 w3m-0.4.2-r2.ebuild 3323
MD5 ae37f0b018eb3457f9690ee35cefef0e w3m-0.4.2.ebuild 1939
MD5 1f7b8fffb13d61fe43a3294dcf037926 w3m-0.3.2.2.ebuild 3732
MD5 003ecc09459bb3933a50d51c2b757630 w3m-0.4.ebuild 4437
diff --git a/net-www/w3m/w3m-0.4.2-r2.ebuild b/net-www/w3m/w3m-0.4.2-r2.ebuild
index 8e33a4636973..e2e05dba1662 100644
--- a/net-www/w3m/w3m-0.4.2-r2.ebuild
+++ b/net-www/w3m/w3m-0.4.2-r2.ebuild
@@ -1,6 +1,6 @@
# 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.2-r2.ebuild,v 1.2 2003/11/04 19:56:44 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/w3m/w3m-0.4.2-r2.ebuild,v 1.3 2003/11/12 20:22:11 usata Exp $
IUSE="X nopixbuf imlib imlib2 xface ssl migemo gpm cjk"
@@ -49,7 +49,17 @@ pkg_setup() {
fi
}
-w3m_src_compile() {
+src_unpack() {
+
+ unpack ${W3M_CVS_P}.tar.gz
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-w3mman-gentoo.diff
+}
+
+src_compile() {
+
+ export WANT_AUTOCONF_2_5=1
+ #autoconf || die "autoconf failed"
local myconf migemo_command imagelib
@@ -81,8 +91,14 @@ w3m_src_compile() {
migemo_command="no"
fi
- # You can't disable nls at the moment(w3mhelper hangs)
- # `use_enable nls`
+ if [ -n "`use cjk`" ] ; then
+ myconf="${myconf}
+ --enable-japanese=E
+ --with-charset=EUC-JP"
+ fi
+
+ # You can't disable cjk and nls at the moment(w3mhelper hangs)
+ # `use_enable nls` `use_enable cjk`
econf --enable-keymap=w3m \
--with-editor=/usr/bin/nano \
--with-mailer=/bin/mail \
@@ -90,7 +106,7 @@ w3m_src_compile() {
--with-termlib=ncurses \
--with-imagelib="${imagelib}" \
--with-migemo="${migemo_command}" \
- `use_enable cjk m17n` \
+ --enable-m17n \
`use_enable gpm mouse` \
`use_enable ssl digest-auth` \
`use_with ssl` \
@@ -100,59 +116,10 @@ w3m_src_compile() {
make all || make all || die "make failed"
}
-src_unpack() {
-
- unpack ${W3M_CVS_P}.tar.gz
- cd ${S}
- epatch ${FILESDIR}/${PN}-w3mman-gentoo.diff
-}
-
-src_compile() {
-
- export WANT_AUTOCONF_2_5=1
- #autoconf || die "autoconf failed"
-
- if [ -n "`use cjk`" ] ; then
-
- w3m_src_compile \
- --enable-japanese=E \
- --with-charset=EUC-JP \
- --enable-messagel10n
-
- mv w3mhelperpanel ${T}/w3mhelperpanel-ja
- mv w3mbookmark ${T}/w3mbookmark-ja
- mv w3m ${T}/w3m-ja
-
- sed -e "s%@cgibindir@%/usr/libexec/w3m/cgi-bin%" \
- ${FILESDIR}/w3mhelperpanel.sh.in \
- > ${T}/w3mhelperpanel.sh
- sed -e "s%@cgibindir@%/usr/libexec/w3m/cgi-bin%" \
- ${FILESDIR}/w3mbookmark.sh.in \
- > ${T}/w3mbookmark.sh
-
- make clean
- fi
-
- w3m_src_compile --disable-japanese
-}
-
src_install() {
make DESTDIR=${D} install || die "make install failed"
- if [ -n "`use cjk`" ] ; then
- mv ${D}/usr/bin/w3m{,-en}
- mv ${D}/usr/libexec/w3m/cgi-bin/w3mhelperpanel{,-en}
- mv ${D}/usr/libexec/w3m/cgi-bin/w3mbookmark{,-en}
- dobin ${T}/w3m-ja
- newbin ${FILESDIR}/w3m.sh w3m
- exeinto /usr/libexec/w3m/cgi-bin
- doexe ${T}/w3mhelperpanel-ja
- doexe ${T}/w3mbookmark-ja
- newexe ${T}/w3mhelperpanel.sh w3mhelperpanel
- newexe ${T}/w3mbookmark.sh w3mbookmark
- fi
-
insinto /usr/share/${PN}/Bonus
doins Bonus/*
dodoc README NEWS TODO ChangeLog