pkgsrc/devel/m17n-lib/options.mk
obache 3aaee5da5c Update m17n-lib to 1.7.0.
* Changes in the m17n library 1.7.0

** The mechanism of fallback input method is implemented.  For that, a
new variable fallback-input-method and new commands switch-im,
push-im, pop-im are supported.
2014-12-14 07:53:53 +00:00

34 lines
896 B
Makefile

# $NetBSD: options.mk,v 1.5 2014/12/14 07:53:53 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.m17n-lib
PKG_SUPPORTED_OPTIONS= anthy ispell x11 libthai
PKG_SUGGESTED_OPTIONS= x11
.include "../../mk/bsd.options.mk"
PLIST_VARS+= x11
.if !empty(PKG_OPTIONS:Manthy)
.include "../../inputmethod/anthy/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mispell)
DEPENDS+= ispell-[0-9]*:../../textproc/ispell
.endif
.if !empty(PKG_OPTIONS:Mx11)
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/gd/buildlink3.mk"
BUILDLINK_API_DEPENDS.libotf+= libotf>=0.9.11
.include "../../graphics/libotf/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.include "../../mk/xaw.buildlink3.mk"
PLIST.x11= yes
.else
CONFIGURE_ARGS+= --enable-gui=no
.endif
.if !empty(PKG_OPTIONS:Mlibthai)
.include "../../devel/libthai/buildlink3.mk"
.endif