summaryrefslogtreecommitdiff
path: root/x11/mlterm/options.mk
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-05-20 13:59:30 +0000
committerobache <obache@pkgsrc.org>2012-05-20 13:59:30 +0000
commit7335ab0a071c02ff74a43a896ae88967cff89ea1 (patch)
tree374c12f873aaf1febbeca8a85221fab5da568419 /x11/mlterm/options.mk
parent792801d562be2bff9b7cd9deb1a851ab6de9301f (diff)
downloadpkgsrc-7335ab0a071c02ff74a43a896ae88967cff89ea1.tar.gz
Add indic support with `libind' option.
requested by PR 46489.
Diffstat (limited to 'x11/mlterm/options.mk')
-rw-r--r--x11/mlterm/options.mk12
1 files changed, 9 insertions, 3 deletions
diff --git a/x11/mlterm/options.mk b/x11/mlterm/options.mk
index 6091566ca9e..a839d821fd9 100644
--- a/x11/mlterm/options.mk
+++ b/x11/mlterm/options.mk
@@ -1,12 +1,18 @@
-# $NetBSD: options.mk,v 1.5 2012/05/20 06:07:31 tsutsui Exp $
+# $NetBSD: options.mk,v 1.6 2012/05/20 13:59:30 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mlterm
-PKG_SUPPORTED_OPTIONS= m17nlib uim xft2
+PKG_SUPPORTED_OPTIONS= libind m17nlib uim xft2
PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.options.mk"
-PLIST_VARS+= m17nlib uim xft2
+PLIST_VARS+= ind m17nlib uim xft2
+
+.if !empty(PKG_OPTIONS:Mlibind)
+CONFIGURE_ARGS+= --enable-ind
+PLIST.ind= yes
+LICENSE+= AND gnu-lgpl-v2
+.endif
.if !empty(PKG_OPTIONS:Mm17nlib)
.include "../../devel/m17n-lib/buildlink3.mk"