27 lines
736 B
Makefile
27 lines
736 B
Makefile
# $NetBSD: Makefile,v 1.11 2015/03/15 17:47:15 hiramatsu Exp $
|
|
#
|
|
|
|
DISTNAME= nwdiag-1.0.4
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://pypi.python.org/packages/source/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"
|