summaryrefslogtreecommitdiff
path: root/net/vnc
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2000-06-27 14:03:18 +0000
committerAlexander Langer <alex@FreeBSD.org>2000-06-27 14:03:18 +0000
commite9fa85a64362f9301a2f8772345ab34304cb1895 (patch)
tree772e08a7f7171ffa1b37fc0aa250f36befb94e4c /net/vnc
parentadd a second mastersite. (diff)
respect NOPORTDOCS.
PR: 19316 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=29910
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 33c53ce0c0b6..a542f23df136 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>