diff options
author | yar <yar@FreeBSD.org> | 2001-09-08 17:04:07 +0800 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2001-09-08 17:04:07 +0800 |
commit | cdac7e088f23ace45ef21c944ca20226db78651b (patch) | |
tree | 72803a3ef2fcc5c1cd60036020a2c0b10ac8ac6a /net | |
parent | 802648ba6068a4f1a2566c30d915e1563b22e12e (diff) | |
download | freebsd-ports-gnome-cdac7e088f23ace45ef21c944ca20226db78651b.tar.gz freebsd-ports-gnome-cdac7e088f23ace45ef21c944ca20226db78651b.tar.zst freebsd-ports-gnome-cdac7e088f23ace45ef21c944ca20226db78651b.zip |
Respect NOPORTDOCS
Diffstat (limited to 'net')
-rw-r--r-- | net/ehnt/Makefile | 10 | ||||
-rw-r--r-- | net/ehnt/pkg-plist | 4 |
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 |