graph placement and visualisation package. Developed by AT&T.

This commit is contained in:
espie 2001-06-09 20:38:01 +00:00
parent 093b99d532
commit b214e51f93
12 changed files with 341 additions and 0 deletions

57
math/graphviz/Makefile Normal file
View File

@ -0,0 +1,57 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/06/09 20:38:01 espie Exp $
CATEGORIES= math devel graphic
NEED_VERSION= 1.406
COMMENT='graph drawing software'
PKGNAME=graphviz-1.7.6
DISTFILES=gviz176.tgz
DISTNAME=gv1.7.6
MAINTAINER= Marc Espie <espie@openbsd.org>
HOMEPAGE=http://www.research.att.com/sw/tools/graphviz/
MASTER_SITES=${HOMEPAGE}dist/
PERMIT_DISTFILES_FTP= No
PERMIT_DISTFILES_CDROM= No
# As long as the licence is shown, everything is fine
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
CONFIGURE_STYLE=gnu
USE_LIBTOOL=yes
CONFIGURE_ENV=TCLCONFIG=${LOCALBASE}/lib/tcl8.3/tclConfig.sh \
TKCONFIG=${LOCALBASE}/lib/tk8.3/tkConfig.sh \
LIBS=-lz \
LDFLAGS=-L${LOCALBASE}/lib \
CPPFLAGS='-I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.3 -I${LOCALBASE}/include/tk8.3'
CONFIGURE_ARGS=--with-freetypeincludedir=${X11BASE}/include/freetype2
CONFIGURE_SCRIPT=autogen.sh
USE_GMAKE= Yes
ACCEPT_GRAPHVIZ_LICENSE?=No
.if ${ACCEPT_GRAPHVIZ_LICENSE:L} == "no"
post-extract:
@echo "You must read ${WRKDIST}/COPYING first"
@echo "To accept the license, restart the build with"
@echo "ACCEPT_GRAPHVIZ_LICENSE=Yes"
@exit 1
.endif
LIB_DEPENDS= tcl83.::lang/tcl/8.3 \
tk83.::x11/tk/8.3 \
jpeg.::graphics/jpeg \
png.::graphics/png
BUILD_DEPENDS= autoconf::devel/autoconf \
automake::devel/automake
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/graphviz
${INSTALL_DATA} ${WRKDIST}/{COPYING,MINTERMS.txt,FAQ.txt} ${PREFIX}/share/doc/graphviz
SUBST_VARS=PKGNAME
.include <bsd.port.mk>

3
math/graphviz/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (gviz176.tgz) = 10fc46667bc7402a19e503568d922953
RMD160 (gviz176.tgz) = 6b0400d13f68b94348b7bb29307bd29daabd9d83
SHA1 (gviz176.tgz) = a6529ad5a856fd62ef8118fb7b042b527e0d261b

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-MINTERMS_txt,v 1.1.1.1 2001/06/09 20:38:01 espie Exp $
--- MINTERMS.txt.orig Tue Jun 5 12:07:53 2001
+++ MINTERMS.txt Tue Jun 5 12:07:58 2001
@@ -2,7 +2,7 @@
Appendix A - Minimum Terms
--------------------------
-LICENSOR: ______________
+LICENSOR: OpenBSD
LICENSE AGREEMENT

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-agraph_grammar_y,v 1.1.1.1 2001/06/09 20:38:01 espie Exp $
--- agraph/grammar.y.orig Tue Jun 5 12:37:09 2001
+++ agraph/grammar.y Tue Jun 5 12:37:20 2001
@@ -57,8 +57,6 @@ static void endedge(void);
static void opensubg(char *name);
static void closesubg(void);
-extern Agraph_t *G;
-
%}
%union {

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-lefty_lefty_c,v 1.1.1.1 2001/06/09 20:38:01 espie Exp $
--- lefty/lefty.c.orig Tue May 22 13:12:06 2001
+++ lefty/lefty.c Tue May 22 13:12:17 2001
@@ -44,7 +44,7 @@
#define canread(fp) ((fp)->_IO_read_end > (fp)->_IO_read_ptr)
#else
#ifdef NO_CNT_IN_FILESTRUCT
-#if defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
#define canread(fp) ((fp)->_r > 0)
#else
#define canread(fp) ((fp)->_IO_read_end > (fp)->_IO_read_ptr)

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-tools_expr_exeval_c,v 1.1.1.1 2001/06/09 20:38:01 espie Exp $
--- tools/expr/exeval.c.orig Tue May 22 13:16:47 2001
+++ tools/expr/exeval.c Tue May 22 13:17:04 2001
@@ -11,6 +11,9 @@
/* #include <tm.h> */
+#define strtoll strtoq
+#define strtoull strtouq
+
static Extype_t eval(Expr_t*, Exnode_t*, void*);
#define TOTNAME 4

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-tools_expr_exparse_y,v 1.1.1.1 2001/06/09 20:38:01 espie Exp $
--- tools/expr/exparse.y.orig Tue May 22 13:17:57 2001
+++ tools/expr/exparse.y Tue May 22 13:18:11 2001
@@ -14,6 +14,8 @@
#include <stdio.h>
#include <ast.h>
+#define strtoll strtoq
+#define strtoull strtouq
#undef RS /* hp.pa <signal.h> grabs this!! */
%}

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-tools_expr_extoken_c,v 1.1.1.1 2001/06/09 20:38:01 espie Exp $
--- tools/expr/extoken.c.orig Tue May 22 13:19:03 2001
+++ tools/expr/extoken.c Tue May 22 13:19:18 2001
@@ -8,6 +8,8 @@
#include "exlib.h"
+#define strtoll strtoq
+#define strtoull strtouq
#if !defined(TRACE_lex) && _BLD_DEBUG
#define TRACE_lex -10
#endif

