1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

- Update to 1.0.3

- Add LICENSE_FILE
- Convert to USES=python
- Separate examples into nwdiag and packetdiag
- Update WWW: in pkg-descr
This commit is contained in:
TAKATSU Tomonari 2014-09-26 07:40:21 +00:00
parent ac5cbf76f4
commit 3fe09307ec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369307
3 changed files with 12 additions and 11 deletions

View File

@ -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/

View File

@ -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

View File

@ -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/