27 lines
713 B
Makefile
27 lines
713 B
Makefile
# $NetBSD: Makefile,v 1.13 2017/09/04 18:00:55 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= nwdiag-1.0.4
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=n/nwdiag/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
#HOMEPAGE= http://blockdiag.com/nwdiag/build/html/
|
|
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
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/nwdiag.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
${INSTALL_MAN} ${WRKSRC}/rackdiag.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|