1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Graph visualization tools
8 HOMEPAGE= http://www.graphviz.org/
12 SITES[main]= https://gitlab.com/graphviz/graphviz/-/archive/7.1.0/
13 DISTFILE[1]= graphviz-7.1.0.tar.gz:main
15 SPKGS[standard]= complete
20 OPTIONS_AVAILABLE= none
21 OPTIONS_STANDARD= none
23 BUILD_DEPENDS= groff:primary:standard
26 poppler:glibdev:standard
27 BUILDRUN_DEPENDS= freeglut:primary:standard
31 libltdl:single:standard
32 ghostscript:primary:standard
35 USES= bison cpe cmake jpeg mesa pkgconfig zlib expat
36 shebangfix iconv python:build
37 GNOME_COMPONENTS= pango cairo librsvg gtk2
38 XORG_COMPONENTS= xaw xpm xmu xt sm ice xext x11 xau xdmcp xrender
39 xinerama xi xrandr xcursor xfixes
41 LICENSE= CUSTOM1:primary
42 LICENSE_NAME= CUSTOM1:"Eclipse Public License"
43 LICENSE_FILE= CUSTOM1:{{WRKSRC}}/LICENSE
46 FPC_EQUIVALENT= graphics/graphviz
49 LDFLAGS= -Wl,-rpath,{{PREFIX}}/lib/graphviz
51 CMAKE_ARGS= -Denable_ltdl:BOOL=ON
53 -Dwith_digcola:BOOL=ON
54 -Dwith_ipsepcola:BOOL=OFF
57 -Dwith_smyrna:BOOL=OFF
58 -Dwith_gvedit:BOOL=OFF
60 -Duse_sanitizers:BOOL=OFF
61 -Duse_coverage:BOOL=OFF
62 -Dwith_cxx_api:BOOL=OFF
63 -Dwith_cxx_tests:BOOL=OFF
67 ${MKDIR} ${STAGEDIR}${STD_DOCDIR}/html ${STAGEDIR}${STD_DOCDIR}/pdf
69 ${INSTALL_DATA} doc/Dot.ref doc/latex_suggestions.txt \
70 ${STAGEDIR}${STD_DOCDIR}/ && \
71 ${INSTALL_DATA} doc/*.pdf */*/*.pdf \
72 ${STAGEDIR}${STD_DOCDIR}/pdf/ && \
73 ${INSTALL_DATA} doc/*.html \
74 ${STAGEDIR}${STD_DOCDIR}/html/
75 ${RM} ${STAGEDIR}${STD_DOCDIR}/COPYING
77 ${MKDIR} ${STAGEDIR}${STD_EXAMPLESDIR}/pathplan_data
79 ${WRKSRC}/tclpkg/gdtclft/demo/entities.tcl \
80 ${WRKSRC}/tclpkg/tcldot/demo/doted.tcl \
81 ${WRKSRC}/tclpkg/tcldot/demo/gcat.tcl \
82 ${WRKSRC}/tclpkg/tclpathplan/demo/pathplan.tcl \
83 ${STAGEDIR}${STD_EXAMPLESDIR}/
85 ${WRKSRC}/tclpkg/gdtclft/demo/entities.tcl.README \
86 ${WRKSRC}/tclpkg/tcldot/demo/doted.tcl.README \
87 ${WRKSRC}/tclpkg/tcldot/demo/gcat.tcl.README \
88 ${WRKSRC}/tclpkg/tclpathplan/demo/pathplan.tcl.README \
89 ${STAGEDIR}${STD_EXAMPLESDIR}/
91 ${WRKSRC}/tclpkg/tclpathplan/demo/pathplan_data/*.dat \
92 ${STAGEDIR}${STD_EXAMPLESDIR}/pathplan_data/
95 ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
96 ${WRKSRC}/plugin/xlib/vimdot.sh
98 pre-configure-freebsd:
99 ${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' ${WRKSRC}/lib/sfio/*.[ch]; \
101 [FILE:540:descriptions/desc.primary]
102 Graph Visualization Software from AT&T Laboratories and
103 Bell Laboratories (Lucent Technologies)
105 These programs licensed under the terms described in the web page at:
106 http://www.graphviz.org/License.php
108 The package contains:
109 dotty - customizable X windows graph viewer written in the Lefty editor
110 tcldot - customizable TCL/tk graph viewer written by John Ellson
111 dot - batch program for drawing directed graphs as hierarchies
112 neato - batch program for drawing undirected graphs using Kamada-Kawai
117 8b28a283644a8442e6925b15d95055228d25172c7c30681810625616cbb23913 30302296 graphviz-7.1.0.tar.gz
120 [FILE:3194:manifests/plist.primary]
176 gvplugin_textlayout.h
195 libgvplugin_webp.so.6
196 libgvplugin_webp.so.6.0.0
206 libgvplugin_core.so.6
207 libgvplugin_core.so.6.0.0
208 libgvplugin_dot_layout.so
209 libgvplugin_dot_layout.so.6
210 libgvplugin_dot_layout.so.6.0.0
213 libgvplugin_gd.so.6.0.0
216 libgvplugin_gdk.so.6.0.0
219 libgvplugin_gs.so.6.0.0
222 libgvplugin_gtk.so.6.0.0
223 libgvplugin_neato_layout.so
224 libgvplugin_neato_layout.so.6
225 libgvplugin_neato_layout.so.6.0.0
227 libgvplugin_pango.so.6
228 libgvplugin_pango.so.6.0.0
229 libgvplugin_poppler.so
230 libgvplugin_poppler.so.6
231 libgvplugin_poppler.so.6.0.0
233 libgvplugin_rsvg.so.6
234 libgvplugin_rsvg.so.6.0.0
236 libgvplugin_visio.so.6
237 libgvplugin_visio.so.6.0.0
239 libgvplugin_xlib.so.6
240 libgvplugin_xlib.so.6.0.0
249 share/graphviz/graphs/directed/
305 share/graphviz/graphs/undirected/
345 @postexec %D/bin/dot -c
346 @postunexec rm -f %D/lib/graphviz/config6
349 [FILE:317:manifests/plist.examples]
350 share/examples/graphviz/
359 share/examples/graphviz/pathplan_data/
374 [FILE:331:manifests/plist.docs]
377 latex_suggestions.txt
378 share/doc/graphviz/html/
386 share/doc/graphviz/pdf/
398 [FILE:254:patches/patch-cmd-gvpr-gvpr.1]
399 --- cmd/gvpr/gvpr.1.orig 2023-01-06 05:13:49 UTC
414 .TH GVPR 1 "29 August 2013"
416 gvpr \- graph pattern scanning and processing language
419 [FILE:222:patches/patch-cmd-tools-gvpack.1]
420 --- cmd/tools/gvpack.1.orig 2023-01-06 05:13:49 UTC
421 +++ cmd/tools/gvpack.1
432 .TH GVPACK 1 "27 May 2010"
434 gvpack \- merge and pack disjoint graphs
437 [FILE:643:patches/patch-config-config_ruby.rb]
438 --- config/config_ruby.rb.orig 2023-01-06 05:13:49 UTC
439 +++ config/config_ruby.rb
440 @@ -5,11 +5,14 @@ CONFIG = RbConfig::MAKEFILE_CONFIG
444 - puts RbConfig::expand(CONFIG["archdir"])
445 + puts RbConfig::expand(CONFIG["rubyhdrdir"])
447 + print RbConfig::expand(CONFIG["rubyhdrdir"]) + '/'
448 + puts RbConfig::expand(CONFIG["sitearch"])
450 puts RbConfig::expand(CONFIG["libdir"])
452 - puts RbConfig::expand(CONFIG["vendorarchdir"])
453 + puts RbConfig::expand(CONFIG["sitearchdir"])
455 puts RbConfig::expand(CONFIG["sitearchdir"])
459 [FILE:3747:patches/patch-configure.ac]
460 --- configure.ac.orig 2023-01-06 05:13:49 UTC
462 @@ -642,7 +642,7 @@ else
463 if test "x$GUILE_CONFIG" = "x"; then
464 use_guile="No (guile not available)"
466 - [GUILE_VERSION=`$GUILE_CONFIG --version 2>&1 | sed -n '1 s/^.* \+\([0-9\.]\+\)$/\1/ p'`]
467 + [GUILE_VERSION=`$GUILE_CONFIG --version 2>&1 | sed -n '1 s/^.* \([0-9\.]\+\)$/\1/ p'`]
468 GUILE_VERSION_MAJOR=`echo $GUILE_VERSION | cut -d '.' -f 1`
469 GUILE_VERSION_MINOR=`echo $GUILE_VERSION | cut -d '.' -f 2`
470 AC_CHECK_PROGS(GUILE,guile$GUILE_VERSION_MAJOR.$GUILE_VERSION_MINOR guile$GUILE_VERSION_MAJOR guile)
471 @@ -853,16 +853,16 @@ else
472 if test "x$PKG_CONFIG" != "x"; then
473 AC_MSG_CHECKING(for Lua headers and libraries with pkg-config)
475 - for l in "$lua_suffix" "" "53" "5.3" "52" "5.2" "51" "5.1" "50" "5.0" ; do
476 + for l in "$lua_suffix" "" "53" "-5.3" "52" "-5.2" "51" "-5.1" "50" "5.0" ; do
477 pkgconfig_lua_found=`$PKG_CONFIG --exists lua$l 2>/dev/null`
478 if test "x$?" = "x0" ; then
479 - LUA_INCLUDES="$LUA_CFLAGS "`$PKG_CONFIG --cflags lua$l`
480 + LUA_INCLUDES="$LUA_CFLAGS "`$PKG_CONFIG --cflags-only-I lua$l`
481 LUA_LIBS="$LUA_LFLAGS "`$PKG_CONFIG --libs lua$l`
482 LUA_INSTALL_DIR="/usr/lib$LIBPOSTFIX/lua/`$PKG_CONFIG --variable=V lua`"
484 pkgconfig_lualib_found=`$PKG_CONFIG --exists lualib$l 2>/dev/null`
485 if test "x$?" = "x0"; then
486 - LUA_INCLUDES="$LUA_CFLAGS "`$PKG_CONFIG --cflags lualib$l`
487 + LUA_INCLUDES="$LUA_CFLAGS "`$PKG_CONFIG --cflags-only-I lualib$l`
488 LUA_LIBS="$LUA_LFLAGS "`$PKG_CONFIG --libs lualib$l`
491 @@ -1226,6 +1226,7 @@ else
492 use_ruby="No (ruby not available)"
494 RUBY_CFLAGS="-I`$RUBY $srcdir/config/config_ruby.rb archdir`"
495 + RUBY_CFLAGS="${RUBY_CFLAGS} -I`$RUBY $srcdir/config/config_ruby.rb inc`"
496 # hack for powerpc-darwin8 (10.4)
497 if test "x$DARWIN" = "xyes"; then
498 RUBY_CFLAGS=`echo $RUBY_CFLAGS | sed 's/powerpc/universal/'`
499 @@ -2052,44 +2053,6 @@ else
501 AM_CONDITIONAL(WITH_QUARTZ, [test "x$use_quartz" = "xYes"])
503 -dnl -----------------------------------
504 -dnl INCLUDES and LIBS for PLATFORMSDK
506 -AC_ARG_WITH(platformsdkincludedir,
507 - [AS_HELP_STRING([--with-platformsdkincludedir=DIR],[use Platform SDK (Windows) includes from DIR])],
508 - [PLATFORMSDKINCLUDE=$withval])
510 -AC_ARG_WITH(platformsdklibdir,
511 - [AS_HELP_STRING([--with-platformsdklibdir=DIR],[use Platform SDK (Windows) libraries from DIR])],
512 - [PLATFORMSDKLIB=$withval])
514 -AC_SUBST([PLATFORMSDKINCLUDE])
515 -AC_SUBST([PLATFORMSDKLIB])
517 -dnl -----------------------------------
518 -dnl INCLUDES and LIBS for GDI+
520 -AC_ARG_WITH(gdiplus,
521 - [AS_HELP_STRING([--with-gdiplus=no],[GDI+ framework (Windows)])],
522 - [], [with_gdiplus=no])
524 -if test "x$with_gdiplus" != "xyes"; then
525 - use_gdiplus="No (disabled by default - Windows only)"
527 - if test -f "$PLATFORMSDKINCLUDE\GdiPlus.h" -a -f "$PLATFORMSDKLIB\GdiPlus.lib"; then
529 - AC_DEFINE_UNQUOTED(HAVE_GDIPLUS,1,[Define if you have the GDI+ framework for Windows])
530 - GDIPLUS_HEADS=`cd "$PLATFORMSDKINCLUDE" && echo GdiPlus*.h`
533 - AC_SUBST([GDIPLUS_HEADS])
534 - AC_SUBST([GDIPLUS_CFLAGS])
535 - AC_SUBST([GDIPLUS_LIBS])
537 - use_gdiplus="No (missing headers)"
538 - AC_MSG_WARN(--with-gdiplus requires valid --with-platformsdkincludedir and --with-platformsdklibdir.)
541 AM_CONDITIONAL(WITH_GDIPLUS, [test "x$use_gdiplus" = "xYes"])
543 dnl -----------------------------------
546 [FILE:297:patches/patch-lib-expr-exgram.h]
547 --- lib/expr/exgram.h.orig 2023-01-06 05:13:49 UTC
548 +++ lib/expr/exgram.h
549 @@ -20,7 +20,7 @@ extern "C" {
550 * sometimes free stuff can cost a lot
553 -#if !defined(_EXGRAM_H) && ( defined(MINTOKEN) || defined(YYTOKENTYPE) )
554 +#if !defined(_EXGRAM_H)
557 #if !defined(_EXPARSE_H)
560 [FILE:199:patches/patch-lib-expr-expr.h]
561 --- lib/expr/expr.h.orig 2023-01-06 05:13:49 UTC
563 @@ -24,6 +24,7 @@ extern "C" {
566 #include <inttypes.h>
569 #include <expr/exparse.h>
573 [FILE:420:patches/patch-lib-ortho-trapezoid.c]
574 --- lib/ortho/trapezoid.c.orig 2023-01-06 05:13:49 UTC
575 +++ lib/ortho/trapezoid.c
577 #include <common/types.h>
578 #include <ortho/trap.h>
580 +#include <sys/param.h>
581 +#if __FreeBSD_version <= 704101 || (__FreeBSD_version >= 800000 && __FreeBSD_version < 802502) || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900027)
582 +#define log2(x) (log(x)/log(2))
590 [FILE:703:patches/patch-plugin_xlib_vimdot.sh]
591 --- plugin/xlib/vimdot.sh.orig 2023-01-06 05:13:49 UTC
592 +++ plugin/xlib/vimdot.sh
594 error() { echo "$0: $*" >&2; exit 1; }
596 # Try $EDITOR first, else try vim or vi
597 -editor="$(which $EDITOR)" || editor="/usr/bin/vim"
598 -[ -x "$editor" ] || editor="/usr/bin/vi"
599 +editor="$(which $EDITOR)" || editor="%%LOCALBASE%%/bin/vim"
600 +[ -x "$editor" ] || editor="%%LOCALBASE%%/bin/vi"
601 [ -x "$editor" ] || error "EDITOR not found or not executable";
604 @@ -29,7 +29,7 @@ digraph G {
606 vim [href="http://www.vim.org/"]
607 dot [href="http://www.graphviz.org/"]
608 - vimdot [href="file:///usr/bin/vimdot"]
609 + vimdot [href="file:///%%LOCALBASE%%/bin/vimdot"]