From fba33b00745a2ec348c63c0270851870506e1bfc Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 5 Jan 2013 22:12:33 +0000 Subject: Import xdot-20121124 as graphics/xdot. xdot.py is an interactive viewer for graphs written in Graphviz's dot language. It uses internally the graphviz's xdot output format as an intermediate format, and PyGTK and Cairo for rendering. xdot.py can be used either as a standalone application from command line, or as a library embedded in your python application. --- graphics/xdot/DESCR | 8 ++++++++ graphics/xdot/Makefile | 29 +++++++++++++++++++++++++++++ graphics/xdot/PLIST | 2 ++ graphics/xdot/distinfo | 5 +++++ 4 files changed, 44 insertions(+) create mode 100644 graphics/xdot/DESCR create mode 100644 graphics/xdot/Makefile create mode 100644 graphics/xdot/PLIST create mode 100644 graphics/xdot/distinfo (limited to 'graphics/xdot') diff --git a/graphics/xdot/DESCR b/graphics/xdot/DESCR new file mode 100644 index 00000000000..03bc6302f3b --- /dev/null +++ b/graphics/xdot/DESCR @@ -0,0 +1,8 @@ +xdot.py is an interactive viewer for graphs written in Graphviz's +dot language. + +It uses internally the graphviz's xdot output format as an intermediate +format, and PyGTK and Cairo for rendering. + +xdot.py can be used either as a standalone application from command +line, or as a library embedded in your python application. diff --git a/graphics/xdot/Makefile b/graphics/xdot/Makefile new file mode 100644 index 00000000000..a0102fbce76 --- /dev/null +++ b/graphics/xdot/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1 2013/01/05 22:12:33 wiz Exp $ +# + +DISTNAME= xdot +PKGNAME= xdot-20121124 +CATEGORIES= graphics +MASTER_SITES= http://xdot.jrfonseca.googlecode.com/git/ +EXTRACT_SUFX= .py + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://code.google.com/p/jrfonseca/wiki/XDot +COMMENT= Interactive viewer for graphs written in Graphviz's dot language +LICENSE= gnu-lgpl-v3 + +DEPENDS+= ${PYPKGPREFIX}-gtk2-[0-9]*:../../x11/py-gtk2 + +WRKSRC= ${WRKDIR} +USE_LANGUAGES= # none +DIST_SUBDIR= ${PKGNAME_NOREV} +REPLACE_PYTHON= xdot.py +INSTALLATION_DIRS= bin + +do-build: + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/xdot.py ${DESTDIR}${PREFIX}/bin/xdot + +.include "../../lang/python/application.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/xdot/PLIST b/graphics/xdot/PLIST new file mode 100644 index 00000000000..5691563257f --- /dev/null +++ b/graphics/xdot/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2013/01/05 22:12:33 wiz Exp $ +bin/xdot diff --git a/graphics/xdot/distinfo b/graphics/xdot/distinfo new file mode 100644 index 00000000000..cb1e32f00d9 --- /dev/null +++ b/graphics/xdot/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2013/01/05 22:12:33 wiz Exp $ + +SHA1 (xdot-20121124/xdot.py) = c6018a21be91fa59a2673d102f859c0428eb9e7a +RMD160 (xdot-20121124/xdot.py) = 2e1284be5da72a5eed179d9d4305cb17e826cfa7 +Size (xdot-20121124/xdot.py) = 91075 bytes -- cgit v1.2.3