diff options
author | ryoon <ryoon@pkgsrc.org> | 2018-08-18 01:25:58 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2018-08-18 01:25:58 +0000 |
commit | db1070dfecb500a34579dbff01d6a308ad594674 (patch) | |
tree | 4e934dc898fe6113e63ac47f5ba8c1317c09bcfc /x11/mlterm | |
parent | dd80a043972d3fbea1a3cc6999f35c1f85d7340f (diff) | |
download | pkgsrc-db1070dfecb500a34579dbff01d6a308ad594674.tar.gz |
Add fcitx option
Diffstat (limited to 'x11/mlterm')
-rw-r--r-- | x11/mlterm/PLIST | 4 | ||||
-rw-r--r-- | x11/mlterm/options.mk | 14 |
2 files changed, 14 insertions, 4 deletions
diff --git a/x11/mlterm/PLIST b/x11/mlterm/PLIST index 4144a9c523a..6c8134e4780 100644 --- a/x11/mlterm/PLIST +++ b/x11/mlterm/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.39 2017/02/04 16:20:12 tsutsui Exp $ +@comment $NetBSD: PLIST,v 1.40 2018/08/18 01:32:23 ryoon Exp $ bin/mlcc bin/mlclient bin/mlclientx @@ -17,6 +17,8 @@ ${PLIST.bidi}lib/mlterm/libctl_bidi.la ${PLIST.ind}lib/mlterm/libctl_iscii.la ${PLIST.canna}lib/mlterm/libim-canna.la ${PLIST.fb}${PLIST.canna}lib/mlterm/libim-canna-fb.la +${PLIST.fb}${PLIST.fcitx}lib/mlterm/libim-fcitx-fb.la +${PLIST.fcitx}lib/mlterm/libim-fcitx.la ${PLIST.ibus}lib/mlterm/libim-ibus.la ${PLIST.fb}${PLIST.ibus}lib/mlterm/libim-ibus-fb.la lib/mlterm/libim-kbd.la diff --git a/x11/mlterm/options.mk b/x11/mlterm/options.mk index 712711944c7..d0099053c9e 100644 --- a/x11/mlterm/options.mk +++ b/x11/mlterm/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.14 2017/05/06 13:48:39 tsutsui Exp $ +# $NetBSD: options.mk,v 1.15 2018/08/18 01:32:23 ryoon Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.mlterm -PKG_SUPPORTED_OPTIONS= cairo canna fribidi gdk_pixbuf2 ibus libind m17nlib mlterm-fb otl scim skk uim wnn4 xft2 +PKG_SUPPORTED_OPTIONS= cairo canna fcitx fribidi gdk_pixbuf2 ibus libind m17nlib mlterm-fb otl scim skk uim wnn4 xft2 PKG_SUGGESTED_OPTIONS= cairo fribidi gdk_pixbuf2 m17nlib otl xft2 .if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" PKG_SUGGESTED_OPTIONS+= mlterm-fb @@ -9,7 +9,7 @@ PKG_SUGGESTED_OPTIONS+= mlterm-fb .include "../../mk/bsd.options.mk" -PLIST_VARS+= bidi cairo canna fb ibus ind m17nlib otl scim skk uim wnn xft2 +PLIST_VARS+= bidi cairo canna fb fcitx ibus ind m17nlib otl scim skk uim wnn xft2 .if !empty(PKG_OPTIONS:Mmlterm-fb) CONFIGURE_ARGS+= --with-gui=xlib,fb @@ -45,6 +45,14 @@ CONFIGURE_ARGS+= --with-imagelib=gdk-pixbuf .include "../../graphics/gdk-pixbuf2/buildlink3.mk" .endif +.if !empty(PKG_OPTIONS:Mfcitx) +.include "../../inputmethod/fcitx/buildlink3.mk" +CONFIGURE_ARGS+= --enable-fcitx +PLIST.fcitx= yes +.else +CONFIGURE_ARGS+= --disable-fcitx +.endif + .if !empty(PKG_OPTIONS:Mibus) .include "../../inputmethod/ibus/buildlink3.mk" CONFIGURE_ARGS+= --enable-ibus |