blob: 3668f65427be6057537d53e74bd13eb386540f89 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# $NetBSD: options.mk,v 1.10 2007/01/20 16:56:43 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.uim
PKG_SUPPORTED_OPTIONS= anthy canna eb gtk qt
PKG_SUGGESTED_OPTIONS= anthy canna gtk
.include "../../mk/bsd.options.mk"
PLIST_SUBST+= HELPERDATA="@comment "
PLIST_SUBST+= UIM_DICT_GTK="@comment "
.if !empty(PKG_OPTIONS:Manthy)
. include "../../inputmethod/anthy/buildlink3.mk"
CONFIGURE_ARGS+= --with-anthy --enable-dict
PLIST_SUBST+= ANTHY=
. if !empty(PKG_OPTIONS:Mgtk)
PLIST_SUBST+= HELPERDATA=
PLIST_SUBST+= UIM_DICT_GTK=
. endif
.else
CONFIGURE_ARGS+= --without-anthy
PLIST_SUBST+= ANTHY="@comment "
.endif
.if !empty(PKG_OPTIONS:Mcanna)
. include "../../inputmethod/canna-lib/buildlink3.mk"
CONFIGURE_ARGS+= --with-canna
PLIST_SUBST+= CANNA=
.else
CONFIGURE_ARGS+= --without-canna
PLIST_SUBST+= CANNA="@comment "
.endif
.if !empty(PKG_OPTIONS:Meb)
.include "../../textproc/eb/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-eb
.endif
.if !empty(PKG_OPTIONS:Mgtk)
.include "../../x11/gtk2/modules.mk"
PLIST_SUBST+= GTK=
.else
CONFIGURE_ARGS+= --without-gtk2
PLIST_SUBST+= GTK="@comment "
.endif
.if !empty(PKG_OPTIONS:Mqt)
. include "../../x11/kdelibs3/buildlink3.mk"
. include "../../x11/qt3-libs/buildlink3.mk"
BUILD_DEPENDS+= qt3-tools-3.*:../../x11/qt3-tools
CONFIGURE_ARGS+= --with-qt CXXFLAGS=-lc
# Not worked this option. need immodule patch for Qt3
#CONFIGURE_ARGS+= --with-qt-immodule
PLIST_SUBST+= HELPERDATA=
PLIST_SUBST+= QT=
.else
PLIST_SUBST+= QT="@comment "
.endif
|