2012-03-10 16:24:50 +01:00
|
|
|
# $NetBSD: options.mk,v 1.2 2012/03/10 15:24:50 obache Exp $
|
Import im-ja-1.5 as inputmethod/im-ja.
im-ja is a Japanese input module for GTK2 and also has a XIM server.
Currently supports hiragana, katakana, half-width katakana, zenkaku, canna, wnn,
anthy, skk and kanji character recognition inputs.
Conversion hotkeys, status window, preedit text colors, etc. can be customized
through a GUI. An optional applet is also included for the gnome-panel which
can be used to display and change the input method.
2010-05-20 10:18:00 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.im-ja
|
2012-03-10 16:24:50 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS= anthy canna wnn4 skk gnome xim
|
Import im-ja-1.5 as inputmethod/im-ja.
im-ja is a Japanese input module for GTK2 and also has a XIM server.
Currently supports hiragana, katakana, half-width katakana, zenkaku, canna, wnn,
anthy, skk and kanji character recognition inputs.
Conversion hotkeys, status window, preedit text colors, etc. can be customized
through a GUI. An optional applet is also included for the gnome-panel which
can be used to display and change the input method.
2010-05-20 10:18:00 +02:00
|
|
|
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
|
|
|
|
#
|
|
|
|
.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
|