1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Graph visualization tools
8 HOMEPAGE= https://www.graphviz.org/
12 SITES[main]= https://gitlab.com/graphviz/graphviz/-/archive/9.0.0/
13 DISTFILE[1]= graphviz-9.0.0.tar.gz:main
15 SPKGS[standard]= complete
23 OPTIONS_AVAILABLE= none
24 OPTIONS_STANDARD= none
26 BUILD_DEPENDS= groff:primary:standard
30 poppler:glibdev:standard
33 BUILDRUN_DEPENDS= freeglut:primary:standard
37 libltdl:single:standard
38 ghostscript:primary:standard
40 EXRUN[tools]= graphviz:primary:standard
42 USES= bison cpe cmake jpeg mesa pkgconfig zlib expat
43 shebangfix iconv python:build
44 GNOME_COMPONENTS= pango cairo librsvg gtk2
45 XORG_COMPONENTS= xaw xpm xmu xt sm ice xext x11 xau xdmcp xrender
46 xinerama xi xrandr xcursor xfixes
48 LICENSE= CUSTOM1:primary
49 LICENSE_NAME= CUSTOM1:"Eclipse Public License"
50 LICENSE_FILE= CUSTOM1:{{WRKSRC}}/LICENSE
53 FPC_EQUIVALENT= graphics/graphviz
56 LDFLAGS= -Wl,-rpath,{{PREFIX}}/lib/graphviz
58 CMAKE_ARGS= -Denable_ltdl:BOOL=ON
60 -Dwith_digcola:BOOL=ON
61 -Dwith_ipsepcola:BOOL=OFF
64 -Dwith_smyrna:BOOL=OFF
65 -Dwith_gvedit:BOOL=OFF
67 -Duse_sanitizers:BOOL=OFF
68 -Duse_coverage:BOOL=OFF
69 -Dwith_cxx_api:BOOL=OFF
70 -Dwith_cxx_tests:BOOL=OFF
74 ${MKDIR} ${STAGEDIR}${STD_DOCDIR}/html ${STAGEDIR}${STD_DOCDIR}/pdf
76 ${INSTALL_DATA} doc/Dot.ref doc/latex_suggestions.txt \
77 ${STAGEDIR}${STD_DOCDIR}/ && \
78 ${INSTALL_DATA} doc/*.pdf */*/*.pdf \
79 ${STAGEDIR}${STD_DOCDIR}/pdf/ && \
80 ${INSTALL_DATA} doc/*.html \
81 ${STAGEDIR}${STD_DOCDIR}/html/
82 ${RM} ${STAGEDIR}${STD_DOCDIR}/COPYING
84 ${MKDIR} ${STAGEDIR}${STD_EXAMPLESDIR}/pathplan_data
86 ${WRKSRC}/tclpkg/gdtclft/demo/entities.tcl \
87 ${WRKSRC}/tclpkg/tcldot/demo/doted.tcl \
88 ${WRKSRC}/tclpkg/tcldot/demo/gcat.tcl \
89 ${WRKSRC}/tclpkg/tclpathplan/demo/pathplan.tcl \
90 ${STAGEDIR}${STD_EXAMPLESDIR}/
92 ${WRKSRC}/tclpkg/gdtclft/demo/entities.tcl.README \
93 ${WRKSRC}/tclpkg/tcldot/demo/doted.tcl.README \
94 ${WRKSRC}/tclpkg/tcldot/demo/gcat.tcl.README \
95 ${WRKSRC}/tclpkg/tclpathplan/demo/pathplan.tcl.README \
96 ${STAGEDIR}${STD_EXAMPLESDIR}/
98 ${WRKSRC}/tclpkg/tclpathplan/demo/pathplan_data/*.dat \
99 ${STAGEDIR}${STD_EXAMPLESDIR}/pathplan_data/
102 ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
103 ${WRKSRC}/plugin/xlib/vimdot.sh
105 pre-configure-freebsd:
106 ${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' ${WRKSRC}/lib/sfio/*.[ch]; \
108 [FILE:540:descriptions/desc.primary]
109 Graph Visualization Software from AT&T Laboratories and
110 Bell Laboratories (Lucent Technologies)
112 These programs licensed under the terms described in the web page at:
113 http://www.graphviz.org/License.php
115 The package contains:
116 dotty - customizable X windows graph viewer written in the Lefty editor
117 tcldot - customizable TCL/tk graph viewer written by John Ellson
118 dot - batch program for drawing directed graphs as hierarchies
119 neato - batch program for drawing undirected graphs using Kamada-Kawai
123 [FILE:42:descriptions/desc.tools]
124 This package contains the graphviz tools.
128 504d19b5d0e5398a57e9d9de42393f90b9e79aff0969b4ebc3b891ccb39602ed 30036724 graphviz-9.0.0.tar.gz
131 [FILE:1694:manifests/plist.primary]
139 libgvplugin_webp.so.6
140 libgvplugin_webp.so.6.0.0
147 libgvplugin_core.so.6
148 libgvplugin_core.so.6.0.0
149 libgvplugin_dot_layout.so.6
150 libgvplugin_dot_layout.so.6.0.0
152 libgvplugin_gd.so.6.0.0
154 libgvplugin_gdk.so.6.0.0
156 libgvplugin_gs.so.6.0.0
158 libgvplugin_gtk.so.6.0.0
160 libgvplugin_kitty.so.6
161 libgvplugin_kitty.so.6.0.0
162 libgvplugin_neato_layout.so.6
163 libgvplugin_neato_layout.so.6.0.0
164 libgvplugin_pango.so.6
165 libgvplugin_pango.so.6.0.0
166 libgvplugin_poppler.so.6
167 libgvplugin_poppler.so.6.0.0
168 libgvplugin_rsvg.so.6
169 libgvplugin_rsvg.so.6.0.0
172 libgvplugin_vt.so.6.0.0
173 libgvplugin_xlib.so.6
174 libgvplugin_xlib.so.6.0.0
175 share/graphviz/graphs/directed/
231 share/graphviz/graphs/undirected/
239 [FILE:369:manifests/plist.tools]
278 @postexec %D/bin/dot -c
279 @postunexec rm -f %D/lib/graphviz/config6
282 [FILE:775:manifests/plist.dev]
300 gvplugin_textlayout.h
317 libgvplugin_dot_layout.so
322 libgvplugin_neato_layout.so
324 libgvplugin_poppler.so
337 [FILE:317:manifests/plist.examples]
338 share/examples/graphviz/
347 share/examples/graphviz/pathplan_data/
362 [FILE:440:manifests/plist.man]
399 [FILE:299:manifests/plist.docs]
402 latex_suggestions.txt
403 share/doc/graphviz/html/
411 share/doc/graphviz/pdf/
421 [FILE:254:patches/patch-cmd-gvpr-gvpr.1]
422 --- cmd/gvpr/gvpr.1.orig 2023-09-11 18:27:30 UTC
437 .TH GVPR 1 "29 August 2013"
439 gvpr \- graph pattern scanning and processing language
442 [FILE:222:patches/patch-cmd-tools-gvpack.1]
443 --- cmd/tools/gvpack.1.orig 2023-09-11 18:27:30 UTC
444 +++ cmd/tools/gvpack.1
455 .TH GVPACK 1 "27 May 2010"
457 gvpack \- merge and pack disjoint graphs
460 [FILE:643:patches/patch-config-config_ruby.rb]
461 --- config/config_ruby.rb.orig 2023-09-11 18:27:30 UTC
462 +++ config/config_ruby.rb
463 @@ -5,11 +5,14 @@ CONFIG = RbConfig::MAKEFILE_CONFIG
467 - puts RbConfig::expand(CONFIG["archdir"])
468 + puts RbConfig::expand(CONFIG["rubyhdrdir"])
470 + print RbConfig::expand(CONFIG["rubyhdrdir"]) + '/'
471 + puts RbConfig::expand(CONFIG["sitearch"])
473 puts RbConfig::expand(CONFIG["libdir"])
475 - puts RbConfig::expand(CONFIG["vendorarchdir"])
476 + puts RbConfig::expand(CONFIG["sitearchdir"])
478 puts RbConfig::expand(CONFIG["sitearchdir"])
482 [FILE:297:patches/patch-lib-expr-exgram.h]
483 --- lib/expr/exgram.h.orig 2023-09-11 18:27:30 UTC
484 +++ lib/expr/exgram.h
485 @@ -20,7 +20,7 @@ extern "C" {
486 * sometimes free stuff can cost a lot
489 -#if !defined(_EXGRAM_H) && ( defined(MINTOKEN) || defined(YYTOKENTYPE) )
490 +#if !defined(_EXGRAM_H)
493 #if !defined(_EXPARSE_H)
496 [FILE:199:patches/patch-lib-expr-expr.h]
497 --- lib/expr/expr.h.orig 2023-09-11 18:27:30 UTC
499 @@ -24,6 +24,7 @@ extern "C" {
502 #include <inttypes.h>
505 #include <expr/exparse.h>
509 [FILE:420:patches/patch-lib-ortho-trapezoid.c]
510 --- lib/ortho/trapezoid.c.orig 2023-09-11 18:27:30 UTC
511 +++ lib/ortho/trapezoid.c
513 #include <common/types.h>
514 #include <ortho/trap.h>
516 +#include <sys/param.h>
517 +#if __FreeBSD_version <= 704101 || (__FreeBSD_version >= 800000 && __FreeBSD_version < 802502) || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900027)
518 +#define log2(x) (log(x)/log(2))
526 [FILE:475:patches/patch-lib_gvpr_actions.c]
527 --- lib/gvpr/actions.c.orig 2023-09-11 18:27:30 UTC
528 +++ lib/gvpr/actions.c
530 #define KINDS(p) ((AGTYPE(p) == AGRAPH) ? "graph" : (AGTYPE(p) == AGNODE) ? "node" : "edge")
532 static int iofread(void *chan, char *buf, int bufsize) {
533 +#if defined(__FreeBSD__) || defined(__NetBSD__)
534 + return (int)read(fileno((FILE *)chan), buf, bufsize);
536 return (int)read(fileno(chan), buf, bufsize);
540 static int ioputstr(void *chan, const char *str) {
543 [FILE:421:patches/patch-lib_gvpr_compile.c]
544 --- lib/gvpr/compile.c.orig 2023-09-11 18:27:30 UTC
545 +++ lib/gvpr/compile.c
546 @@ -56,7 +56,11 @@ static Sflong_t ptr2int(const void *p) {
548 static int iofread(void *chan, char *buf, int bufsize)
550 +#if defined(__FreeBSD__) || defined(__NetBSD__)
551 + return (int)read(fileno((FILE *)chan), buf, bufsize);
553 return (int)read(fileno(chan), buf, bufsize);
557 static int ioputstr(void *chan, const char *str)
560 [FILE:703:patches/patch-plugin_xlib_vimdot.sh]
561 --- plugin/xlib/vimdot.sh.orig 2023-09-11 18:27:30 UTC
562 +++ plugin/xlib/vimdot.sh
564 error() { echo "$0: $*" >&2; exit 1; }
566 # Try $EDITOR first, else try vim or vi
567 -editor="$(which $EDITOR)" || editor="/usr/bin/vim"
568 -[ -x "$editor" ] || editor="/usr/bin/vi"
569 +editor="$(which $EDITOR)" || editor="%%LOCALBASE%%/bin/vim"
570 +[ -x "$editor" ] || editor="%%LOCALBASE%%/bin/vi"
571 [ -x "$editor" ] || error "EDITOR not found or not executable";
574 @@ -29,7 +29,7 @@ digraph G {
576 vim [href="http://www.vim.org/"]
577 dot [href="http://www.graphviz.org/"]
578 - vimdot [href="file:///usr/bin/vimdot"]
579 + vimdot [href="file:///%%LOCALBASE%%/bin/vimdot"]