pkgsrc/graphics/py-seqdiag/Makefile
adam 085771fcc6 py-seqdiag: updated to 0.9.6
0.9.6:
* Fix a bug
  - Fix Python 3.7 compatibility
2018-08-19 11:23:51 +00:00

30 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2018/08/19 11:23:51 adam Exp $
DISTNAME= seqdiag-0.9.6
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/seqdiag/}
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://blockdiag.com/seqdiag/build/html/
COMMENT= Simple sequence-diagram image generator
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-blockdiag>=1.5.0:../../graphics/py-blockdiag
TEST_DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
TEST_DEPENDS+= ${PYPKGPREFIX}-pep8>=1.3:../../devel/py-pep8
TEST_DEPENDS+= ${PYPKGPREFIX}-reportlab-[0-9]*:../../print/py-reportlab
USE_LANGUAGES= # none
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
post-install:
cd ${DESTDIR}${PREFIX} && \
${MV} bin/seqdiag bin/seqdiag-${PYVERSSUFFIX} || ${TRUE}
${INSTALL_MAN} ${WRKSRC}/seqdiag.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/seqdiag-${PYVERSSUFFIX}.1
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"