Merge from vendor branch TNF:
[pkgsrcv2.git] / x11 / mlterm / options.mk
1 # $NetBSD: options.mk,v 1.3 2008/04/12 22:43:14 jlam Exp $
2
3 PKG_OPTIONS_VAR=        PKG_OPTIONS.mlterm
4 PKG_SUPPORTED_OPTIONS=  m17nlib uim xft2
5 PKG_SUGGESTED_OPTIONS=
6
7 .include "../../mk/bsd.options.mk"
8
9 PLIST_VARS+=            m17nlib uim
10
11 .if !empty(PKG_OPTIONS:Mm17nlib)
12 .include "../../devel/m17n-lib/buildlink3.mk"
13 CONFIGURE_ARGS+=        --enable-m17nlib
14 PLIST.m17nlib=          yes
15 .endif
16
17 .if !empty(PKG_OPTIONS:Muim)
18 .include "../../inputmethod/uim/buildlink3.mk"
19 CONFIGURE_ARGS+=        --enable-uim
20 PLIST.uim=              yes
21 LICENSE+=               AND gnu-lgpl-v2
22 .endif
23
24 .if !empty(PKG_OPTIONS:Mxft2)
25 CONFIGURE_ARGS+=        --with-type-engines=xft
26 .endif