Create Ravenports release 20231027.1
[ravenports.git] / bucket_45 / graphviz
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               graphviz
4 VERSION=                9.0.0
5 KEYWORDS=               graphics
6 VARIANTS=               standard
7 SDESC[standard]=        Graph visualization tools
8 HOMEPAGE=               https://www.graphviz.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://gitlab.com/graphviz/graphviz/-/archive/9.0.0/
13 DISTFILE[1]=            graphviz-9.0.0.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         tools
18                         dev
19                         examples
20                         man
21                         docs
22
23 OPTIONS_AVAILABLE=      none
24 OPTIONS_STANDARD=       none
25
26 BUILD_DEPENDS=          groff:primary:standard
27                         git:primary:lite
28                         harfbuzz:dev:standard
29                         poppler:dev:standard
30                         poppler:glibdev:standard
31                         WebP:dev:standard
32                         freeglut:dev:standard
33 BUILDRUN_DEPENDS=       freeglut:primary:standard
34                         libGD:single:standard
35                         gts:single:standard
36                         WebP:primary:standard
37                         libltdl:single:standard
38                         ghostscript:primary:standard
39                         poppler:glib:standard
40 EXRUN[tools]=           graphviz:primary:standard
41
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
47
48 LICENSE=                CUSTOM1:primary
49 LICENSE_NAME=           CUSTOM1:"Eclipse Public License"
50 LICENSE_FILE=           CUSTOM1:{{WRKSRC}}/LICENSE
51 LICENSE_SCHEME=         solo
52
53 FPC_EQUIVALENT=         graphics/graphviz
54
55 SET_DEBUGGING_ON=       yes
56 LDFLAGS=                -Wl,-rpath,{{PREFIX}}/lib/graphviz
57 OPTIMIZER_LEVEL=        0
58 CMAKE_ARGS=             -Denable_ltdl:BOOL=ON
59                         -Dwith_expat:BOOL=ON
60                         -Dwith_digcola:BOOL=ON
61                         -Dwith_ipsepcola:BOOL=OFF
62                         -Dwith_ortho:BOOL=ON
63                         -Dwith_sfdp:BOOL=ON
64                         -Dwith_smyrna:BOOL=OFF
65                         -Dwith_gvedit:BOOL=OFF
66                         -Dwith_zlib:BOOL=ON
67                         -Duse_sanitizers:BOOL=OFF
68                         -Duse_coverage:BOOL=OFF
69                         -Dwith_cxx_api:BOOL=OFF
70                         -Dwith_cxx_tests:BOOL=OFF
71
72 post-install:
73         # documentation
74         ${MKDIR} ${STAGEDIR}${STD_DOCDIR}/html ${STAGEDIR}${STD_DOCDIR}/pdf
75         cd ${WRKSRC} && \
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
83         # examples
84         ${MKDIR} ${STAGEDIR}${STD_EXAMPLESDIR}/pathplan_data
85         ${INSTALL_SCRIPT} \
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}/
91         ${INSTALL_DATA} \
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}/
97         ${INSTALL_DATA} \
98                 ${WRKSRC}/tclpkg/tclpathplan/demo/pathplan_data/*.dat \
99                 ${STAGEDIR}${STD_EXAMPLESDIR}/pathplan_data/
100
101 pre-configure:
102         ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
103                 ${WRKSRC}/plugin/xlib/vimdot.sh
104
105 pre-configure-freebsd:
106         ${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' ${WRKSRC}/lib/sfio/*.[ch]; \
107
108 [FILE:540:descriptions/desc.primary]
109 Graph Visualization Software from AT&T Laboratories and
110 Bell Laboratories (Lucent Technologies)
111
112 These programs licensed under the terms described in the web page at:
113 http://www.graphviz.org/License.php
114
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
120             spring models
121
122
123 [FILE:42:descriptions/desc.tools]
124 This package contains the graphviz tools.
125
126
127 [FILE:100:distinfo]
128 504d19b5d0e5398a57e9d9de42393f90b9e79aff0969b4ebc3b891ccb39602ed     30036724 graphviz-9.0.0.tar.gz
129
130
131 [FILE:1694:manifests/plist.primary]
132 lib/
133  libcdt.so.5
134  libcdt.so.5.0.0
135  libcgraph.so.6
136  libcgraph.so.6.0.0
137  libgvc.so.6
138  libgvc.so.6.0.0
139  libgvplugin_webp.so.6
140  libgvplugin_webp.so.6.0.0
141  libpathplan.so.4
142  libpathplan.so.4.0.0
143  libxdot.so.4
144  libxdot.so.4.0.0
145 lib/graphviz/
146  config6
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
151  libgvplugin_gd.so.6
152  libgvplugin_gd.so.6.0.0
153  libgvplugin_gdk.so.6
154  libgvplugin_gdk.so.6.0.0
155  libgvplugin_gs.so.6
156  libgvplugin_gs.so.6.0.0
157  libgvplugin_gtk.so.6
158  libgvplugin_gtk.so.6.0.0
159  libgvplugin_kitty.so
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
170  libgvplugin_vt.so
171  libgvplugin_vt.so.6
172  libgvplugin_vt.so.6.0.0
173  libgvplugin_xlib.so.6
174  libgvplugin_xlib.so.6.0.0
175 share/graphviz/graphs/directed/
176  KW91.gv
177  Latin1.gv
178  NaN.gv
179  abstract.gv
180  alf.gv
181  arrows.gv
182  awilliams.gv
183  biological.gv
184  clust.gv
185  clust1.gv
186  clust2.gv
187  clust3.gv
188  clust4.gv
189  clust5.gv
190  crazy.gv
191  ctext.gv
192  dfa.gv
193  fig6.gv
194  fsm.gv
195  grammar.gv
196  hashtable.gv
197  honda-tokoro.gv
198  japanese.gv
199  jcctree.gv
200  jsort.gv
201  ldbxtried.gv
202  longflat.gv
203  mike.gv
204  nhg.gv
205  oldarrows.gv
206  pgram.gv
207  pm2way.gv
208  pmpipe.gv
209  polypoly.gv
210  proc3d.gv
211  psfonttest.gv
212  record2.gv
213  records.gv
214  rowe.gv
215  russian.gv
216  sdh.gv
217  shells.gv
218  states.gv
219  structs.gv
220  switch.gv
221  table.gv
222  train11.gv
223  trapeziumlr.gv
224  tree.gv
225  triedds.gv
226  try.gv
227  unix.gv
228  unix2.gv
229  viewfile.gv
230  world.gv
231 share/graphviz/graphs/undirected/
232  ER.gv
233  Heawood.gv
234  Petersen.gv
235  ngk10_4.gv
236  process.gv
237
238
239 [FILE:369:manifests/plist.tools]
240 bin/
241  acyclic
242  bcomps
243  ccomps
244  circo
245  cluster
246  diffimg
247  dijkstra
248  dot
249  dot2gxl
250  dot_builtins
251  edgepaint
252  fdp
253  gc
254  gml2gv
255  graphml2gv
256  gv2gml
257  gv2gxl
258  gvcolor
259  gvgen
260  gvmap
261  gvmap.sh
262  gvpack
263  gvpr
264  gxl2dot
265  gxl2gv
266  mm2gv
267  neato
268  nop
269  osage
270  patchwork
271  prune
272  sccmap
273  sfdp
274  tred
275  twopi
276  unflatten
277  vimdot
278 @postexec %D/bin/dot -c
279 @postunexec rm -f %D/lib/graphviz/config6
280
281
282 [FILE:775:manifests/plist.dev]
283 include/graphviz/
284  arith.h
285  cdt.h
286  cgraph.h
287  color.h
288  geom.h
289  graphviz_version.h
290  gvc.h
291  gvcext.h
292  gvcjob.h
293  gvcommon.h
294  gvconfig.h
295  gvplugin.h
296  gvplugin_device.h
297  gvplugin_layout.h
298  gvplugin_loadimage.h
299  gvplugin_render.h
300  gvplugin_textlayout.h
301  pack.h
302  pathgeom.h
303  pathplan.h
304  textspan.h
305  types.h
306  usershape.h
307  xdot.h
308 lib/
309  libcdt.so
310  libcgraph.so
311  libgvc.so
312  libgvplugin_webp.so
313  libpathplan.so
314  libxdot.so
315 lib/graphviz/
316  libgvplugin_core.so
317  libgvplugin_dot_layout.so
318  libgvplugin_gd.so
319  libgvplugin_gdk.so
320  libgvplugin_gs.so
321  libgvplugin_gtk.so
322  libgvplugin_neato_layout.so
323  libgvplugin_pango.so
324  libgvplugin_poppler.so
325  libgvplugin_rsvg.so
326  libgvplugin_xlib.so
327 lib/pkgconfig/
328  libcdt.pc
329  libcgraph.pc
330  libgvc.pc
331  libgvpr.pc
332  liblab_gamut.pc
333  libpathplan.pc
334  libxdot.pc
335
336
337 [FILE:317:manifests/plist.examples]
338 share/examples/graphviz/
339  doted.tcl
340  doted.tcl.README
341  entities.tcl
342  entities.tcl.README
343  gcat.tcl
344  gcat.tcl.README
345  pathplan.tcl
346  pathplan.tcl.README
347 share/examples/graphviz/pathplan_data/
348  boxes.dat
349  dpd.dat
350  funny.dat
351  maze.dat
352  nested.dat
353  northo.dat
354  obs.dat
355  other.dat
356  paths.dat
357  rotor.dat
358  u.dat
359  unknown.dat
360
361
362 [FILE:440:manifests/plist.man]
363 share/man/man1/
364  acyclic.1.gz
365  bcomps.1.gz
366  ccomps.1.gz
367  cluster.1.gz
368  diffimg.1.gz
369  dijkstra.1.gz
370  dot.1.gz
371  edgepaint.1.gz
372  gc.1.gz
373  gml2gv.1.gz
374  graphml2gv.1.gz
375  gvcolor.1.gz
376  gvgen.1.gz
377  gvmap.1.gz
378  gvpack.1.gz
379  gvpr.1.gz
380  gxl2gv.1.gz
381  mm2gv.1.gz
382  nop.1.gz
383  osage.1.gz
384  patchwork.1.gz
385  prune.1.gz
386  sccmap.1.gz
387  tred.1.gz
388  unflatten.1.gz
389  vimdot.1.gz
390 share/man/man3/
391  cdt.3.gz
392  cgraph.3.gz
393  gvc.3.gz
394  pack.3.gz
395  pathplan.3.gz
396  xdot.3.gz
397
398
399 [FILE:299:manifests/plist.docs]
400 share/doc/graphviz/
401  Dot.ref
402  latex_suggestions.txt
403 share/doc/graphviz/html/
404  FAQ.html
405  build.html
406  char.html
407  index.html
408  internal_todo.html
409  todo.html
410  winbuild.html
411 share/doc/graphviz/pdf/
412  Agraph.pdf
413  dotguide.pdf
414  graphviz_plugins.pdf
415  libguide.pdf
416  neatoguide.pdf
417  oldlibguide.pdf
418  smyrna.pdf
419
420
421 [FILE:254:patches/patch-cmd-gvpr-gvpr.1]
422 --- cmd/gvpr/gvpr.1.orig        2023-09-11 18:27:30 UTC
423 +++ cmd/gvpr/gvpr.1
424 @@ -3,6 +3,15 @@
425  .  ns
426  .  TP \\$1
427  ..
428 +.de EX
429 +.fam C
430 +.nf
431 +..
432 +.de EE
433 +.fam
434 +.fi
435 +..
436 +
437  .TH GVPR 1 "29 August 2013"
438  .SH NAME
439  gvpr \- graph pattern scanning and processing language
440
441
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
445 @@ -1,3 +1,12 @@
446 +.de EX
447 +.fam C
448 +.nf
449 +..
450 +.de EE
451 +.fam
452 +.fi
453 +..
454 +
455  .TH GVPACK 1 "27 May 2010"
456  .SH NAME
457  gvpack \- merge and pack disjoint graphs
458
459
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
464  
465  case ARGV[0]
466  when "archdir"
467 -    puts RbConfig::expand(CONFIG["archdir"])
468 +    puts RbConfig::expand(CONFIG["rubyhdrdir"])
469 +when "inc"
470 +    print RbConfig::expand(CONFIG["rubyhdrdir"]) + '/'
471 +    puts RbConfig::expand(CONFIG["sitearch"])
472  when "lib"
473      puts RbConfig::expand(CONFIG["libdir"])
474  when "vendorarchdir"
475 -    puts RbConfig::expand(CONFIG["vendorarchdir"])
476 +    puts RbConfig::expand(CONFIG["sitearchdir"])
477  when "sitearchdir"
478      puts RbConfig::expand(CONFIG["sitearchdir"])
479  when "sitelib"
480
481
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
487   */
488  
489 -#if !defined(_EXGRAM_H) && ( defined(MINTOKEN) || defined(YYTOKENTYPE) )
490 +#if !defined(_EXGRAM_H)
491  #define _EXGRAM_H
492  
493  #if !defined(_EXPARSE_H)
494
495
496 [FILE:199:patches/patch-lib-expr-expr.h]
497 --- lib/expr/expr.h.orig        2023-09-11 18:27:30 UTC
498 +++ lib/expr/expr.h
499 @@ -24,6 +24,7 @@ extern "C" {
500  
501  #include <ast/ast.h>
502  #include <inttypes.h>
503 +#include <limits.h>
504  
505  #include <expr/exparse.h>
506  
507
508
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
512 @@ -28,6 +28,11 @@
513  #include <common/types.h>
514  #include <ortho/trap.h>
515  
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))
519 +#endif
520 +
521  /* Node types */
522  
523  #define T_X     1
524
525
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
529 @@ -33,7 +33,11 @@
530  #define KINDS(p) ((AGTYPE(p) == AGRAPH) ? "graph" : (AGTYPE(p) == AGNODE) ? "node" : "edge")
531  
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);
535 +#else
536    return (int)read(fileno(chan), buf, bufsize);
537 +#endif
538  }
539  
540  static int ioputstr(void *chan, const char *str) {
541
542
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) {
547  
548  static int iofread(void *chan, char *buf, int bufsize)
549  {
550 +#if defined(__FreeBSD__) || defined(__NetBSD__)
551 +  return (int)read(fileno((FILE *)chan), buf, bufsize);
552 +#else
553    return (int)read(fileno(chan), buf, bufsize);
554 +#endif
555  }
556  
557  static int ioputstr(void *chan, const char *str)
558
559
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
563 @@ -9,8 +9,8 @@ fi
564  error() { echo "$0: $*" >&2; exit 1; }
565  
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";
572  
573  default="noname.gv"
574 @@ -29,7 +29,7 @@ digraph G {
575  
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"]
580  
581         {vim dot} -> vimdot
582  }
583