summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorkei <kei@pkgsrc.org>2001-05-01 00:31:24 +0000
committerkei <kei@pkgsrc.org>2001-05-01 00:31:24 +0000
commit4553c0ae0e0c343ca0ca491df1be23e1876f700e (patch)
tree38e47f3a084cd9214306090e3fc7c4aad3e57fdd /www
parent6bd9c900f897e268905f12605f141c99bba3ee8f (diff)
downloadpkgsrc-4553c0ae0e0c343ca0ca491df1be23e1876f700e.tar.gz
As per request of itojun and hubertf, rename w3m-m17n as w3m. It reduces our
maintenance cost. Approved by agc.
Diffstat (limited to 'www')
-rw-r--r--www/w3m-m17n/Makefile144
-rw-r--r--www/w3m-m17n/distinfo9
-rw-r--r--www/w3m-m17n/patches/patch-aa39
-rw-r--r--www/w3m-m17n/patches/patch-ab22
-rw-r--r--www/w3m-m17n/pkg/DESCR16
-rw-r--r--www/w3m-m17n/pkg/PLIST55
-rw-r--r--www/w3m/Makefile107
-rw-r--r--www/w3m/distinfo11
-rw-r--r--www/w3m/patches/patch-aa44
-rw-r--r--www/w3m/patches/patch-ab2
-rw-r--r--www/w3m/patches/patch-ac38
-rw-r--r--www/w3m/patches/patch-ad49
-rw-r--r--www/w3m/patches/patch-ae13
-rw-r--r--www/w3m/patches/patch-af (renamed from www/w3m-m17n/patches/patch-af)2
-rw-r--r--www/w3m/pkg/DESCR20
-rw-r--r--www/w3m/pkg/PLIST5
16 files changed, 94 insertions, 482 deletions
diff --git a/www/w3m-m17n/Makefile b/www/w3m-m17n/Makefile
deleted file mode 100644
index 3830c7e8249..00000000000
--- a/www/w3m-m17n/Makefile
+++ /dev/null
@@ -1,144 +0,0 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/04/23 12:18:55 kei Exp $
-#
-
-DISTNAME= w3m-0.2.1
-PKGNAME= w3m-m17n-0.19
-CATEGORIES= www
-MASTER_SITES= ftp://ei5nazha.yz.yamagata-u.ac.jp/w3m/
-
-PATCH_SITES= http://www2u.biglobe.ne.jp/~hsaka/w3m/patch/
-PATCHFILES= w3m-0.2.1-m17n-0.19.patch.gz
-PATCH_DIST_STRIP= -p1
-
-MAINTAINER= kei@netbsd.org
-HOMEPAGE= http://www2u.biglobe.ne.jp/~hsaka/w3m/
-COMMENT= multilingualized version of a pager/text-based browser w3m
-
-DEPENDS= boehm-gc>=5.3:../../devel/boehm-gc
-
-HELPDIR= share/doc/w3m-m17n
-HELPERDIR= lib/w3m-m17n
-
-# configure will check IPv6 readiness automatically
-BUILD_DEFS+= USE_INET6
-
-.include "../../mk/bsd.prefs.mk"
-.if defined(EXTRACT_USING_PAX)
-EXTRACT_ELEMENTS= -c ${DISTNAME}/gc/\*
-.else
-EXTRACT_ELEMENTS= --exclude ${DISTNAME}/gc/\*
-.endif
-
-# Always enable multiligualization.
-W3M_USE_M17N= YES
-# Set this to YES if you want unicode support.
-W3M_USE_UNICODE?= YES
-# set this to YES to use Japanese messages.
-W3M_USE_JAPANESE_MESSAGES?= NO
-# Set this to YES to use lynx like key binding.
-W3M_USE_LYNX_KEY?= NO
-# set this to YES if you want HTTPS support.
-W3M_USE_SSL?= YES
-# set this to YES if you want HTTP cookie support.
-W3M_USE_COOKIE?= YES
-# set this to YES if you want mouse support.
-W3M_USE_MOUSE?= YES
-# set this to YES if you want color support.
-W3M_USE_COLOR?= YES
-
-CONFIGURE_ENV+= use_m17n=y
-.if ${W3M_USE_UNICODE} == YES
-CONFIGURE_ENV+= use_unicode=y
-.else
-CONFIGURE_ENV+= use_unicode=n
-.endif
-CONFIGURE_ENV+= charset=ISO-2022-JP-2
-.if ${W3M_USE_JAPANESE_MESSAGES} == YES
-CONFIGURE_ENV+= lang=ja
-HELP_LANG= _ja
-.else
-CONFIGURE_ENV+= lang=en
-HELP_LANG= _en
-.endif
-.if ${W3M_USE_COLOR} == YES
-CONFIGURE_ENV+= use_color=y
-.else
-CONFIGURE_ENV+= use_color=n
-.endif
-.if ${W3M_USE_MOUSE} == YES
-CONFIGURE_ENV+= use_mouse=y
-.else
-CONFIGURE_ENV+= use_mouse=n
-.endif
-.if ${W3M_USE_COOKIE} == YES
-CONFIGURE_ENV+= use_cookie=y
-.else
-CONFIGURE_ENV+= use_cookie=n
-.endif
-.if ${W3M_USE_SSL} == YES
-USE_SSL= YES
-CONFIGURE_ENV+= use_ssl=y use_ssl_verify=n
-.else
-CONFIGURE_ENV+= use_ssl=n use_ssl_verify=n
-.endif
-.if ${W3M_USE_LYNX_KEY} == YES
-CONFIGURE_ENV+= lynx_key=y
-HELP_W3M= -lynx
-.else
-CONFIGURE_ENV+= lynx_key=n
-HELP_W3M= -w3m
-.endif
-CONFIGURE_ENV+= def_bindir=${LOCALBASE}/bin
-CONFIGURE_ENV+= def_libdir=${LOCALBASE}/${HELPERDIR}
-CONFIGURE_ENV+= def_helpdir=${LOCALBASE}/${HELPDIR}
-CONFIGURE_ENV+= use_menu=y use_matrix=n ansi_color=y
-CONFIGURE_ENV+= ded=vi dmail=Mail dbrowser=
-CONFIGURE_ENV+= dcc="${CC}" dtermlib="-ltermcap"
-CONFIGURE_ENV+= dldflags="-Wl,-rpath,${LOCALBASE}/lib -L${LOCALBASE}/lib"
-CONFIGURE_ENV+= dmodel=6
-CONFIGURE_ENV+= LOCALBASE="${LOCALBASE}"
-
-post-extract:
- @(cd ${WRKSRC}/doc; ${RM} -fr CVS)
- @(cd ${WRKSRC}/doc-jp; ${RM} -fr CVS)
-
-post-patch:
- ${FIND} ${WRKSRC} -type f -name '*.orig'|xargs ${RM}
-
-# do not look at previous configuration
-do-configure:
- @yes '' | (cd ${WRKSRC} && CC="${CC}" ac_cv_path_CC="${CC}" \
- INSTALL="${INSTALL_SCRIPT}" \
- CFLAGS="${CFLAGS}" INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
- ${CONFIGURE_ENV} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
-
-pre-build:
- @(cd ${WRKSRC}; \
- ${MAKE} XXMakefile; \
- ${MV} XXMakefile XXMakefile.gen; \
- ${SED} -e '/^GCLIB/s|gc/gc.a|-lgc|' -e '/^GCTARGET/s|gc/gc.a||' \
- XXMakefile.gen > XXMakefile)
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/w3m-m17n ${LOCALBASE}/bin
- ${INSTALL_MAN} ${WRKSRC}/doc/w3m.1 ${LOCALBASE}/man/man1/w3m-m17n.1
- ${INSTALL_MAN} ${WRKSRC}/doc-jp/w3m.1 \
- ${LOCALBASE}/man/ja_JP.EUC/man1/w3m-m17n.1
- ${INSTALL_DATA_DIR} ${LOCALBASE}/${HELPDIR}
- ${INSTALL_DATA} ${WRKSRC}/w3mhelp-w3m_en.html ${LOCALBASE}/${HELPDIR}
- ${INSTALL_DATA} ${WRKSRC}/w3mhelp-w3m_ja.html ${LOCALBASE}/${HELPDIR}
- ${INSTALL_DATA} ${WRKSRC}/w3mhelp-lynx_en.html ${LOCALBASE}/${HELPDIR}
- ${INSTALL_DATA} ${WRKSRC}/w3mhelp-lynx_ja.html ${LOCALBASE}/${HELPDIR}
- # Use ${PAX} to discard uid/gid
- (cd ${WRKSRC}; ${PAX} -w doc doc-jp) | \
- (cd ${LOCALBASE}/${HELPDIR}; ${PAX} -r)
- ${INSTALL_DATA_DIR} ${LOCALBASE}/${HELPERDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/w3mbookmark ${LOCALBASE}/${HELPERDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/w3mhelperpanel ${LOCALBASE}/${HELPERDIR}
-
-post-install:
- (cd ${LOCALBASE}/${HELPDIR}; \
- ${RM} -f w3mhelp.html; \
- ${LN} -s w3mhelp${HELP_W3M}${HELP_LANG}.html w3mhelp.html)
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/www/w3m-m17n/distinfo b/www/w3m-m17n/distinfo
deleted file mode 100644
index f1259a575ec..00000000000
--- a/www/w3m-m17n/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/04/23 12:18:55 kei Exp $
-
-SHA1 (w3m-0.2.1.tar.gz) = 3ae98283f02f4faf05af76ee0b022f01c1301d29
-Size (w3m-0.2.1.tar.gz) = 844101 bytes
-SHA1 (w3m-0.2.1-m17n-0.19.patch.gz) = fad1119054d27bff8683176ff0c02ba906535448
-Size (w3m-0.2.1-m17n-0.19.patch.gz) = 1245263 bytes
-SHA1 (patch-aa) = 9c8e45448aedb1959d155eef355fe5d37599e11c
-SHA1 (patch-ab) = 08a28e40907f8c3040b1e9253caf14b8b4f0dc7e
-SHA1 (patch-af) = f43380334a92c609afef4058b03f1ef72ae77e2e
diff --git a/www/w3m-m17n/patches/patch-aa b/www/w3m-m17n/patches/patch-aa
deleted file mode 100644
index 3e1974a76fe..00000000000
--- a/www/w3m-m17n/patches/patch-aa
+++ /dev/null
@@ -1,39 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/04/23 12:18:55 kei Exp $
-
---- configure.orig Sat Apr 21 13:43:38 2001
-+++ configure Sat Apr 21 13:44:34 2001
-@@ -194,7 +194,7 @@
-
- find_ssl() {
- sslinclude=""
-- for i1 in /usr /usr/local
-+ for i1 in /usr /usr/local /usr/pkg
- do
- for i2 in /openssl /ssl /
- do
-@@ -907,7 +907,7 @@
- gclib=''
- gcinclude=''
- gctarget=''
--for libdir in /lib /usr/lib /usr/local/lib /usr/ucblib /usr/ccslib /usr/ccs/lib ${HOME}/lib
-+for libdir in /lib /usr/lib ${LOCALBASE}/lib /usr/local/lib /usr/ucblib /usr/ccslib /usr/ccs/lib ${HOME}/lib
- do
- if [ -f $libdir/libgc.a -o -f $libdir/libgc.so ] ; then
- echo "$libdir/libgc found"
-@@ -915,7 +915,7 @@
- break
- fi
- done
--for inc in /usr/include /usr/include/gc /usr/local/include /usr/local/include/gc ${HOME}/include
-+for inc in /usr/include /usr/include/gc ${LOCALBASE}/include /usr/local/include /usr/local/include/gc ${HOME}/include
- do
- if [ -f $inc/gc.h ]; then
- echo "$inc/gc.h found"
-@@ -1600,6 +1600,7 @@
- if [ `expr "$perl" : 'not found'` != 0 ]; then
- perl=/usr/local/bin/perl
- fi
-+perl=/usr/pkg/bin/perl
- if [ $sysname = CYGWIN ]; then
- cygwin=1
- else
diff --git a/www/w3m-m17n/patches/patch-ab b/www/w3m-m17n/patches/patch-ab
deleted file mode 100644
index 2153a1a9897..00000000000
--- a/www/w3m-m17n/patches/patch-ab
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/04/23 12:18:55 kei Exp $
-
---- main.c.orig Fri Mar 23 11:14:58 2001
-+++ main.c Fri Mar 30 21:02:12 2001
-@@ -1645,7 +1645,17 @@
- shell = "/bin/sh";
- system(shell);
- #else /* SIGSTOP */
-+#ifdef SIGTSTP
-+ signal(SIGTSTP, SIG_DFL); /* just in case */
-+ /*
-+ * Note: If susp() was called from SIGTSTP handler,
-+ * unblocking SIGTSTP would be required here.
-+ * Currently not.
-+ */
-+ kill(0, SIGTSTP); /* stop whole job, not a single process */
-+#else
- kill((pid_t)0, SIGSTOP);
-+#endif
- #endif /* SIGSTOP */
- fmInit();
- displayBuffer(Currentbuf, B_FORCE_REDRAW);
diff --git a/www/w3m-m17n/pkg/DESCR b/www/w3m-m17n/pkg/DESCR
deleted file mode 100644
index 0f6ba4e1d47..00000000000
--- a/www/w3m-m17n/pkg/DESCR
+++ /dev/null
@@ -1,16 +0,0 @@
-Quoted from README.m17n:
-
-Muntilingualizaion of w3m
- 2001/03/24
- H. Sakamoto
-
-Introduction
-
- I have tried the muntilingualization of w3m (w3m-m17n).
- The patch for w3m-0.2.1 is available on the following site.
-
- http://www2u.biglobe.ne.jp/~hsaka/w3m/patch/w3m-m17n-0.18.tar.gz
- README.m17n
-
- It is a development version. And enough test is not preformed because
- I can understand Japanese only. Please use, test, and report bugs.
diff --git a/www/w3m-m17n/pkg/PLIST b/www/w3m-m17n/pkg/PLIST
deleted file mode 100644
index a739c691ef7..00000000000
--- a/www/w3m-m17n/pkg/PLIST
+++ /dev/null
@@ -1,55 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/23 12:18:55 kei Exp $
-bin/w3m-m17n
-man/man1/w3m-m17n.1
-man/ja_JP.EUC/man1/w3m-m17n.1
-share/doc/w3m-m17n/w3mhelp-w3m_en.html
-share/doc/w3m-m17n/w3mhelp-w3m_ja.html
-share/doc/w3m-m17n/w3mhelp-lynx_en.html
-share/doc/w3m-m17n/w3mhelp-lynx_ja.html
-share/doc/w3m-m17n/w3mhelp.html
-@comment share/doc/w3m-m17n/doc
-share/doc/w3m-m17n/doc/FAQ.html
-share/doc/w3m-m17n/doc/HISTORY
-share/doc/w3m-m17n/doc/MANUAL.html
-share/doc/w3m-m17n/doc/README
-share/doc/w3m-m17n/doc/README.cygwin
-share/doc/w3m-m17n/doc/README.dict
-share/doc/w3m-m17n/doc/README.func
-share/doc/w3m-m17n/doc/README.m17n
-share/doc/w3m-m17n/doc/STORY.html
-share/doc/w3m-m17n/doc/history
-share/doc/w3m-m17n/doc/keymap.default
-share/doc/w3m-m17n/doc/keymap.lynx
-share/doc/w3m-m17n/doc/menu.default
-share/doc/w3m-m17n/doc/menu.submenu
-share/doc/w3m-m17n/doc/w3m.1
-@comment share/doc/w3m-m17n/doc-jp
-share/doc/w3m-m17n/doc-jp/FAQ.html
-share/doc/w3m-m17n/doc-jp/HISTORY
-share/doc/w3m-m17n/doc-jp/HISTORY.kokb
-share/doc/w3m-m17n/doc-jp/MANUAL.html
-share/doc/w3m-m17n/doc-jp/README
-share/doc/w3m-m17n/doc-jp/README.SSL
-share/doc/w3m-m17n/doc-jp/README.cookie
-share/doc/w3m-m17n/doc-jp/README.cygwin
-share/doc/w3m-m17n/doc-jp/README.dict
-share/doc/w3m-m17n/doc-jp/README.func
-share/doc/w3m-m17n/doc-jp/README.hp
-share/doc/w3m-m17n/doc-jp/README.keymap
-share/doc/w3m-m17n/doc-jp/README.kokb
-share/doc/w3m-m17n/doc-jp/README.m17n
-share/doc/w3m-m17n/doc-jp/README.mailcap
-share/doc/w3m-m17n/doc-jp/README.menu
-share/doc/w3m-m17n/doc-jp/STORY.html
-share/doc/w3m-m17n/doc-jp/TODO.m17n
-share/doc/w3m-m17n/doc-jp/keymap.default
-share/doc/w3m-m17n/doc-jp/keymap.lynx
-share/doc/w3m-m17n/doc-jp/menu.default
-share/doc/w3m-m17n/doc-jp/menu.submenu
-share/doc/w3m-m17n/doc-jp/w3m.1
-@dirrm share/doc/w3m-m17n/doc
-@dirrm share/doc/w3m-m17n/doc-jp
-@dirrm share/doc/w3m-m17n
-lib/w3m-m17n/w3mbookmark
-lib/w3m-m17n/w3mhelperpanel
-@dirrm lib/w3m-m17n
diff --git a/www/w3m/Makefile b/www/w3m/Makefile
index 1f260abad73..0c5946db83d 100644
--- a/www/w3m/Makefile
+++ b/www/w3m/Makefile
@@ -1,19 +1,25 @@
-# $NetBSD: Makefile,v 1.23 2001/03/31 09:21:16 itojun Exp $
+# $NetBSD: Makefile,v 1.24 2001/05/01 00:31:24 kei Exp $
+#
DISTNAME= w3m-0.2.1
+PKGNAME= w3m-0.2.1.0.19
CATEGORIES= www
MASTER_SITES= ftp://ei5nazha.yz.yamagata-u.ac.jp/w3m/
-MAINTAINER= tech-pkg-ja@jp.netbsd.org
-HOMEPAGE= http://ei5nazha.yz.yamagata-u.ac.jp/~aito/w3m/
-COMMENT= Terminal-based WWW browser with HTML tables and frames support
+PATCH_SITES= http://www2u.biglobe.ne.jp/~hsaka/w3m/patch/
+PATCHFILES= w3m-0.2.1-m17n-0.19.patch.gz
+PATCH_DIST_STRIP= -p1
-DEPENDS= boehm-gc-5.*:../../devel/boehm-gc
+MAINTAINER= kei@netbsd.org
+HOMEPAGE= http://www2u.biglobe.ne.jp/~hsaka/w3m/
+COMMENT= multilingualized version of a pager/text-based browser w3m
-HELPDIR= share/doc/w3m
-HELPERDIR= lib/w3m
+DEPENDS= boehm-gc>=5.3:../../devel/boehm-gc
-HAS_CONFIGURE= yes
+CONFLICTS+= w3m-m17n-*
+
+HELPDIR= share/doc/w3m
+HELPERDIR= lib/w3m
# configure will check IPv6 readiness automatically
BUILD_DEFS+= USE_INET6
@@ -25,76 +31,83 @@ EXTRACT_ELEMENTS= -c ${DISTNAME}/gc/\*
EXTRACT_ELEMENTS= --exclude ${DISTNAME}/gc/\*
.endif
-# Set this to NO for ISO-8859-1 support (exclusive to Japanese).
-W3M_USE_JAPANESE?= YES
-# Set this to YES if you want to use Japanese symbol/messages.
-W3M_USE_JAPANESE_SYMBOL?=NO
+# Always enable multiligualization.
+W3M_USE_M17N= YES
+# Set this to YES if you want unicode support.
+W3M_USE_UNICODE?= YES
+# set this to YES to use Japanese messages.
+W3M_USE_JAPANESE_MESSAGES?= NO
# Set this to YES to use lynx like key binding.
-W3M_USE_LYNX_KEY?= NO
+W3M_USE_LYNX_KEY?= NO
# set this to YES if you want HTTPS support.
-W3M_USE_SSL?= YES
+W3M_USE_SSL?= YES
# set this to YES if you want HTTP cookie support.
-W3M_USE_COOKIE?= YES
+W3M_USE_COOKIE?= YES
# set this to YES if you want mouse support.
-W3M_USE_MOUSE?= NO
+W3M_USE_MOUSE?= YES
# set this to YES if you want color support.
-W3M_USE_COLOR?= NO
+W3M_USE_COLOR?= YES
-.if defined(W3M_USE_COLOR) && ${W3M_USE_COLOR} == YES
+CONFIGURE_ENV+= use_m17n=y
+.if ${W3M_USE_UNICODE} == YES
+CONFIGURE_ENV+= use_unicode=y
+.else
+CONFIGURE_ENV+= use_unicode=n
+.endif
+CONFIGURE_ENV+= charset=ISO-2022-JP-2
+.if ${W3M_USE_JAPANESE_MESSAGES} == YES
+CONFIGURE_ENV+= lang=ja
+HELP_LANG= _ja
+.else
+CONFIGURE_ENV+= lang=en
+HELP_LANG= _en
+.endif
+.if ${W3M_USE_COLOR} == YES
CONFIGURE_ENV+= use_color=y
.else
CONFIGURE_ENV+= use_color=n
.endif
-.if defined(W3M_USE_MOUSE) && ${W3M_USE_MOUSE} == YES
+.if ${W3M_USE_MOUSE} == YES
CONFIGURE_ENV+= use_mouse=y
.else
CONFIGURE_ENV+= use_mouse=n
.endif
-.if defined(W3M_USE_COOKIE) && ${W3M_USE_COOKIE} == YES
+.if ${W3M_USE_COOKIE} == YES
CONFIGURE_ENV+= use_cookie=y
.else
CONFIGURE_ENV+= use_cookie=n
.endif
-.if defined(W3M_USE_SSL) && ${W3M_USE_SSL} == YES
-USE_SSL= YES
+.if ${W3M_USE_SSL} == YES
+USE_SSL= YES
CONFIGURE_ENV+= use_ssl=y use_ssl_verify=n
.else
CONFIGURE_ENV+= use_ssl=n use_ssl_verify=n
.endif
-.if defined(W3M_USE_JAPANESE) && ${W3M_USE_JAPANESE} == YES
-CONFIGURE_ENV+= def_lg=1
-CONFIGURE_ENV+= def_dcode=n
-.else
-CONFIGURE_ENV+= def_lg=2
-.endif
-.if defined(W3M_USE_JAPANESE_SYMBOL) && ${W3M_USE_JAPANESE_SYMBOL} == YES
-CONFIGURE_ENV+= kanji_symbols=y
-HELP_LANG= _ja
-.else
-CONFIGURE_ENV+= kanji_symbols=n
-HELP_LANG= _en
-.endif
-.if defined(W3M_USE_LYNX_KEY) && ${W3M_USE_LYNX_KEY} == YES
+.if ${W3M_USE_LYNX_KEY} == YES
CONFIGURE_ENV+= lynx_key=y
-HELP_W3M= -lynx
+HELP_W3M= -lynx
.else
CONFIGURE_ENV+= lynx_key=n
-HELP_W3M= -w3m
+HELP_W3M= -w3m
.endif
-CONFIGURE_ENV+= def_bindir=${LOCALBASE}/bin
-CONFIGURE_ENV+= def_libdir=${LOCALBASE}/${HELPERDIR}
-CONFIGURE_ENV+= def_helpdir=${LOCALBASE}/${HELPDIR}
-CONFIGURE_ENV+= use_menu=y use_matrix=n
-CONFIGURE_ENV+= ded=vi dmail=Mail dbrowser=
-CONFIGURE_ENV+= dcc="${CC}" dtermlib="-ltermcap"
-CONFIGURE_ENV+= dldflags="-Wl,-rpath,${LOCALBASE}/lib -L${LOCALBASE}/lib"
-CONFIGURE_ENV+= dmodel=6
-CONFIGURE_ENV+= LOCALBASE="${LOCALBASE}"
+CONFIGURE_ENV+= def_bindir=${LOCALBASE}/bin
+CONFIGURE_ENV+= def_libdir=${LOCALBASE}/${HELPERDIR}
+CONFIGURE_ENV+= def_helpdir=${LOCALBASE}/${HELPDIR}
+CONFIGURE_ENV+= use_menu=y use_matrix=n ansi_color=y
+CONFIGURE_ENV+= ded=vi dmail=Mail dbrowser=
+CONFIGURE_ENV+= dcc="${CC}" dtermlib="-ltermcap"
+CONFIGURE_ENV+= dldflags="-Wl,-rpath,${LOCALBASE}/lib -L${LOCALBASE}/lib"
+CONFIGURE_ENV+= dmodel=6
+CONFIGURE_ENV+= LOCALBASE="${LOCALBASE}"
+CONFIGURE_ARGS+= -suffix=
post-extract:
@(cd ${WRKSRC}/doc; ${RM} -fr CVS)
@(cd ${WRKSRC}/doc-jp; ${RM} -fr CVS)
+post-patch:
+ ${FIND} ${WRKSRC} -type f -name '*.orig'|xargs ${RM}
+
# do not look at previous configuration
do-configure:
@yes '' | (cd ${WRKSRC} && CC="${CC}" ac_cv_path_CC="${CC}" \
diff --git a/www/w3m/distinfo b/www/w3m/distinfo
index 60a888856cd..0402957b4ad 100644
--- a/www/w3m/distinfo
+++ b/www/w3m/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.1 2001/04/17 12:13:26 agc Exp $
+$NetBSD: distinfo,v 1.2 2001/05/01 00:31:25 kei Exp $
SHA1 (w3m-0.2.1.tar.gz) = 3ae98283f02f4faf05af76ee0b022f01c1301d29
-SHA1 (patch-aa) = 3b3e7a37d2b76bb312263ee6b0a3fe65fd408d63
+Size (w3m-0.2.1.tar.gz) = 844101 bytes
+SHA1 (w3m-0.2.1-m17n-0.19.patch.gz) = fad1119054d27bff8683176ff0c02ba906535448
+Size (w3m-0.2.1-m17n-0.19.patch.gz) = 1245263 bytes
+SHA1 (patch-aa) = 9c8e45448aedb1959d155eef355fe5d37599e11c
SHA1 (patch-ab) = 08a28e40907f8c3040b1e9253caf14b8b4f0dc7e
-SHA1 (patch-ac) = 0df544ffc127a1fd6495a29fef8e9e8ff99d20c3
-SHA1 (patch-ad) = e3fbd004492adb34816c734b87def63415d96236
-SHA1 (patch-ae) = 205a712187241abf85d870c703a2453f48d1b8f1
+SHA1 (patch-af) = f43380334a92c609afef4058b03f1ef72ae77e2e
diff --git a/www/w3m/patches/patch-aa b/www/w3m/patches/patch-aa
index 9a7b41716e3..41fd95dd22c 100644
--- a/www/w3m/patches/patch-aa
+++ b/www/w3m/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.8 2001/03/31 09:21:17 itojun Exp $
+$NetBSD: patch-aa,v 1.9 2001/05/01 00:31:25 kei Exp $
---- configure.orig Fri Mar 23 11:18:40 2001
-+++ configure Fri Mar 30 21:11:58 2001
-@@ -188,7 +188,7 @@
+--- configure.orig Sat Apr 21 13:43:38 2001
++++ configure Sat Apr 21 13:44:34 2001
+@@ -194,7 +194,7 @@
find_ssl() {
sslinclude=""
@@ -11,37 +11,7 @@ $NetBSD: patch-aa,v 1.8 2001/03/31 09:21:17 itojun Exp $
do
for i2 in /openssl /ssl /
do
-@@ -312,13 +312,13 @@
- echo "Which language do you prefer?"
- echo " 1 - Japanese (charset ISO-2022-JP, EUC-JP, Shift_JIS)"
- echo " 2 - English (charset US_ASCII, ISO-8859-1, etc.)"
--if [ "$pref_lang" = 2 ]; then
-- Echo '[2]? '
-- def_lg=2
--else
-- Echo '[1]? '
-- def_lg=1
--fi
-+#if [ "$pref_lang" = 2 ]; then
-+# Echo '[2]? '
-+# def_lg=2
-+#else
-+# Echo '[1]? '
-+# def_lg=1
-+#fi
- while :
- do
- readanswer lg_ans "$def_lg"
-@@ -469,7 +469,7 @@
- case "$ans" in
- 1)
- use_color=n; def_color="#undef COLOR"
-- use_menu=n; def_menu="#undef MENU"
-+ use_menu=y; def_menu="#undef MENU"
- use_mouse=n; def_mouse="#undef MOUSE"
- use_cookie=n; def_cookie="#undef USE_COOKIE"
- use_ssl=n; def_ssl="#undef USE_SSL"
-@@ -796,7 +796,7 @@
+@@ -907,7 +907,7 @@
gclib=''
gcinclude=''
gctarget=''
@@ -50,7 +20,7 @@ $NetBSD: patch-aa,v 1.8 2001/03/31 09:21:17 itojun Exp $
do
if [ -f $libdir/libgc.a -o -f $libdir/libgc.so ] ; then
echo "$libdir/libgc found"
-@@ -804,7 +804,7 @@
+@@ -915,7 +915,7 @@
break
fi
done
@@ -59,7 +29,7 @@ $NetBSD: patch-aa,v 1.8 2001/03/31 09:21:17 itojun Exp $
do
if [ -f $inc/gc.h ]; then
echo "$inc/gc.h found"
-@@ -1699,6 +1699,7 @@
+@@ -1600,6 +1600,7 @@
if [ `expr "$perl" : 'not found'` != 0 ]; then
perl=/usr/local/bin/perl
fi
diff --git a/www/w3m/patches/patch-ab b/www/w3m/patches/patch-ab
index b1f5a713454..9eee5c0a173 100644
--- a/www/w3m/patches/patch-ab
+++ b/www/w3m/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.7 2001/03/31 09:21:17 itojun Exp $
+$NetBSD: patch-ab,v 1.8 2001/05/01 00:31:25 kei Exp $
--- main.c.orig Fri Mar 23 11:14:58 2001
+++ main.c Fri Mar 30 21:02:12 2001
diff --git a/www/w3m/patches/patch-ac b/www/w3m/patches/patch-ac
deleted file mode 100644
index 7e5741f1311..00000000000
--- a/www/w3m/patches/patch-ac
+++ /dev/null
@@ -1,38 +0,0 @@
-$NetBSD: patch-ac,v 1.8 2001/03/31 09:21:17 itojun Exp $
-
-*** display.c.orig Fri Mar 23 10:49:53 2001
---- display.c Fri Mar 30 21:02:31 2001
-***************
-*** 251,257 ****
-
- #ifdef MOUSE
- if (use_mouse)
-! #if LANG == JA
- msg = Strnew_charp("≪↑↓");
- #else /* LANG != JA */
- msg = Strnew_charp("<=UpDn ");
---- 251,257 ----
-
- #ifdef MOUSE
- if (use_mouse)
-! #if KANJI_SYMBOL
- msg = Strnew_charp("≪↑↓");
- #else /* LANG != JA */
- msg = Strnew_charp("<=UpDn ");
-***************
-*** 273,279 ****
- if (s->length > l) {
- if (l >= 4) {
- msg = Strsubstr(s, 0, (l - 2) / 2);
-! #if LANG == JA
- Strcat_charp(msg, "…");
- #else /* LANG != JA */
- Strcat_charp(msg, "..");
---- 273,279 ----
- if (s->length > l) {
- if (l >= 4) {
- msg = Strsubstr(s, 0, (l - 2) / 2);
-! #if KANJI_SYMBOL
- Strcat_charp(msg, "…");
- #else /* LANG != JA */
- Strcat_charp(msg, "..");
diff --git a/www/w3m/patches/patch-ad b/www/w3m/patches/patch-ad
deleted file mode 100644
index d800d64b8d1..00000000000
--- a/www/w3m/patches/patch-ad
+++ /dev/null
@@ -1,49 +0,0 @@
-$NetBSD: patch-ad,v 1.6 2001/03/31 09:21:17 itojun Exp $
-
---- rc.c.orig Fri Mar 23 10:51:04 2001
-+++ rc.c Fri Mar 30 21:07:29 2001
-@@ -51,7 +51,7 @@
- #endif
- #define P_PIXELS 8
-
--#if LANG == JA
-+#if KANJI_SYMBOL
- #define CMT_HELPER "外部ビューアの編集"
- #define CMT_TABSTOP "タブ幅"
- #define CMT_PIXEL_PER_CHAR "文字幅 (4.0...32.0)"
-@@ -146,7 +146,7 @@
- #define CMT_PAGERLINE "# of reserved line when w3m is used as a pager"
- #define CMT_HISTSIZE "# of reserved URL"
- #define CMT_SAVEHIST "Save URL history"
--/* #define CMT_KANJICODE "Display Kanji Code" */
-+#define CMT_KANJICODE "Display Kanji Code"
- #define CMT_FRAME "Automatic rendering of frame"
- #define CMT_TSELF "use _self as default target"
- #define CMT_DISPLINK "Automatic display of link URL"
-@@ -184,7 +184,7 @@
- #define CMT_FTPPASS "Password for FTP(use your mail address)"
- #define CMT_USERAGENT "User-Agent"
- #define CMT_ACCEPTLANG "Accept-Language"
--/* #define CMT_DOCUMENTCODE "Document Charset" */
-+#define CMT_DOCUMENTCODE "Document Charset"
- #define CMT_WRAP "Wrap search"
- #define CMT_VIEW_UNSEENOBJECTS "Display unseenobjects (e.g. bgimage) tag"
- #ifdef __EMX__
-@@ -260,7 +260,7 @@
- #ifdef COLOR
- static struct sel_c colorstr[] =
- {
--#if LANG == JA
-+#if KANJI_SYMBOL
- {0, "black", "黒"},
- {1, "red", "赤"},
- {2, "green", "緑"},
-@@ -442,7 +442,7 @@
-
- struct param_section sections[] =
- {
--#if LANG == JA
-+#if KANJI_SYMBOL
- {"表示関係", params1},
- #ifdef COLOR
- {"表示色", params2},
diff --git a/www/w3m/patches/patch-ae b/www/w3m/patches/patch-ae
deleted file mode 100644
index 06fc426f0d5..00000000000
--- a/www/w3m/patches/patch-ae
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ae,v 1.5 2001/04/02 04:24:14 itojun Exp $
-
---- w3mhelperpanel.c- Mon Apr 2 13:22:06 2001
-+++ w3mhelperpanel.c Mon Apr 2 13:22:18 2001
-@@ -10,7 +10,7 @@
-
- #include "gcmain.c"
-
--#if LANG == JA
-+#if KANJI_SYMBOL
- #define MSG_TITLE "外部ビューアの編集"
- #define MSG_NEW_ENTRY "新規登録"
- #define MSG_TYPE "データタイプ"
diff --git a/www/w3m-m17n/patches/patch-af b/www/w3m/patches/patch-af
index c7d0a05db2a..2e127501689 100644
--- a/www/w3m-m17n/patches/patch-af
+++ b/www/w3m/patches/patch-af
@@ -1,4 +1,4 @@
-$NetBSD: patch-af,v 1.1.1.1 2001/04/23 12:18:55 kei Exp $
+$NetBSD: patch-af,v 1.3 2001/05/01 00:31:26 kei Exp $
--- libwc/Makefile.orig Sat Apr 21 16:23:53 2001
+++ libwc/Makefile Sat Apr 21 16:32:43 2001
diff --git a/www/w3m/pkg/DESCR b/www/w3m/pkg/DESCR
index ec7be9aff2b..0f6ba4e1d47 100644
--- a/www/w3m/pkg/DESCR
+++ b/www/w3m/pkg/DESCR
@@ -1,6 +1,16 @@
-W3m is a termial-based WWW browser which supports HTML tables and frames. It's
-small, so faster than other WWW browsers. It also supports following URL by
-clicking mouse button on the anchor in xterm and its variants from 990526
-version.
+Quoted from README.m17n:
-It uses Boehm-GC to implement the table/frame parser.
+Muntilingualizaion of w3m
+ 2001/03/24
+ H. Sakamoto
+
+Introduction
+
+ I have tried the muntilingualization of w3m (w3m-m17n).
+ The patch for w3m-0.2.1 is available on the following site.
+
+ http://www2u.biglobe.ne.jp/~hsaka/w3m/patch/w3m-m17n-0.18.tar.gz
+ README.m17n
+
+ It is a development version. And enough test is not preformed because
+ I can understand Japanese only. Please use, test, and report bugs.
diff --git a/www/w3m/pkg/PLIST b/www/w3m/pkg/PLIST
index 1dbf3da3ffc..d0cc9fbbd07 100644
--- a/www/w3m/pkg/PLIST
+++ b/www/w3m/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2001/03/31 09:21:18 itojun Exp $
+@comment $NetBSD: PLIST,v 1.6 2001/05/01 00:31:26 kei Exp $
bin/w3m
man/man1/w3m.1
man/ja_JP.EUC/man1/w3m.1
@@ -15,6 +15,7 @@ share/doc/w3m/doc/README
share/doc/w3m/doc/README.cygwin
share/doc/w3m/doc/README.dict
share/doc/w3m/doc/README.func
+share/doc/w3m/doc/README.m17n
share/doc/w3m/doc/STORY.html
share/doc/w3m/doc/history
share/doc/w3m/doc/keymap.default
@@ -36,9 +37,11 @@ share/doc/w3m/doc-jp/README.func
share/doc/w3m/doc-jp/README.hp
share/doc/w3m/doc-jp/README.keymap
share/doc/w3m/doc-jp/README.kokb
+share/doc/w3m/doc-jp/README.m17n
share/doc/w3m/doc-jp/README.mailcap
share/doc/w3m/doc-jp/README.menu
share/doc/w3m/doc-jp/STORY.html
+share/doc/w3m/doc-jp/TODO.m17n
share/doc/w3m/doc-jp/keymap.default
share/doc/w3m/doc-jp/keymap.lynx
share/doc/w3m/doc-jp/menu.default