pkgsrc/x11/mlterm/options.mk
tsutsui d26f38fdd0 Update mlterm to 3.5.0.
pkgsrc changes:
 - handle new canna and wnn input method plugins as options
 - remove post-3.4.5 patch
 - pull the following post-3.5.0 Romanized Japanese conversion updates for wnn:
   8de212cf5b

Changes noted in doc/en/ReleaseNote:

ver 3.5.0
* Support WSDISPLAYIO_GET_FBINFO on NetBSD/framebuffer.
* Support Canna (--im canna) and Freewnn (--im wnn) as input method plugins.
* Support vertical and horizontal screen separation.
  (Note that -s=false option disables not only scrollbar but also screen separation.)
* Add HSPLIT_SCREEN(Shift+F1), VSPLIT_SCREEN(Shift+F2), NEXT_SCREEN(Shift+F3),
  PREV_SCREEN(Shift+F4), CLOSE_SCREEN(Shift+F5), HEXPAND_SCREEN(Shift+F6) and
  VEXPAND_SCREEN(Shift+F7) to shortcut key settings.
* Add "hsplit_screen", "vsplit_screen", "hresize_screen", "vresize_screen" and
  "next_screen" to OSC 5379.
* Rename "use_scrollbar" option to "use_mdi" which enables not only scrollbar but
  also screen separation.
* Support Allow132 (CSI?40h, CSI?40l).
  (Merge https://gist.github.com/saitoha/4b320b9cb6d637d14dbc)
* HankakuZenkaku key works on Linux/framebuffer.
* Bug fixes:
  Fix stiff behavior of "use_local_echo=true" on ssh connection by libssh2.
  Fix a bug which disabled OSC 5379 show_picture URL on all platforms except win32.
  (enbugged at 3.4.2)
2015-06-13 21:25:45 +00:00

90 lines
2.3 KiB
Makefile

# $NetBSD: options.mk,v 1.9 2015/06/13 21:25:45 tsutsui Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mlterm
PKG_SUPPORTED_OPTIONS= cairo canna fribidi gdk_pixbuf2 ibus libind m17nlib mlterm-fb uim wnn4 xft2
PKG_SUGGESTED_OPTIONS= cairo fribidi gdk_pixbuf2 xft2
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux"
PKG_SUGGESTED_OPTIONS+= mlterm-fb
.endif
.include "../../mk/bsd.options.mk"
PLIST_VARS+= bidi cairo canna fb ibus ind m17nlib uim wnn xft2
.if !empty(PKG_OPTIONS:Mmlterm-fb)
CONFIGURE_ARGS+= --with-gui=xlib,fb
PLIST.fb= yes
SPECIAL_PERMS+= ${PREFIX:Q}/bin/mlterm-fb ${SETUID_ROOT_PERMS}
CONF_FILES+= ${EGDIR}/font-fb ${PKG_SYSCONFDIR}/font-fb
.endif
.if !empty(PKG_OPTIONS:Mcairo)
.include "../../graphics/cairo/buildlink3.mk"
PLIST.cairo= yes
.else
.endif
.if !empty(PKG_OPTIONS:Mcanna)
.include "../../inputmethod/canna-lib/buildlink3.mk"
CONFIGURE_ARGS+= --enable-canna
PLIST.canna= yes
.endif
.if !empty(PKG_OPTIONS:Mfribidi)
.include "../../converters/fribidi/buildlink3.mk"
CONFIGURE_ARGS+= --enable-fribidi
PLIST.bidi= yes
.else
CONFIGURE_ARGS+= --disable-fribidi
.endif
.if !empty(PKG_OPTIONS:Mgdk_pixbuf2)
CONFIGURE_ARGS+= --with-imagelib=gdk-pixbuf
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mibus)
.include "../../inputmethod/ibus/buildlink3.mk"
CONFIGURE_ARGS+= --enable-ibus
PLIST.ibus= yes
.endif
.if !empty(PKG_OPTIONS:Mlibind)
CONFIGURE_ARGS+= --enable-ind
PLIST.ind= yes
LICENSE+= AND gnu-lgpl-v2
.endif
.if !empty(PKG_OPTIONS:Mm17nlib)
.include "../../devel/m17n-lib/buildlink3.mk"
CONFIGURE_ARGS+= --enable-m17nlib
PLIST.m17nlib= yes
.endif
.if !empty(PKG_OPTIONS:Muim)
.include "../../inputmethod/uim/buildlink3.mk"
CONFIGURE_ARGS+= --enable-uim
PLIST.uim= yes
LICENSE+= AND gnu-lgpl-v2
.endif
.if !empty(PKG_OPTIONS:Mwnn4)
.include "../../inputmethod/ja-freewnn-lib/buildlink3.mk"
CONFIGURE_ARGS+= --enable-wnn
PLIST.wnn= yes
.endif
.if !empty(PKG_OPTIONS:Mxft2)
.include "../../x11/libXft/buildlink3.mk"
PLIST.xft2= yes
.endif
.if !empty(PKG_OPTIONS:Mcairo) && !empty(PKG_OPTIONS:Mxft2)
CONFIGURE_ARGS+= --with-type-engines=xcore,xft,cairo
.elif !empty(PKG_OPTIONS:Mcairo)
CONFIGURE_ARGS+= --with-type-engines=xcore,cairo
.elif !empty(PKG_OPTIONS:Mxft2)
CONFIGURE_ARGS+= --with-type-engines=xcore,xft
.else
CONFIGURE_ARGS+= --with-type-engines=xcore
.endif