diff options
Diffstat (limited to 'inputmethod/im-ja/options.mk')
-rw-r--r-- | inputmethod/im-ja/options.mk | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/inputmethod/im-ja/options.mk b/inputmethod/im-ja/options.mk new file mode 100644 index 00000000000..27e84d2e9d7 --- /dev/null +++ b/inputmethod/im-ja/options.mk @@ -0,0 +1,65 @@ +# $NetBSD: options.mk,v 1.1.1.1 2010/05/20 08:18:00 obache Exp $ +# + +PKG_OPTIONS_VAR= PKG_OPTIONS.im-ja +PKG_SUPPORTED_OPTIONS= anthy canna skk gnome xim +PKG_SUGGESTED_OPTIONS= anthy canna skk gnome xim + +.include "../../mk/bsd.options.mk" + +PLIST_VARS+= gnome xim + +# +# Canna support +# +.if !empty(PKG_OPTIONS:Mcanna) +.include "../../inputmethod/canna-lib/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-canna +.endif + +# +# Anthy support +# +.if !empty(PKG_OPTIONS:Manthy) +.include "../../inputmethod/anthy/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-anthy +.endif + +# +# Wnn support +# XXX: broken, need shlib. +# +.if !empty(PKG_OPTIONS:Mwnn4) +.include "../../inputmethod/ja-freewnn-lib/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-wnn +.endif + +# +# SKK support +# +.if empty(PKG_OPTIONS:Mskk) +CONFIGURE_ARGS+= --disable-skk +.endif + +# +# Gnome applet +# +.if !empty(PKG_OPTIONS:Mgnome) +.include "../../x11/gnome-panel/buildlink3.mk" +PLIST.gnome= yes +.else +CONFIGURE_ARGS+= --disable-gnome +.endif + +# +# XIM support +# +.if !empty(PKG_OPTIONS:Mxim) +.include "../../x11/libX11/buildlink3.mk" +PLIST.xim= yes +.else +CONFIGURE_ARGS+= --disable-xim +.endif |