summaryrefslogtreecommitdiff
path: root/inputmethod/uim/options.mk
blob: e203fe7d163aa5db1d03f401b0743cb3bfa19d6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $NetBSD: options.mk,v 1.2 2005/06/01 14:00:55 dillo Exp $

PKG_SUPPORTED_OPTIONS=  anthy canna eb qt
PKG_SUPPORTED_OPTIONS=	anthy canna
PKG_OPTIONS_LEGACY_VARS+=	UIM_USE_ANTHY:anthy
PKG_OPTIONS_LEGACY_VARS+=	UIM_USE_CANNA:canna
PKG_OPTIONS_LEGACY_VARS+=	UIM_USE_EB:eb
PKG_OPTIONS_LEGACY_VARS+=	UIM_USE_qt:qt

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Manthy)
.include "../../inputmethod/anthy/buildlink3.mk"
PLIST_SRC+=		PLIST.anthy
.endif

.if !empty(PKG_OPTIONS:Mcanna)
.include "../../inputmethod/canna-lib/buildlink3.mk"
CONFIGURE_ARGS+=	--with-canna
PLIST_SRC+=		PLIST.canna
.endif

.if !empty(PKG_OPTIONS:Meb)
.include "../../textproc/eb/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-eb
.endif

.if !empty(PKG_OPTIONS:Mqt)
.include "../../x11/qt3-libs/buildlink3.mk"
CONFIGURE_ARGS+=	--with-qt
# Not worked this option.  need immodule patch for Qt3
CONFIGURE_ARGS+=	--with-qt-immodule
PLIST_SRC+=		PLIST.qt
.endif

PLIST_SRC+=		PLIST.common