diff options
author | obache <obache@pkgsrc.org> | 2010-03-15 08:41:05 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-03-15 08:41:05 +0000 |
commit | db9cea66c2578db239be399191d686d833c268d3 (patch) | |
tree | 68d624358bdee7486d805e17b2f93d3fc323700a /www/w3m | |
parent | dc3798a3f6af20cc93949f80ccce14e09bac96d3 (diff) | |
download | pkgsrc-db9cea66c2578db239be399191d686d833c268d3.tar.gz |
Add migemo option (disabled by default)
Based on patch in PR#41639 by YAMASHIRO Jun.
Diffstat (limited to 'www/w3m')
-rw-r--r-- | www/w3m/options.mk | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/www/w3m/options.mk b/www/w3m/options.mk index 68ea044a909..57415bfbef4 100644 --- a/www/w3m/options.mk +++ b/www/w3m/options.mk @@ -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+= --enable-ipv6 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 |