aboutsummaryrefslogtreecommitdiffstats
path: root/net/ptpd
diff options
context:
space:
mode:
authorskreuzer <skreuzer@FreeBSD.org>2009-05-27 22:46:57 +0800
committerskreuzer <skreuzer@FreeBSD.org>2009-05-27 22:46:57 +0800
commit0ca6f1cb6041b612c4dea7d980450be407a00f63 (patch)
treec2c9a1cd4b306971ffb2c78c8f0d91079a7f1446 /net/ptpd
parentac7a8b2a052b674d8bc140ba723832034b7d7344 (diff)
downloadfreebsd-ports-gnome-0ca6f1cb6041b612c4dea7d980450be407a00f63.tar.gz
freebsd-ports-gnome-0ca6f1cb6041b612c4dea7d980450be407a00f63.tar.zst
freebsd-ports-gnome-0ca6f1cb6041b612c4dea7d980450be407a00f63.zip
- Install documentation
- Honor NOPORTDOCS Approved by: wxs (mentor), gnn (maintainer)
Diffstat (limited to 'net/ptpd')
-rw-r--r--net/ptpd/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/ptpd/Makefile b/net/ptpd/Makefile
index e1499b935a29..c3c82958c35f 100644
--- a/net/ptpd/Makefile
+++ b/net/ptpd/Makefile
@@ -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>