summaryrefslogtreecommitdiff
path: root/inputmethod/ibus-pinyin/options.mk
blob: fd08473b8e5984253d9782335dfd8bc53a866092 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $NetBSD: options.mk,v 1.2 2011/01/09 11:02:50 obache Exp $
#

PKG_OPTIONS_VAR=	PKG_OPTIONS.ibus-pinyin
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