USE_TOOLS nroff, and use that to format the .ms file.
This commit is contained in:
parent
d714d7ca6e
commit
292312b9e8
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.12 2005/06/16 06:57:47 jlam Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2005/11/07 20:08:46 tv Exp $
|
||||
#
|
||||
|
||||
DISTNAME= TS-1.08
|
||||
|
@ -12,6 +12,7 @@ COMMENT= Library of simple token-scanning routines
|
|||
|
||||
WRKSRC= ${WRKDIR}/tokenscan
|
||||
INSTALLATION_DIRS= include lib
|
||||
USE_TOOLS+= nroff
|
||||
|
||||
post-patch:
|
||||
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.bak
|
||||
|
@ -22,7 +23,7 @@ do-install:
|
|||
${INSTALL_DATA} ${WRKSRC}/libtokenscan.a ${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/tokenscan.h ${PREFIX}/include
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libts
|
||||
groff -Tascii -ms ${WRKSRC}/tokenscan.ms \
|
||||
${NROFF} -ms ${WRKSRC}/tokenscan.ms \
|
||||
>${PREFIX}/share/doc/libts/tokenscan.txt
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
Loading…
Reference in a new issue