diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-08-07 17:18:53 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-08-07 17:18:53 +0800 |
commit | f3a5206f22c257f6b2788de17d02511e94d670a6 (patch) | |
tree | 7f128968d8346e6585f16a5d6aaa300073599fcf /graphics | |
parent | 5a1bf24f3fa1317ea508fdecd91900bc403011f6 (diff) | |
download | freebsd-ports-gnome-f3a5206f22c257f6b2788de17d02511e94d670a6.tar.gz freebsd-ports-gnome-f3a5206f22c257f6b2788de17d02511e94d670a6.tar.zst freebsd-ports-gnome-f3a5206f22c257f6b2788de17d02511e94d670a6.zip |
add springgraph 0.79
Render graph described in a .dot file
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/springgraph/Makefile | 33 | ||||
-rw-r--r-- | graphics/springgraph/distinfo | 1 | ||||
-rw-r--r-- | graphics/springgraph/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/springgraph/pkg-descr | 13 | ||||
-rw-r--r-- | graphics/springgraph/pkg-plist | 1 |
6 files changed, 50 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 53a0562f8700..1f4c8e8d510b 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -341,6 +341,7 @@ SUBDIR += sodipodi SUBDIR += spigot SUBDIR += splitmpg + SUBDIR += springgraph SUBDIR += stamp SUBDIR += svg2swf SUBDIR += svgalib diff --git a/graphics/springgraph/Makefile b/graphics/springgraph/Makefile new file mode 100644 index 000000000000..341b86a812be --- /dev/null +++ b/graphics/springgraph/Makefile @@ -0,0 +1,33 @@ +# ex:ts=8 +# Ports collection makefile for: springgraph +# Date created: Aug 8, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= springgraph +PORTVERSION= 0.79 +CATEGORIES= graphics +MASTER_SITES= http://www.chaosreigns.com/code/springgraph/dl/ +DISTNAME= ${PORTNAME} +EXTRACT_SUFX= .pl + +MAINTAINER= ports@FreeBSD.org + +RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD + +USE_PERL5= yes +EXTRACT_CMD= ${CP} +EXTRACT_BEFORE_ARGS= +EXTRACT_AFTER_ARGS= ${WRKDIR} +NO_WRKSUBDIR= yes +NO_BUILD= yes + +post-patch: + @${PERL} -pi -e "s|/usr/bin/perl|${PERL}|g" ${WRKSRC}/springgraph.pl + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/springgraph.pl ${PREFIX}/bin/springgraph + +.include <bsd.port.mk> diff --git a/graphics/springgraph/distinfo b/graphics/springgraph/distinfo new file mode 100644 index 000000000000..ad219a34c374 --- /dev/null +++ b/graphics/springgraph/distinfo @@ -0,0 +1 @@ +MD5 (springgraph.pl) = 701e49bbceb35a9054dfc7e55a8c863a diff --git a/graphics/springgraph/pkg-comment b/graphics/springgraph/pkg-comment new file mode 100644 index 000000000000..5914aecf2c8f --- /dev/null +++ b/graphics/springgraph/pkg-comment @@ -0,0 +1 @@ +Render graph described in a .dot file diff --git a/graphics/springgraph/pkg-descr b/graphics/springgraph/pkg-descr new file mode 100644 index 000000000000..ca48fab5a52f --- /dev/null +++ b/graphics/springgraph/pkg-descr @@ -0,0 +1,13 @@ +Springgraph will read in a .dot file description of a graph, which, for each +node, specifies its name and which other nodes it is connected to, and then +renders a graph. Each node is drawn as an ellipse, and each connection is +drawn as an arrow. The node placement is a result of all of the nodes moving +away from each other, while all nodes which are connected move toward each +other. This movement is repeated until it stabilizes. + +Springgraph was written as an alternative to neato, which is part of graphviz. +It attempts to read the same .dot files used by graphviz, but currently only +supports a limited number of node attributes (label and fillcolor). I am open +to requests for support for more graph/node/edge attributes. + +WWW: http://www.chaosreigns.com/code/springgraph/ diff --git a/graphics/springgraph/pkg-plist b/graphics/springgraph/pkg-plist new file mode 100644 index 000000000000..facf89bd9178 --- /dev/null +++ b/graphics/springgraph/pkg-plist @@ -0,0 +1 @@ +bin/springgraph |