summaryrefslogtreecommitdiff
path: root/x11/aterm/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'x11/aterm/options.mk')
-rw-r--r--x11/aterm/options.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/x11/aterm/options.mk b/x11/aterm/options.mk
new file mode 100644
index 00000000000..52cf7c7a16d
--- /dev/null
+++ b/x11/aterm/options.mk
@@ -0,0 +1,26 @@
+# $NetBSD: options.mk,v 1.1 2005/06/01 19:39:36 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.aterm
+PKG_SUPPORTED_OPTIONS= aterm-big5 aterm-greek aterm-kanji aterm-xterm-scroll
+PKG_OPTIONS_LEGACY_VARS+= ATERM_USE_KANJI:aterm-kanji
+PKG_OPTIONS_LEGACY_VARS+= ATERM_USE_XTERM_SCROLL:aterm-xterm-scroll
+PKG_OPTIONS_LEGACY_VARS+= ATERM_USE_BIG5:aterm-big5
+PKG_OPTIONS_LEGACY_VARS+= ATERM_USE_GREEK:aterm-greek
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Materm-big5)
+CONFIGURE_ARGS+=--enable-big5
+.endif
+
+.if !empty(PKG_OPTIONS:Materm-greek)
+CONFIGURE_ARGS+=--enable-greek
+.endif
+
+.if !empty(PKG_OPTIONS:Materm-kanji)
+CONFIGURE_ARGS+=--enable-kanji
+.endif
+
+.if !empty(PKG_OPTIONS:Materm-xterm-scroll)
+CONFIGURE_ARGS+=--enable-xterm-scroll
+.endif