Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/graphviz graphviz: fix PLIST



details:   https://anonhg.NetBSD.org/pkgsrc/rev/37f67e024a74
branches:  trunk
changeset: 436882:37f67e024a74
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Aug 11 10:03:57 2020 +0000

description:
graphviz: fix PLIST

When swig is not pulled in, two files are not created. Fix PLIST logic
in that case.

diffstat:

 graphics/graphviz/PLIST      |  6 +++---
 graphics/graphviz/options.mk |  5 +++--
 2 files changed, 6 insertions(+), 5 deletions(-)

diffs (53 lines):

diff -r f44a000d1c88 -r 37f67e024a74 graphics/graphviz/PLIST
--- a/graphics/graphviz/PLIST   Tue Aug 11 06:36:50 2020 +0000
+++ b/graphics/graphviz/PLIST   Tue Aug 11 10:03:57 2020 +0000
@@ -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.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.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 -r f44a000d1c88 -r 37f67e024a74 graphics/graphviz/options.mk
--- a/graphics/graphviz/options.mk      Tue Aug 11 06:36:50 2020 +0000
+++ b/graphics/graphviz/options.mk      Tue Aug 11 10:03:57 2020 +0000
@@ -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 @@
 
 .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 @@
 .endif
 
 .if !empty(USING_SWIG:Myes)
+PLIST.swig=            yes
 .  include "../../devel/swig/buildlink3.mk"
 .else
 CONFIGURE_ARGS+=       --disable-swig



Home | Main Index | Thread Index | Old Index