aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/ehnt
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2001-09-08 17:04:07 +0800
committeryar <yar@FreeBSD.org>2001-09-08 17:04:07 +0800
commitcdac7e088f23ace45ef21c944ca20226db78651b (patch)
tree72803a3ef2fcc5c1cd60036020a2c0b10ac8ac6a /net-mgmt/ehnt
parent802648ba6068a4f1a2566c30d915e1563b22e12e (diff)
downloadfreebsd-ports-gnome-cdac7e088f23ace45ef21c944ca20226db78651b.tar.gz
freebsd-ports-gnome-cdac7e088f23ace45ef21c944ca20226db78651b.tar.zst
freebsd-ports-gnome-cdac7e088f23ace45ef21c944ca20226db78651b.zip
Respect NOPORTDOCS
Diffstat (limited to 'net-mgmt/ehnt')
-rw-r--r--net-mgmt/ehnt/Makefile10
-rw-r--r--net-mgmt/ehnt/pkg-plist4
2 files changed, 8 insertions, 6 deletions
diff --git a/net-mgmt/ehnt/Makefile b/net-mgmt/ehnt/Makefile
index e8d40aa8285b..254998e4f5ff 100644
--- a/net-mgmt/ehnt/Makefile
+++ b/net-mgmt/ehnt/Makefile
@@ -19,14 +19,16 @@ MAN1= ehnt.1
MAN8= ehntserv.8
do-install:
- ${MKDIR} ${PREFIX}/share/ehnt
- ${MKDIR} ${PREFIX}/share/doc/ehnt
${INSTALL_PROGRAM} ${WRKSRC}/ehnt ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/ehntserv ${PREFIX}/sbin/
${INSTALL_SCRIPT} ${FILESDIR}/ehntserv.sh.sample ${PREFIX}/etc/rc.d/
- ${INSTALL_DATA} ${WRKSRC}/asnc.txt ${PREFIX}/share/ehnt/
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ehnt/
${INSTALL_MAN} ${FILESDIR}/ehnt.1 ${PREFIX}/man/man1/
${INSTALL_MAN} ${FILESDIR}/ehntserv.8 ${PREFIX}/man/man8/
+ ${MKDIR} ${PREFIX}/share/ehnt
+ ${INSTALL_DATA} ${WRKSRC}/asnc.txt ${PREFIX}/share/ehnt/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/ehnt
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ehnt/
+.endif
.include <bsd.port.mk>
diff --git a/net-mgmt/ehnt/pkg-plist b/net-mgmt/ehnt/pkg-plist
index aa933284a56a..047cd3bbd2c4 100644
--- a/net-mgmt/ehnt/pkg-plist
+++ b/net-mgmt/ehnt/pkg-plist
@@ -3,5 +3,5 @@ sbin/ehntserv
etc/rc.d/ehntserv.sh.sample
share/ehnt/asnc.txt
@dirrm share/ehnt
-share/doc/ehnt/README
-@dirrm share/doc/ehnt
+%%PORTDOCS%%share/doc/ehnt/README
+%%PORTDOCS%%@dirrm share/doc/ehnt