summaryrefslogtreecommitdiff
path: root/x11/xterm/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xterm/options.mk')
-rw-r--r--x11/xterm/options.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/x11/xterm/options.mk b/x11/xterm/options.mk
new file mode 100644
index 00000000000..97407eab615
--- /dev/null
+++ b/x11/xterm/options.mk
@@ -0,0 +1,21 @@
+# $NetBSD: options.mk,v 1.1 2005/06/04 17:42:32 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.xterm
+PKG_SUPPORTED_OPTIONS= xterm-luit
+PKG_OPTIONS_OPTIONAL_GROUPS= color
+PKG_OPTIONS_GROUP.color= xterm-88color xterm-256color
+PKG_SUGGESTED_OPTIONS= xterm-256color xterm-luit
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mxterm-88color)
+CONFIGURE_ARGS+= --enable-88-color
+.endif
+
+.if !empty(PKG_OPTIONS:Mxterm-256color)
+CONFIGURE_ARGS+= --enable-256-color
+.endif
+
+.if !empty(PKG_OPTIONS:Mxterm-luit)
+CONFIGURE_ARGS+= --enable-luit
+.endif