- Install documentation

- Honor NOPORTDOCS

Approved by:	wxs (mentor), gnn (maintainer)
This commit is contained in:
Steven Kreuzer 2009-05-27 14:46:57 +00:00
parent e196d27304
commit 6bb39cf297
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=234660

View file

@ -7,7 +7,7 @@
PORTNAME= ptpd
DISTVERSION= 1.0.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -18,6 +18,7 @@ COMMENT= An implementation of the precision time protocol IEEE 1588
WRKSRC= ${WRKDIR}/ptpd-${DISTVERSION}/src
PLIST_FILES= sbin/ptpd
PORTDOCS= *
USE_RC_SUBR= ptpd
@ -26,5 +27,9 @@ MAN8= ptpd.8
do-install::
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MANPREFIX}/man/man8
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKDIR}/ptpd-${DISTVERSION}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
.include <bsd.port.mk>