summaryrefslogtreecommitdiff
path: root/graphics/gnuplot
diff options
context:
space:
mode:
authorwiz <wiz>2015-10-28 19:02:22 +0000
committerwiz <wiz>2015-10-28 19:02:22 +0000
commitc2d5e82a65173fac35d46c4d8faca002896a313e (patch)
tree56ac70579b3ea86994643b638aa2bd4b6ff5cbea /graphics/gnuplot
parenta31af042f16e2b045066650a3cad3d0365ce86b4 (diff)
downloadpkgsrc-c2d5e82a65173fac35d46c4d8faca002896a313e.tar.gz
Add libcerf option.
Diffstat (limited to 'graphics/gnuplot')
-rw-r--r--graphics/gnuplot/Makefile4
-rw-r--r--graphics/gnuplot/options.mk10
2 files changed, 9 insertions, 5 deletions
diff --git a/graphics/gnuplot/Makefile b/graphics/gnuplot/Makefile
index c236c375eb2..657174030e3 100644
--- a/graphics/gnuplot/Makefile
+++ b/graphics/gnuplot/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.102 2015/10/25 10:13:53 wiz Exp $
+# $NetBSD: Makefile,v 1.103 2015/10/28 19:02:22 wiz Exp $
DISTNAME= gnuplot-5.0.1
-PKGREVISION= 1
+PKGREVISION= 2
API_VERSION= ${PKGVERSION_NOREV:C/([0-9])\.([0-9])\.([0-9])/\1.\2/}
CATEGORIES+= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnuplot/}
diff --git a/graphics/gnuplot/options.mk b/graphics/gnuplot/options.mk
index 99e1a69fc79..712ac26ea47 100644
--- a/graphics/gnuplot/options.mk
+++ b/graphics/gnuplot/options.mk
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.9 2015/10/25 10:13:53 wiz Exp $
+# $NetBSD: options.mk,v 1.10 2015/10/28 19:02:22 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gnuplot
-PKG_SUPPORTED_OPTIONS= cairo gd lua pdf gnuplot-pdf-doc x11 qt4 wxwidgets
-PKG_SUGGESTED_OPTIONS= cairo gd gnuplot-pdf-doc x11
+PKG_SUPPORTED_OPTIONS= cairo cerf gd lua pdf gnuplot-pdf-doc x11 qt4 wxwidgets
+PKG_SUGGESTED_OPTIONS= cairo cerf gd gnuplot-pdf-doc x11
.include "../../mk/bsd.options.mk"
@@ -15,6 +15,10 @@ PLIST_VARS+= gnuplot-pdf-doc x11 qt4
CONFIGURE_ARGS+= --without-cairo
.endif
+.if !empty(PKG_OPTIONS:Mcerf)
+.include "../../nih/libcerf/buildlink3.mk"
+.endif
+
.if !empty(PKG_OPTIONS:Mgd)
.include "../../graphics/gd/buildlink3.mk"
.endif