summaryrefslogtreecommitdiff
path: root/x11/tktable/options.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-01-23 21:58:25 +0000
committerwiz <wiz@pkgsrc.org>2013-01-23 21:58:25 +0000
commitaf4219419b36a717e69b4f72c7aad7a1eab47923 (patch)
tree5de1c2a285c7ae7ef470e9a6f26d92ab3f16c6f5 /x11/tktable/options.mk
parentd0d7d534511e039bc75f6f5feb7cc7196001534c (diff)
downloadpkgsrc-af4219419b36a717e69b4f72c7aad7a1eab47923.tar.gz
Import tktable-2.10nb1 as x11/tktable.
Packaged for wip by othyro. TkTable is a full-featured 2D table widget for Tk. It supports images, embedded windows, varying colors and fonts, and more. Also here is Vu, a Tk widget extension that includes a pie, dial, spinbox and more, and Tile, a themed widget set for Tk.
Diffstat (limited to 'x11/tktable/options.mk')
-rw-r--r--x11/tktable/options.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11/tktable/options.mk b/x11/tktable/options.mk
new file mode 100644
index 00000000000..f4b006b1284
--- /dev/null
+++ b/x11/tktable/options.mk
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2013/01/23 21:58:25 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.tktable
+PKG_SUPPORTED_OPTIONS= threads
+PKG_SUGGESTED_OPTIONS+= threads
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mthreads)
+.include "../../mk/pthread.buildlink3.mk"
+CONFIGURE_ARGS+= --enable-threads
+.else
+CONFIGURE_ARGS+= --disable-threads
+.endif