aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2000-06-27 22:03:18 +0800
committeralex <alex@FreeBSD.org>2000-06-27 22:03:18 +0800
commit6ddcf75ab9114081b76b32594057cfcd5e1d6f63 (patch)
tree8c1e383936608e14e603c2e1f8f6630f293ea689 /net
parent517cb582ceedc77acd2c689ed42bdc4d321a511c (diff)
downloadfreebsd-ports-graphics-6ddcf75ab9114081b76b32594057cfcd5e1d6f63.tar.gz
freebsd-ports-graphics-6ddcf75ab9114081b76b32594057cfcd5e1d6f63.tar.zst
freebsd-ports-graphics-6ddcf75ab9114081b76b32594057cfcd5e1d6f63.zip
respect NOPORTDOCS.
PR: 19316 Submitted by: maintainer
Diffstat (limited to 'net')
-rw-r--r--net/vnc/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/vnc/Makefile b/net/vnc/Makefile
index 33c53ce0c0b..a542f23df13 100644
--- a/net/vnc/Makefile
+++ b/net/vnc/Makefile
@@ -33,6 +33,10 @@ post-install:
< ${WRKSRC}/vncserver \
> ${WRKSRC}/vncserver.local
${INSTALL_SCRIPT} ${WRKSRC}/vncserver.local ${PREFIX}/bin/vncserver
+# Go install Java classes
+ ${MKDIR} ${PREFIX}/share/vnc
+ ${CP} -R ${WRKSRC}/classes ${PREFIX}/share/vnc
+.if !defined(NOPORTDOCS)
# The documentation comes with bogus ownerships; this is a little leaky
# security-wise
${TAR} -C ${PREFIX}/share/doc -xzf ${DISTDIR}/vnc-latest_doc.tgz
@@ -42,7 +46,5 @@ post-install:
# distfile.
(cd ${PREFIX}; ls share/doc/vnc/* >> ${TMPPLIST})
${ECHO} '@dirrm share/doc/vnc' >> ${TMPPLIST}
-# Go install Java classes
- ${MKDIR} ${PREFIX}/share/vnc
- ${CP} -R ${WRKSRC}/classes ${PREFIX}/share/vnc
+.endif
.include <bsd.port.mk>