summaryrefslogtreecommitdiffstats
path: root/net/vnc
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2000-06-27 14:03:18 +0000
committeralex <alex@FreeBSD.org>2000-06-27 14:03:18 +0000
commit6ddcf75ab9114081b76b32594057cfcd5e1d6f63 (patch)
tree8c1e383936608e14e603c2e1f8f6630f293ea689 /net/vnc
parent517cb582ceedc77acd2c689ed42bdc4d321a511c (diff)
downloadFreeBSD-ports-6ddcf75ab9114081b76b32594057cfcd5e1d6f63.zip
FreeBSD-ports-6ddcf75ab9114081b76b32594057cfcd5e1d6f63.tar.gz
respect NOPORTDOCS.
PR: 19316 Submitted by: maintainer
Diffstat (limited to 'net/vnc')
-rw-r--r--net/vnc/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/vnc/Makefile b/net/vnc/Makefile
index 33c53ce..a542f23 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>
OpenPOWER on IntegriCloud