summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-10-28 19:02:22 +0000
committerwiz <wiz@pkgsrc.org>2015-10-28 19:02:22 +0000
commit303157ea5da6fa16d856c874958f7bded2175045 (patch)
tree56ac70579b3ea86994643b638aa2bd4b6ff5cbea /graphics
parent33438b995021e5a3f279964f3ebf6acf16b023b8 (diff)
downloadpkgsrc-303157ea5da6fa16d856c874958f7bded2175045.tar.gz
Add libcerf option.
Diffstat (limited to 'graphics')
-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