pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/wmii Run the wmii.1 manpage through tbl(1) before i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3b4cb142a87c
branches:  trunk
changeset: 555553:3b4cb142a87c
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Thu Mar 05 09:20:57 2009 +0000

description:
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:

 wm/wmii/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r 418b5d0c4039 -r 3b4cb142a87c wm/wmii/Makefile
--- a/wm/wmii/Makefile  Thu Mar 05 07:45:19 2009 +0000
+++ b/wm/wmii/Makefile  Thu Mar 05 09:20:57 2009 +0000
@@ -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 @@
 
 DEPENDS+=              dmenu>=3.6:../../x11/dmenu
 
+USE_TOOLS+=            tbl
+
 NO_CONFIGURE=          yes
 
 BUILD_DEFS+=           PKG_SYSCONFBASE
@@ -29,6 +31,10 @@
 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"



Home | Main Index | Thread Index | Old Index