From c2d5e82a65173fac35d46c4d8faca002896a313e Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 28 Oct 2015 19:02:22 +0000 Subject: Add libcerf option. --- graphics/gnuplot/Makefile | 4 ++-- graphics/gnuplot/options.mk | 10 +++++++--- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'graphics/gnuplot') 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 -- cgit v1.2.3