summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2014-09-26 07:40:21 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2014-09-26 07:40:21 +0000
commit3fe09307ecb137863128dac0d69b396bc00d3661 (patch)
treebc89759785cf4919c554dee9f3af57bc40225d7e /graphics
parent- Update to 0.5.3 (diff)
- Update to 1.0.3
- Add LICENSE_FILE - Convert to USES=python - Separate examples into nwdiag and packetdiag - Update WWW: in pkg-descr
Notes
Notes: svn path=/head/; revision=369307
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-nwdiag/Makefile17
-rw-r--r--graphics/py-nwdiag/distinfo4
-rw-r--r--graphics/py-nwdiag/pkg-descr2
3 files changed, 12 insertions, 11 deletions
diff --git a/graphics/py-nwdiag/Makefile b/graphics/py-nwdiag/Makefile
index be761227cd8c..d849d674dc7b 100644
--- a/graphics/py-nwdiag/Makefile
+++ b/graphics/py-nwdiag/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= nwdiag
-PORTVERSION= 1.0.0
+PORTVERSION= 1.0.3
CATEGORIES= graphics python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,19 +11,19 @@ MAINTAINER= tota@FreeBSD.org
COMMENT= Simple network-diagram image generator
LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PKGNAMEPREFIX}pillow>=2.2.1:${PORTSDIR}/graphics/py-pillow \
${PKGNAMEPREFIX}funcparserlib>=0.3.6:${PORTSDIR}/devel/py-funcparserlib \
- ${PKGNAMEPREFIX}blockdiag>=1.3.0:${PORTSDIR}/graphics/py-blockdiag
+ ${PKGNAMEPREFIX}blockdiag>=1.4.1:${PORTSDIR}/graphics/py-blockdiag
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= autoplist distutils
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
EXAMPLESDIR= ${PREFIX}/share/examples/${UNIQUENAME}
-PORTDOCS= README.txt
+PORTDOCS= README.rst
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
@@ -36,12 +36,13 @@ IGNORE= does not support in ${PYTHON_VERSION}
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${INSTALL_WRKSRC}/src/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for d in ${PORTNAME} packetdiag
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${d}
${INSTALL_DATA} \
${INSTALL_WRKSRC}/examples/${d}/${PORTEXAMPLES} \
- ${STAGEDIR}${EXAMPLESDIR}
+ ${STAGEDIR}${EXAMPLESDIR}/${d}
.endfor
.for f in ${PORTNAME} rackdiag
${INSTALL_MAN} ${WRKSRC}/${f}.1 ${STAGEDIR}${PREFIX}/man/man1/
diff --git a/graphics/py-nwdiag/distinfo b/graphics/py-nwdiag/distinfo
index 1c825251ef29..773269151418 100644
--- a/graphics/py-nwdiag/distinfo
+++ b/graphics/py-nwdiag/distinfo
@@ -1,2 +1,2 @@
-SHA256 (nwdiag-1.0.0.tar.gz) = 1dbb66d487e7bc4a51c84e55e4ef400962b1ca503b2baca2ae5ade38becc55b4
-SIZE (nwdiag-1.0.0.tar.gz) = 94646
+SHA256 (nwdiag-1.0.3.tar.gz) = daff808b22f4581eb7e291c58b1280b4570b1d624bed12e642b33feb82cfea58
+SIZE (nwdiag-1.0.3.tar.gz) = 97142
diff --git a/graphics/py-nwdiag/pkg-descr b/graphics/py-nwdiag/pkg-descr
index f9014a17cc66..ae34b1badf21 100644
--- a/graphics/py-nwdiag/pkg-descr
+++ b/graphics/py-nwdiag/pkg-descr
@@ -4,4 +4,4 @@ Features
* Generate network-diagram from dot like text (basic feature).
* Multilingualization for node-label (utf-8 only).
-WWW: http://blockdiag.com/nwdiag/build/html/
+WWW: http://blockdiag.com/en/nwdiag/