Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2016 09:39:03 +0000 (UTC)
From:      TAKATSU Tomonari <tota@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412907 - head/graphics/py-nwdiag
Message-ID:  <201604100939.u3A9d3uc040248@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tota
Date: Sun Apr 10 09:39:02 2016
New Revision: 412907
URL: https://svnweb.freebsd.org/changeset/ports/412907

Log:
  - Update to 1.0.4
  - Fix Python version
  - Make use of options helpers

Modified:
  head/graphics/py-nwdiag/Makefile   (contents, props changed)
  head/graphics/py-nwdiag/distinfo   (contents, props changed)

Modified: head/graphics/py-nwdiag/Makefile
==============================================================================
--- head/graphics/py-nwdiag/Makefile	Sun Apr 10 09:37:11 2016	(r412906)
+++ head/graphics/py-nwdiag/Makefile	Sun Apr 10 09:39:02 2016	(r412907)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	nwdiag
-PORTVERSION=	1.0.3
+PORTVERSION=	1.0.4
 CATEGORIES=	graphics python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,9 +15,9 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PKGNAMEPREFIX}pillow>=2.2.1:graphics/py-pillow \
 		${PKGNAMEPREFIX}funcparserlib>=0.3.6:devel/py-funcparserlib \
-		${PKGNAMEPREFIX}blockdiag>=1.4.1:graphics/py-blockdiag
+		${PKGNAMEPREFIX}blockdiag>=1.5.0:graphics/py-blockdiag
 
-USES=	python
+USES=	python:-3.4
 USE_PYTHON=	autoplist distutils
 
 DOCSDIR=	${PREFIX}/share/doc/${PKGBASE}
@@ -28,15 +28,17 @@ PORTEXAMPLES=	*
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_VER} == 3.1
-IGNORE=	does not support in ${PYTHON_VERSION}
-.endif
-
 post-install:
+.for f in ${PORTNAME} rackdiag
+	${INSTALL_MAN} ${WRKSRC}/${f}.1 ${STAGEDIR}${PREFIX}/man/man1/
+	@${ECHO_CMD} man/man1/${f}.1.gz >> ${TMPPLIST}
+.endfor
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 .for d in ${PORTNAME} packetdiag
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${d}
@@ -44,9 +46,5 @@ post-install:
 		${INSTALL_WRKSRC}/examples/${d}/${PORTEXAMPLES} \
 		${STAGEDIR}${EXAMPLESDIR}/${d}
 .endfor
-.for f in ${PORTNAME} rackdiag
-	${INSTALL_MAN} ${WRKSRC}/${f}.1 ${STAGEDIR}${PREFIX}/man/man1/
-	@${ECHO_CMD} man/man1/${f}.1.gz >> ${TMPPLIST}
-.endfor
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/graphics/py-nwdiag/distinfo
==============================================================================
--- head/graphics/py-nwdiag/distinfo	Sun Apr 10 09:37:11 2016	(r412906)
+++ head/graphics/py-nwdiag/distinfo	Sun Apr 10 09:39:02 2016	(r412907)
@@ -1,2 +1,2 @@
-SHA256 (nwdiag-1.0.3.tar.gz) = daff808b22f4581eb7e291c58b1280b4570b1d624bed12e642b33feb82cfea58
-SIZE (nwdiag-1.0.3.tar.gz) = 97142
+SHA256 (nwdiag-1.0.4.tar.gz) = 002565875559789a2dfc5f578c07abdf44269c3f7cdf78d4809bdc4bdc2213fa
+SIZE (nwdiag-1.0.4.tar.gz) = 2652472



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604100939.u3A9d3uc040248>