summaryrefslogtreecommitdiff
path: root/wm/wmii
diff options
context:
space:
mode:
authorghen <ghen>2009-03-05 09:20:57 +0000
committerghen <ghen>2009-03-05 09:20:57 +0000
commit64c4f1fdfaa5e0a2b20e3f1357dd380b3d611fc2 (patch)
tree5e01705b806a35f4a73bde3b435549521eaed177 /wm/wmii
parentbc22692b01c9d5c94f071f07c83a28923a5b3426 (diff)
downloadpkgsrc-64c4f1fdfaa5e0a2b20e3f1357dd380b3d611fc2.tar.gz
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.
Diffstat (limited to 'wm/wmii')
-rw-r--r--wm/wmii/Makefile10
1 files changed, 8 insertions, 2 deletions
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"