pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/netpipes Pre-format the tbl in the faucet and hose...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8bc713c10003
branches:  trunk
changeset: 502585:8bc713c10003
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Nov 07 02:48:50 2005 +0000

description:
Pre-format the tbl in the faucet and hose man pages so they're properly
displayed by man(1).

diffstat:

 net/netpipes/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 1ee55e89ea40 -r 8bc713c10003 net/netpipes/Makefile
--- a/net/netpipes/Makefile     Mon Nov 07 01:24:33 2005 +0000
+++ b/net/netpipes/Makefile     Mon Nov 07 02:48:50 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2005/11/07 00:00:23 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2005/11/07 02:48:50 jlam Exp $
 
 DISTNAME=      netpipes-4.2-export
 PKGNAME=       ${DISTNAME:S/-export//}
@@ -10,9 +10,15 @@
 COMMENT=       utilities for communicating via sockets
 
 WRKSRC=                ${WRKDIR}
+USE_TOOLS+=    tbl
 
 LIBS.SunOS=    -lsocket -lnsl
 
 INSTALLATION_DIRS=     bin ${PKGMANDIR}
 
+post-build:
+       cd ${WRKSRC}; for f in faucet.1 hose.1; do                      \
+               ${TBL} $$f > $$f.new; ${MV} -f $$f.new $$f;             \
+       done
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index