aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-seqdiag
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2016-04-10 09:40:26 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2016-04-10 09:40:26 +0000
commit711ee07f12ada1db1db771626d9dde2b1a74d6bf (patch)
tree5c454ee517a3aed0472e0ca9260f8b11030b5a82 /graphics/py-seqdiag
parent41e055cff8b79a19abdcea841eb297842acdf031 (diff)
downloadports-711ee07f12ada1db1db771626d9dde2b1a74d6bf.tar.gz
ports-711ee07f12ada1db1db771626d9dde2b1a74d6bf.zip
- Update to 0.9.5
- Fix Python version - Make use of options helpers
Notes
Notes: svn path=/head/; revision=412908
Diffstat (limited to 'graphics/py-seqdiag')
-rw-r--r--graphics/py-seqdiag/Makefile24
-rw-r--r--graphics/py-seqdiag/distinfo4
2 files changed, 13 insertions, 15 deletions
diff --git a/graphics/py-seqdiag/Makefile b/graphics/py-seqdiag/Makefile
index a29b3784e601..aab6a9acdd79 100644
--- a/graphics/py-seqdiag/Makefile
+++ b/graphics/py-seqdiag/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= seqdiag
-PORTVERSION= 0.9.3
+PORTVERSION= 0.9.5
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}
@@ -26,20 +26,18 @@ EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE}
PORTDOCS= README.rst
PORTEXAMPLES= *
-OPTIONS_DEFINE= DOCS
-
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_VER} == 3.1
-IGNORE= does not support in ${PYTHON_VERSION}
-.endif
+OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/
+ @${ECHO_CMD} man/man1/${PORTNAME}.1.gz >> ${TMPPLIST}
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${INSTALL_WRKSRC}/examples/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/
- @${ECHO_CMD} man/man1/${PORTNAME}.1.gz >> ${TMPPLIST}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/py-seqdiag/distinfo b/graphics/py-seqdiag/distinfo
index 505d3377040e..c946fb354dd7 100644
--- a/graphics/py-seqdiag/distinfo
+++ b/graphics/py-seqdiag/distinfo
@@ -1,2 +1,2 @@
-SHA256 (seqdiag-0.9.3.tar.gz) = 12eca614faa3e6fc6335f98aab814b7def05a16bff05af20b73233945b8f6beb
-SIZE (seqdiag-0.9.3.tar.gz) = 67836
+SHA256 (seqdiag-0.9.5.tar.gz) = 994402cb19fef77ee113d18810aa397a7290553cda5f900be2bb44e2c7742657
+SIZE (seqdiag-0.9.5.tar.gz) = 2618903