summaryrefslogtreecommitdiff
path: root/graphics/gnuplot/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gnuplot/options.mk')
-rw-r--r--graphics/gnuplot/options.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/gnuplot/options.mk b/graphics/gnuplot/options.mk
new file mode 100644
index 00000000000..80acb429a9d
--- /dev/null
+++ b/graphics/gnuplot/options.mk
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.1 2010/02/19 14:09:58 asau Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.gnuplot
+PKG_SUPPORTED_OPTIONS= gd pdf
+PKG_SUGGESTED_OPTIONS= gd pdf
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mpdf)
+CONFIGURE_ARGS+= --with-pdf
+.include "../../print/pdflib/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mgd)
+.include "../../graphics/gd/buildlink3.mk"
+.endif