diff options
-rw-r--r-- | net/vnc/Makefile | 8 |
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> |