summaryrefslogtreecommitdiff
path: root/graphics/xdot/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2013-01-05 22:12:33 +0000
committerwiz <wiz>2013-01-05 22:12:33 +0000
commitfba33b00745a2ec348c63c0270851870506e1bfc (patch)
treee03301e89a73b5dd0ab057bddeb2582b2493edc7 /graphics/xdot/Makefile
parent33c55cc41baf96b289c487cf698377fa030b69cf (diff)
downloadpkgsrc-fba33b00745a2ec348c63c0270851870506e1bfc.tar.gz
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.
Diffstat (limited to 'graphics/xdot/Makefile')
-rw-r--r--graphics/xdot/Makefile29
1 files changed, 29 insertions, 0 deletions
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"