summaryrefslogtreecommitdiff
path: root/graphics/py-nwdiag/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/py-nwdiag/Makefile')
-rw-r--r--graphics/py-nwdiag/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/graphics/py-nwdiag/Makefile b/graphics/py-nwdiag/Makefile
index f25c5925a0b..99b49feacbf 100644
--- a/graphics/py-nwdiag/Makefile
+++ b/graphics/py-nwdiag/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2012/11/19 20:00:06 cheusov Exp $
+# $NetBSD: Makefile,v 1.7 2013/09/11 05:54:45 obache Exp $
#
-DISTNAME= nwdiag-0.9.2
+DISTNAME= nwdiag-0.9.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= graphics
MASTER_SITES= http://pypi.python.org/packages/source/n/nwdiag/
@@ -11,9 +11,17 @@ HOMEPAGE= http://blockdiag.com/nwdiag/build/html/
COMMENT= Simple network-diagram image generator
LICENSE= apache-2.0
-DEPENDS+= ${PYPKGPREFIX}-blockdiag>=1.1.2:../../graphics/py-blockdiag
+DEPENDS+= ${PYPKGPREFIX}-blockdiag>=1.2.4:../../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"