Add support for NOPORTDOCS.

PR:		29754
Submitted by:	Patrick Li <pat@databits.net>
This commit is contained in:
Maxim Sobolev 2001-11-23 18:10:09 +00:00
parent 5c5c6f155b
commit 85aafd6b9b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50427
2 changed files with 5 additions and 5 deletions

View file

@ -22,8 +22,8 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mserver.sh.sample ${PREFIX}/etc/rc.d/mserver.sh.sample
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/mserver
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/mserver
${INSTALL_MAN} ${WRKSRC}/README.tcpconn ${PREFIX}/share/doc/mserver
@${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/mserver
@${INSTALL_MAN} ${WRKSRC}/README.tcpconn ${PREFIX}/share/doc/mserver
.endif
.include <bsd.port.mk>

View file

@ -2,6 +2,6 @@ sbin/mserver
sbin/tcpconn
etc/mserver.conf.default
etc/rc.d/mserver.sh.sample
share/doc/mserver/README
share/doc/mserver/README.tcpconn
@dirrm share/doc/mserver
%%PORTDOCS%%share/doc/mserver/README
%%PORTDOCS%%share/doc/mserver/README.tcpconn
%%PORTDOCS%%@dirrm share/doc/mserver