29
math/graphviz/pkg/DESCR Normal file
View File

@ -0,0 +1,29 @@
graphviz is a set of graph drawing tools for Unix or MS-Windows
(win32), including a web service interface (webdot). Graph
drawing addresses the problem of visualizing structural information
by constructing geometric representations of abstract graphs and
networks.
The goal of graphviz has been twofold:
to find efficient algorithms for making very readable
drawings of graphs up to several hundreds of nodes,
approaching the quality of manual layouts (made
with CAD tools). The algorithms should scale even
further, as layout of large graphs can also offer
a gestalt view of complex systems.
to create convenient graph drawing systems and web
services. This means defining useful interfaces and
features to support applications.
The package includes
dot - makes hierarchical layouts of directed graphs
neato - makes "spring" model layouts of undirected graphs
dotty - a customizable interface written in LEFTY
tcldot - a customizable graphical interface written in tcl7.6
libgraph - the base library for graph tools
More information on ${HOMEPAGE}
Refer to ${HOMEPAGE}/refs.html for documentation.

28
math/graphviz/pkg/MESSAGE Normal file
View File

@ -0,0 +1,28 @@
Installing this package implies you agree with its licence. Please read
${PREFIX}/share/doc/graphviz/COPYING
${PREFIX}/share/doc/graphviz/MINTERMS.txt
If you don't agree, you must remove this package:
pkg_delete ${PKGNAME}
This product contains certain software code or other
information ("AT&T Software") proprietary to AT&T Corp.
("AT&T"). The AT&T Software is provided to you "AS IS". YOU
ASSUME TOTAL RESPONSIBILITY AND RISK FOR USE OF THE AT&T
SOFTWARE. AT&T DOES NOT MAKE, AND EXPRESSLY DISCLAIMS, ANY
EXPRESS OR IMPLIED WARRANTIES OF ANY KIND WHATSOEVER,
INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE,
WARRANTIES OF TITLE OR NON-INFRINGEMENT OF ANY INTELLECTUAL
PROPERTY RIGHTS, ANY WARRANTIES ARISING BY USAGE OF TRADE,
COURSE OF DEALING OR COURSE OF PERFORMANCE, OR ANY WARRANTY
THAT THE AT&T SOFTWARE IS "ERROR FREE" OR WILL MEET YOUR
REQUIREMENTS.
Unless you accept a license to use the AT&T Software, you
shall not reverse compile, disassemble or otherwise reverse
engineer this product to ascertain the source code for any
AT&T Software.
© AT&T Corp. All rights reserved. AT&T is a registered
trademark of AT&T Corp.

View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2001/06/09 20:38:01 espie Exp $
lib/graphviz/libgdtclft.so.0.0
lib/graphviz/libtcldgl.so.0.0
lib/graphviz/libtcldgr.so.0.0
lib/graphviz/libtcldot.so.0.0
lib/graphviz/libtclpathplan.so.0.0
lib/graphviz/libtkspline.so.0.0
NEWDYNLIBDIR(%D/lib/graphviz)

143
math/graphviz/pkg/PLIST Normal file
View File

