pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/graphviz Fix some PLIST bugs:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/886739a7419f
branches:  trunk
changeset: 550095:886739a7419f
user:      epg <epg%pkgsrc.org@localhost>
date:      Sat Nov 15 01:28:41 2008 +0000

description:
Fix some PLIST bugs:
- Drop duplicate PLIST vars (e.g. ${PLIST.tcl}${PLIST.guile}
  instead of just ${PLIST.tcl}).
- Include ocaml files when using ocaml option.

diffstat:

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

diffs (84 lines):

diff -r 27ecf2d4e102 -r 886739a7419f graphics/graphviz/PLIST
--- a/graphics/graphviz/PLIST   Sat Nov 15 01:20:33 2008 +0000
+++ b/graphics/graphviz/PLIST   Sat Nov 15 01:28:41 2008 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.24 2008/04/12 22:43:01 jlam Exp $
+@comment $NetBSD: PLIST,v 1.25 2008/11/15 01:28:41 epg Exp $
 bin/acyclic
 bin/bcomps
 bin/ccomps
@@ -56,12 +56,23 @@
 lib/graphviz/libgvplugin_gd.la
 ${PLIST.gtk}lib/graphviz/libgvplugin_gdk_pixbuf.la
 ${PLIST.gtk}lib/graphviz/libgvplugin_gtk.la
-${PLIST.tcl}${PLIST.guile}lib/graphviz/guile/libgv_guile.la
+${PLIST.guile}lib/graphviz/guile/libgv_guile.la
 lib/graphviz/libgvplugin_neato_layout.la
 lib/graphviz/libgvplugin_pango.la
 lib/graphviz/libgvplugin_xlib.la
 lib/graphviz/lua/gv.so
 ${PLIST.lua}lib/graphviz/lua/libgv_lua.la
+${PLIST.ocaml}lib/graphviz/ocaml/META.gv
+${PLIST.ocaml}lib/graphviz/ocaml/gv.a
+${PLIST.ocaml}lib/graphviz/ocaml/gv.cma
+${PLIST.ocaml}lib/graphviz/ocaml/gv.cmi
+${PLIST.ocaml}lib/graphviz/ocaml/gv.cmo
+${PLIST.ocaml}lib/graphviz/ocaml/gv.cmx
+${PLIST.ocaml}lib/graphviz/ocaml/gv.cmxa
+${PLIST.ocaml}lib/graphviz/ocaml/gv.mli
+${PLIST.ocaml}lib/graphviz/ocaml/libgv_ocaml.a
+${PLIST.ocaml}lib/graphviz/ocaml/libgv_ocaml.la
+${PLIST.ocaml}lib/graphviz/ocaml/libgv_ocaml.so
 lib/graphviz/perl/gv.so
 lib/graphviz/pkgIndex.tcl
 lib/graphviz/python/_gv.so
@@ -72,7 +83,7 @@
 lib/graphviz/ruby/gv.so
 lib/graphviz/tcl/gv.so
 ${PLIST.tcl}lib/graphviz/tcl/libgdtclft.la
-${PLIST.tcl}${PLIST.lua}lib/graphviz/tcl/libgv_tcl.la
+${PLIST.tcl}lib/graphviz/tcl/libgv_tcl.la
 ${PLIST.tcl}lib/graphviz/tcl/libtcldot.la
 ${PLIST.tcl}lib/graphviz/tcl/libtcldot_builtin.la
 ${PLIST.tcl}lib/graphviz/tcl/libtclplan.la
@@ -121,10 +132,11 @@
 man/man3/gvc.3
 man/man3/pathplan.3
 man/man7/graphviz.7
+${PLIST.guile}man/mann/gv_guile.n
+${PLIST.lua}man/mann/gv_lua.n
+${PLIST.ocaml}man/mann/gv_ocaml.n
 ${PLIST.tcl}man/mann/gdtclft.n
-${PLIST.tcl}${PLIST.guile}man/mann/gv_guile.n
-${PLIST.lua}man/mann/gv_lua.n
-${PLIST.tcl}${PLIST.lua}man/mann/gv_tcl.n
+${PLIST.tcl}man/mann/gv_tcl.n
 ${PLIST.tcl}man/mann/tcldot.n
 ${PLIST.tcl}man/mann/tkspline.n
 ${PLIST.tcl}share/graphviz/demo/doted
diff -r 27ecf2d4e102 -r 886739a7419f graphics/graphviz/options.mk
--- a/graphics/graphviz/options.mk      Sat Nov 15 01:20:33 2008 +0000
+++ b/graphics/graphviz/options.mk      Sat Nov 15 01:28:41 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2008/04/12 22:43:01 jlam Exp $
+# $NetBSD: options.mk,v 1.4 2008/11/15 01:28:41 epg Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.graphviz
 PKG_SUPPORTED_OPTIONS= guile lua ocaml swig tcl gtk
@@ -6,7 +6,7 @@
 
 .include "../../mk/bsd.options.mk"
 
-PLIST_VARS+=           guile gtk lua tcl
+PLIST_VARS+=           guile gtk lua ocaml tcl
 
 .if !empty(PKG_OPTIONS:Mguile)
 .include "../../lang/guile/buildlink3.mk"
@@ -25,6 +25,7 @@
 
 .if !empty(PKG_OPTIONS:Mocaml)
 .include "../../lang/ocaml/buildlink3.mk"
+PLIST.ocaml=           yes
 .else
 CONFIGURE_ARGS+=       --disable-ocaml
 .endif



Home | Main Index | Thread Index | Old Index