From 64c4f1fdfaa5e0a2b20e3f1357dd380b3d611fc2 Mon Sep 17 00:00:00 2001 From: ghen Date: Thu, 5 Mar 2009 09:20:57 +0000 Subject: Run the wmii.1 manpage through tbl(1) before installation to fix PR pkg/39822. Alternatively, the manpage could be installed as wmii.tbl, so man(1) will pipe it through tbl at runtime, but I don't know how portable this behaviour is. Bump PKGREVISION. --- wm/wmii/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'wm') diff --git a/wm/wmii/Makefile b/wm/wmii/Makefile index 745479f0fc9..62db4a7f5b4 100644 --- a/wm/wmii/Makefile +++ b/wm/wmii/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.18 2008/05/16 09:06:03 ghen Exp $ +# $NetBSD: Makefile,v 1.19 2009/03/05 09:20:57 ghen Exp $ DISTNAME= wmii-3.6 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= wm MASTER_SITES= http://www.suckless.org/download/ @@ -11,6 +11,8 @@ COMMENT= Modular and keyboard-friendly window manager DEPENDS+= dmenu>=3.6:../../x11/dmenu +USE_TOOLS+= tbl + NO_CONFIGURE= yes BUILD_DEFS+= PKG_SYSCONFBASE @@ -29,6 +31,10 @@ CONF_FILES_MODE= 0755 CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} .endfor +post-build: + mv ${WRKSRC}/man/wmii.1 ${WRKSRC}/man/wmii.tbl + ${TBL} ${WRKSRC}/man/wmii.tbl > ${WRKSRC}/man/wmii.1 + .include "../../devel/libixp/buildlink3.mk" .include "../../x11/xextproto/buildlink3.mk" .include "../../x11/libX11/buildlink3.mk" -- cgit v1.2.3