pkgsrc/inputmethod/ibus-libpinyin/options.mk
obache fa75131c99 Import ibus-libpinyin-1.6.92 as inputmethod/ibus-libpinyin.
This package includes a Chinese Pinyin input method and a Chinese ZhuYin
(Bopomofo) input method based on libpinyin for IBus.
2014-06-01 13:30:35 +00:00

20 lines
389 B
Makefile

# $NetBSD: options.mk,v 1.1 2014/06/01 13:30:35 obache Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.ibus-libpinyin
PKG_SUPPORTED_OPTIONS= lua
.include "../../mk/bsd.options.mk"
PLIST_VARS+= lua
#
# Lua extension
#
.if !empty(PKG_OPTIONS:Mlua)
.include "../../lang/lua/buildlink3.mk"
CONFIGURE_ARGS+= --enable-lua-extension
PLIST.lua= yes
.else
CONFIGURE_ARGS+= --disable-lua-extension
.endif