414da959ef
1.5.4: - Fix Python 3.7 compatibility
31 lines
1.1 KiB
Makefile
31 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.24 2018/08/05 12:40:53 adam Exp $
|
|
|
|
DISTNAME= blockdiag-1.5.4
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= graphics python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=b/blockdiag/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://blockdiag.com/
|
|
COMMENT= Generate block-diagram image file from spec-text file
|
|
LICENSE= apache-2.0
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
|
|
DEPENDS+= ${PYPKGPREFIX}-funcparserlib>=0.3.6:../../devel/py-funcparserlib
|
|
DEPENDS+= ${PYPKGPREFIX}-reportlab-[0-9]*:../../print/py-reportlab
|
|
DEPENDS+= ${PYPKGPREFIX}-webcolors-[0-9]*:../../www/py-webcolors
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX} && \
|
|
${MV} bin/blockdiag bin/blockdiag-${PYVERSSUFFIX} || ${TRUE}
|
|
${INSTALL_MAN} ${WRKSRC}/blockdiag.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/blockdiag-${PYVERSSUFFIX}.1
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|