Pre-format the tbl in the faucet and hose man pages so they're properly

displayed by man(1).
This commit is contained in:
jlam 2005-11-07 02:48:50 +00:00
parent 356ab50220
commit 0d48f281f8

View file

@ -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 @@ HOMEPAGE= http://web.purplefrog.com/~thoth/netpipes/netpipes.html
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"