aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-gvgen
diff options
context:
space:
mode:
authorSofian Brabez <sbz@FreeBSD.org>2014-05-28 20:16:08 +0000
committerSofian Brabez <sbz@FreeBSD.org>2014-05-28 20:16:08 +0000
commite02b4f8049610fc9704192765ed78598db6b1337 (patch)
treee8a959daf42eb15d244660837567660fe1597e74 /graphics/py-gvgen
parentbe91effb52499f83a9dfb2f687ae1a6bb93976dc (diff)
downloadports-e02b4f8049610fc9704192765ed78598db6b1337.tar.gz
ports-e02b4f8049610fc9704192765ed78598db6b1337.zip
Notes
Diffstat (limited to 'graphics/py-gvgen')
-rw-r--r--graphics/py-gvgen/Makefile31
-rw-r--r--graphics/py-gvgen/distinfo4
-rw-r--r--graphics/py-gvgen/pkg-descr2
-rw-r--r--graphics/py-gvgen/pkg-message1
-rw-r--r--graphics/py-gvgen/pkg-plist3
5 files changed, 24 insertions, 17 deletions
diff --git a/graphics/py-gvgen/Makefile b/graphics/py-gvgen/Makefile
index 81b1d5726aaf..210c1c59fcc1 100644
--- a/graphics/py-gvgen/Makefile
+++ b/graphics/py-gvgen/Makefile
@@ -3,26 +3,37 @@
PORTNAME= gvgen
PORTVERSION= 0.9
+PORTREVISION= 1
CATEGORIES= graphics python
-MASTER_SITES= http://software.inl.fr/releases/GvGen/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sbz@FreeBSD.org
-COMMENT= An easy python interface to generate dot files
+COMMENT= Easy python interface to generate dot files
+LICENSE= GPLv2
+
+USE_GITHUB= yes
USE_PYTHON= yes
-USE_PYDISTUTILS=easy-install
-PYDISTUTILS_PKGVERSION= 0.9
-PYDISTUTILS_EGGINFO= GvGen-${PORTVERSION}-py${PYTHON_VER}.egg-info
+USE_PYDISTUTILS=yes
+PYDISTUTILS_AUTOPLIST= yes
+GH_ACCOUNT= stricaud
+GH_TAGNAME= ${GH_COMMIT}
+GH_COMMIT= 777ab06
+
+OPTIONS= DOCS
+
+PORTDOCS= crypto-folks.png gvgen-legend.png gvgen-propertyforeachlinks.2.png \
+ gvgen-smartmode-2.png gvgen-cluster-node-link.png gvgen-legendin.png \
+ gvgen-propertylink.png gvgen-styles.png gvgen-defaultstyle.png \
+ gvgen-links.png gvgen-smartmode-1.png
-PORTDOCS= user-guide.tex.lyx
+.include <bsd.port.options.mk>
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
diff --git a/graphics/py-gvgen/distinfo b/graphics/py-gvgen/distinfo
index 9f025a9de546..5d1586a6fee0 100644
--- a/graphics/py-gvgen/distinfo
+++ b/graphics/py-gvgen/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gvgen-0.9.tar.gz) = cc9f21be92d68bae3c2df7749abc5cc0fc6f8ce76b04fa07c477a6f8862e56bb
-SIZE (gvgen-0.9.tar.gz) = 27292
+SHA256 (gvgen-0.9.tar.gz) = a55a0665fb7987a12aee7cba13ba53bd0afbef7d9fc4526737a0e1f20ec26594
+SIZE (gvgen-0.9.tar.gz) = 128308
diff --git a/graphics/py-gvgen/pkg-descr b/graphics/py-gvgen/pkg-descr
index cd46c9d3e645..946e6803374f 100644
--- a/graphics/py-gvgen/pkg-descr
+++ b/graphics/py-gvgen/pkg-descr
@@ -1,4 +1,4 @@
GvGen is a python class to generate dot files for further use with
graphviz.
-WWW: http://software.inl.fr/trac/wiki/GvGen
+WWW: http://github.com/stricaud/gvgen
diff --git a/graphics/py-gvgen/pkg-message b/graphics/py-gvgen/pkg-message
index 181d1e66c118..6543dcfff6fa 100644
--- a/graphics/py-gvgen/pkg-message
+++ b/graphics/py-gvgen/pkg-message
@@ -2,7 +2,6 @@
GvGen is installed.
For a quick start:
- - read the user_guide.tex.lyx
- create dot file ./yourgraph.py > gourgraph.dot
- generate graph dot -Tpng yourgraph.dot > yourgraph.png
diff --git a/graphics/py-gvgen/pkg-plist b/graphics/py-gvgen/pkg-plist
deleted file mode 100644
index d4fa21beb8c2..000000000000
--- a/graphics/py-gvgen/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-%%PYTHON_SITELIBDIR%%/gvgen.py
-%%PYTHON_SITELIBDIR%%/gvgen.pyc
-%%PYTHON_SITELIBDIR%%/gvgen.pyo