aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2001-09-08 09:04:07 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2001-09-08 09:04:07 +0000
commitefeee03517fe432045869171671d2bed86bf4239 (patch)
treef45c493d83ca5a6c4587856f74f742e6cba2d631 /net
parent4408f73879ba705f46cced7fe8bb80b807cdd6ce (diff)
downloadports-efeee03517fe432045869171671d2bed86bf4239.tar.gz
ports-efeee03517fe432045869171671d2bed86bf4239.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/ehnt/Makefile10
-rw-r--r--net/ehnt/pkg-plist4
2 files changed, 8 insertions, 6 deletions
diff --git a/net/ehnt/Makefile b/net/ehnt/Makefile
index e8d40aa8285b..254998e4f5ff 100644
--- a/net/ehnt/Makefile
+++ b/net/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/ehnt/pkg-plist b/net/ehnt/pkg-plist
index aa933284a56a..047cd3bbd2c4 100644
--- a/net/ehnt/pkg-plist
+++ b/net/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