blob: fa093824a094e4a6946c38d295a1ee6da142d7f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $NetBSD: Makefile,v 1.16 2020/07/20 23:43:43 gutteridge Exp $
DISTNAME= nwdiag-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_PYPI:=n/nwdiag/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://blockdiag.com/
COMMENT= Simple network-diagram image generator
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-blockdiag>=1.5.0:../../graphics/py-blockdiag
USE_LANGUAGES= # none
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
PYTHON_VERSIONS_INCOMPATIBLE= 27
post-install:
.for bin in nwdiag packetdiag rackdiag
cd ${DESTDIR}${PREFIX}/bin && \
${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
${INSTALL_MAN} ${WRKSRC}/${bin}.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${bin}-${PYVERSSUFFIX}.1
.endfor
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|