summaryrefslogtreecommitdiff
path: root/graphics/graphviz
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2020-08-11 10:03:57 +0000
committerwiz <wiz@pkgsrc.org>2020-08-11 10:03:57 +0000
commit7abc28e247e59c62391ce16010e69431c7dfec64 (patch)
tree1891a693e34bf838e2c03e666e8bbb0b28ec21a2 /graphics/graphviz
parent0f68cd3d0de31c5cda6a6fae84b5046cad580082 (diff)
downloadpkgsrc-7abc28e247e59c62391ce16010e69431c7dfec64.tar.gz
graphviz: fix PLIST
When swig is not pulled in, two files are not created. Fix PLIST logic in that case.
Diffstat (limited to 'graphics/graphviz')
-rw-r--r--graphics/graphviz/PLIST6
-rw-r--r--graphics/graphviz/options.mk5
2 files changed, 6 insertions, 5 deletions
diff --git a/graphics/graphviz/PLIST b/graphics/graphviz/PLIST
index f3df2f2ac0a..995616d2b27 100644
--- a/graphics/graphviz/PLIST
+++ b/graphics/graphviz/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.52 2020/08/07 20:49:36 pgoyette Exp $
+@comment $NetBSD: PLIST,v 1.53 2020/08/11 10:03:57 wiz Exp $
bin/acyclic
bin/bcomps
bin/ccomps
@@ -171,7 +171,7 @@ ${PLIST.guile}man/man3/gv.3guile
${PLIST.lua}man/man3/gv.3lua
${PLIST.ocaml}man/man3/gv.3ocaml
${PLIST.perl}man/man3/gv.3perl
-man/man3/gv.3python
+${PLIST.swig}man/man3/gv.3python
${PLIST.tcl}man/man3/gv.3tcl
man/man3/gvc.3
man/man3/gvpr.3
@@ -421,7 +421,7 @@ ${PLIST.guile}share/graphviz/doc/pdf/gv.3guile.pdf
${PLIST.lua}share/graphviz/doc/pdf/gv.3lua.pdf
${PLIST.ocaml}share/graphviz/doc/pdf/gv.3ocaml.pdf
${PLIST.perl}share/graphviz/doc/pdf/gv.3perl.pdf
-share/graphviz/doc/pdf/gv.3python.pdf
+${PLIST.swig}share/graphviz/doc/pdf/gv.3python.pdf
${PLIST.tcl}share/graphviz/doc/pdf/gv.3tcl.pdf
share/graphviz/doc/pdf/gv2gml.1.pdf
share/graphviz/doc/pdf/gv2gxl.1.pdf
diff --git a/graphics/graphviz/options.mk b/graphics/graphviz/options.mk
index 9e0c1200bdf..213ec27746d 100644
--- a/graphics/graphviz/options.mk
+++ b/graphics/graphviz/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.29 2020/08/04 23:30:42 gutteridge Exp $
+# $NetBSD: options.mk,v 1.30 2020/08/11 10:03:57 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.graphviz
PKG_SUPPORTED_OPTIONS= gd ghostscript gtk lua ocaml perl poppler svg tcl x11 # guile does not build with guile20
@@ -19,7 +19,7 @@ PKG_SUGGESTED_OPTIONS= gd gtk lua perl tcl x11
.include "../../mk/bsd.options.mk"
-PLIST_VARS+= gd ghostscript gtk guile lua ocaml perl poppler quartz svg tcl x11
+PLIST_VARS+= gd ghostscript gtk guile lua ocaml perl poppler quartz svg swig tcl x11
.if !empty(PKG_OPTIONS:Mgd)
. include "../../graphics/gd/buildlink3.mk"
@@ -126,6 +126,7 @@ CONFIGURE_ARGS+= --disable-perl
.endif
.if !empty(USING_SWIG:Myes)
+PLIST.swig= yes
. include "../../devel/swig/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-swig