- Update to 0.9.5
- Fix Python version - Make use of options helpers
This commit is contained in:
parent
41e055cff8
commit
711ee07f12
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412908
@ -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:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
||||
@${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>
|
||||
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}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user