@ -0,0 +1,143 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/06/09 20:38:01 espie Exp $
bin/acyclic
bin/ccomps
bin/colorize
bin/dot
bin/dotty
bin/gc
bin/gpr
bin/lefty
bin/lneato
bin/neato
bin/nop
bin/sccmap
bin/tred
bin/unflatten
lib/graphviz/demo/dge
lib/graphviz/demo/dge.README
lib/graphviz/demo/dge.example1.dot
lib/graphviz/demo/dge.example2.dot
lib/graphviz/demo/doted
lib/graphviz/demo/doted.README
lib/graphviz/demo/entities
lib/graphviz/demo/entities.README
lib/graphviz/demo/entities.html
lib/graphviz/demo/ihi
lib/graphviz/demo/ihi.README
lib/graphviz/demo/ihi.testdata
lib/graphviz/demo/pathplan
lib/graphviz/demo/pathplan.README
lib/graphviz/demo/pathplan_data/boxes.dat
lib/graphviz/demo/pathplan_data/dpd.dat
lib/graphviz/demo/pathplan_data/funny.dat
lib/graphviz/demo/pathplan_data/maze.dat
lib/graphviz/demo/pathplan_data/nested.dat
lib/graphviz/demo/pathplan_data/northo.dat
lib/graphviz/demo/pathplan_data/obs.dat
lib/graphviz/demo/pathplan_data/other.dat
lib/graphviz/demo/pathplan_data/paths.dat
lib/graphviz/demo/pathplan_data/rotor.dat
lib/graphviz/demo/pathplan_data/u.dat
lib/graphviz/demo/pathplan_data/unknown.dat
lib/graphviz/demo/spline
lib/graphviz/demo/spline.README
lib/graphviz/graphs/directed/KW91.dot
lib/graphviz/graphs/directed/NaN.dot
lib/graphviz/graphs/directed/abstract.dot
lib/graphviz/graphs/directed/alf.dot
lib/graphviz/graphs/directed/awilliams.dot
lib/graphviz/graphs/directed/clust.dot
lib/graphviz/graphs/directed/clust1.dot
lib/graphviz/graphs/directed/clust2.dot
lib/graphviz/graphs/directed/clust3.dot
lib/graphviz/graphs/directed/clust4.dot
lib/graphviz/graphs/directed/clust5.dot
lib/graphviz/graphs/directed/crazy.dot
lib/graphviz/graphs/directed/ctext.dot
lib/graphviz/graphs/directed/dfa.dot
lib/graphviz/graphs/directed/fig6.dot
lib/graphviz/graphs/directed/fsm.dot
lib/graphviz/graphs/directed/grammar.dot
lib/graphviz/graphs/directed/hashtable.dot
lib/graphviz/graphs/directed/jcctree.dot
lib/graphviz/graphs/directed/jsort.dot
lib/graphviz/graphs/directed/ldbxtried.dot
lib/graphviz/graphs/directed/mike.dot
lib/graphviz/graphs/directed/newarrows.dot
lib/graphviz/graphs/directed/nhg.dot
lib/graphviz/graphs/directed/pgram.dot
lib/graphviz/graphs/directed/pm2way.dot
lib/graphviz/graphs/directed/pmpipe.dot
lib/graphviz/graphs/directed/polypoly.dot
lib/graphviz/graphs/directed/proc3d.dot
lib/graphviz/graphs/directed/records.dot
lib/graphviz/graphs/directed/rowe.dot
lib/graphviz/graphs/directed/shells.dot
lib/graphviz/graphs/directed/states.dot
lib/graphviz/graphs/directed/structs.dot
lib/graphviz/graphs/directed/train11.dot
lib/graphviz/graphs/directed/trapeziumlr.dot
lib/graphviz/graphs/directed/tree.dot
lib/graphviz/graphs/directed/triedds.dot
lib/graphviz/graphs/directed/try.dot
lib/graphviz/graphs/directed/unix.dot
lib/graphviz/graphs/directed/unix2.dot
lib/graphviz/graphs/directed/viewfile.dot
lib/graphviz/graphs/directed/world.dot
lib/graphviz/graphs/undirected/ER.dot
lib/graphviz/graphs/undirected/ngk10_4.dot
lib/graphviz/graphs/undirected/process.dot
lib/graphviz/lefty/box.lefty
lib/graphviz/lefty/def.lefty
lib/graphviz/lefty/dotty.lefty
lib/graphviz/lefty/dotty_draw.lefty
lib/graphviz/lefty/dotty_edit.lefty
lib/graphviz/lefty/dotty_layout.lefty
lib/graphviz/lefty/dotty_ui.lefty
lib/graphviz/lefty/fractal.lefty
lib/graphviz/lefty/fractal2.lefty
lib/graphviz/lefty/lefty.psp
lib/graphviz/lefty/slides.lefty
lib/graphviz/lefty/tree.lefty
lib/graphviz/libgdtclft.la
lib/graphviz/libtcldgl.la
lib/graphviz/libtcldgr.la
lib/graphviz/libtcldot.la
lib/graphviz/libtclpathplan.la
lib/graphviz/libtkspline.la
lib/graphviz/pkgIndex.tcl
man/man1/acyclic.1
man/man1/ccomps.1
man/man1/colorize.1
man/man1/dot.1
man/man1/dotty.1
man/man1/gc.1
man/man1/gpr.1
man/man1/lefty.1
man/man1/neato.1
man/man1/nop.1
man/man1/sccmap.1
man/man1/tred.1
man/man1/unflatten.1
man/man3/agraph.3
man/man3/cdt.3
man/man3/expr.3
man/man3/graph.3
man/man3/pathplan.3
man/mann/gdtclft.n
man/mann/tcldgl.n
man/mann/tcldgr.n
man/mann/tcldot.n
man/mann/tkspline.n
share/doc/graphviz/COPYING
share/doc/graphviz/FAQ.txt
share/doc/graphviz/MINTERMS.txt
%%SHARED%%
@dirrm share/doc/graphviz
@dirrm lib/graphviz/lefty
@dirrm lib/graphviz/graphs/undirected
@dirrm lib/graphviz/graphs/directed
@dirrm lib/graphviz/graphs
@dirrm lib/graphviz/demo/pathplan_data
@dirrm lib/graphviz/demo
@dirrm lib/graphviz