pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/w3m Add migemo option (disabled by default)
details: https://anonhg.NetBSD.org/pkgsrc/rev/09117a8bb1c8
branches: trunk
changeset: 573243:09117a8bb1c8
user: obache <obache%pkgsrc.org@localhost>
date: Mon Mar 15 08:41:05 2010 +0000
description:
Add migemo option (disabled by default)
Based on patch in PR#41639 by YAMASHIRO Jun.
diffstat:
www/w3m/options.mk | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 5e72619e6224 -r 09117a8bb1c8 www/w3m/options.mk
--- a/www/w3m/options.mk Mon Mar 15 08:28:49 2010 +0000
+++ b/www/w3m/options.mk Mon Mar 15 08:41:05 2010 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.10 2009/08/19 05:47:17 minskim Exp $
+# $NetBSD: options.mk,v 1.11 2010/03/15 08:41:05 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.w3m
-PKG_SUPPORTED_OPTIONS= inet6 w3m-lynx-key
+PKG_SUPPORTED_OPTIONS= inet6 migemo w3m-lynx-key
.if ${_W3M_USE_IMAGE} == "YES"
PKG_OPTIONS_REQUIRED_GROUPS+= imagelib
@@ -20,6 +20,16 @@
CONFIGURE_ARGS+= --disable-ipv6
.endif
+.if !empty(PKG_OPTIONS:Mmigemo)
+.include "../../lang/ruby/rubyversion.mk"
+DEPENDS+= ${RUBY_PKGPREFIX}-migemo-[0-9]*:../../textproc/migemo
+FIND_PREFIX:= MIGEMODIR=${RUBY_PKGPREFIX}-migemo
+.include "../../mk/find-prefix.mk"
+CONFIGURE_ARGS+= --with-migemo="${MIGEMODIR}/bin/migemo -t egrep ${MIGEMODIR}/share/migemo/migemo-dict"
+.else
+CONFIGURE_ARGS+= --without-migemo
+.endif
+
.if !empty(PKG_OPTIONS:Mw3m-lynx-key)
CONFIGURE_ARGS+= --enable-keymap=lynx
.else
Home |
Main Index |
Thread Index |
Old Index