mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
34 lines
825 B
Makefile
34 lines
825 B
Makefile
# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
|
|
|
|
PORTNAME= actdiag
|
|
PORTVERSION= 2.0.0
|
|
CATEGORIES= graphics python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= tota@FreeBSD.org
|
|
COMMENT= Simple activity-diagram image generator
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blockdiag>=1.5.0:graphics/py-blockdiag@${PY_FLAVOR}
|
|
|
|
USES= python:3.5+
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
|
|
PORTDOCS= README.rst
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
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}
|
|
|
|
.include <bsd.port.mk>
|