1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/graphics/py-actdiag/Makefile
TAKATSU Tomonari 4d1f34ba47 - Update to 0.5.1
* Switch run-time dependency from PIL to Pillow
- Use USE_PYDISTUTILS= yes instead of USE_PYDISTUTILS= easy_install
- Use PYDISTUTILS_AUTOPLIST
  * Remove pkg-plist, accordingly
- Support STAGEDIR
  * Make DOCS unconditional to stage
- Unmute INSTALL_DATA and INSTALL_MAN in post-install target

PR:		ports/188882 (based on)
Submitted by:	Bartek Rutkowski <ports@robakdesign.com>
2014-04-26 21:18:07 +00:00

41 lines
1.0 KiB
Makefile

# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
# $FreeBSD$
PORTNAME= actdiag
PORTVERSION= 0.5.1
CATEGORIES= graphics python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= tota@FreeBSD.org
COMMENT= Simple activity-diagram image generator
LICENSE= APACHE20
RUN_DEPENDS= ${PKGNAMEPREFIX}pillow>=2.2.1:${PORTSDIR}/graphics/py-pillow \
${PKGNAMEPREFIX}blockdiag>=1.3.1:${PORTSDIR}/graphics/py-blockdiag \
${PKGNAMEPREFIX}funcparserlib>=0.3.6:${PORTSDIR}/devel/py-funcparserlib
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
PORTDOCS= README.rst
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${PYTHON_VER} == 3.1
IGNORE= does not support in ${PYTHON_VERSION}
.endif
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/
@${ECHO_CMD} man/man1/${PORTNAME}.1.gz >> ${TMPPLIST}
.include <bsd.port.post.mk>