From 56f926fab963d454e64cd1f8f997d29e1851647a Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 4 Sep 1999 10:35:59 +0000 Subject: [PATCH] - Install documentation with "install" instead of a complicated "tar" pipe construct. - Avoid installing RCS and editor backup files. --- net/vnc/Makefile | 9 ++++----- net/vnc/pkg/PLIST | 4 +--- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/net/vnc/Makefile b/net/vnc/Makefile index 74717d567ca1..cc7d06129f32 100644 --- a/net/vnc/Makefile +++ b/net/vnc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 1999/09/02 21:29:31 tron Exp $ +# $NetBSD: Makefile,v 1.9 1999/09/04 10:35:59 tron Exp $ # FreeBSD Id: Makefile,v 1.2 1998/03/19 01:54:59 msmith Exp # @@ -35,10 +35,9 @@ post-install: < ${WRKSRC}/vncserver \ > ${WRKSRC}/vncserver.local ${INSTALL_SCRIPT} ${WRKSRC}/vncserver.local ${PREFIX}/bin/vncserver -# The documentation comes with bogus ownerships; this is a little leaky security-wise ${MKDIR} ${PREFIX}/share/doc/vnc - (cd ${WRKDIR}/vnc_docs ; tar --exclude '*~' --exclude .lastinstall \ - --exclude makefile -cf - . ) | tar -xf - -C ${PREFIX}/share/doc/vnc - chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/vnc + cd ${WRKDIR}/vnc_docs; \ + ${INSTALL_DATA} *.GIF *.css *.gif *.jpg *.htm *.html *.pdf *.xml \ + ${PREFIX}/share/doc/vnc .include "../../mk/bsd.pkg.mk" diff --git a/net/vnc/pkg/PLIST b/net/vnc/pkg/PLIST index 2c4c1dd7244c..a14e0689dc45 100644 --- a/net/vnc/pkg/PLIST +++ b/net/vnc/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 1999/09/02 21:29:32 tron Exp $ +@comment $NetBSD: PLIST,v 1.8 1999/09/04 10:36:00 tron Exp $ bin/Xvnc bin/vncviewer bin/vncpasswd @@ -15,7 +15,6 @@ share/doc/vnc/bluepix.gif share/doc/vnc/button.gif share/doc/vnc/cdplay.gif share/doc/vnc/cevncviewer.html -share/doc/vnc/cevncviewer.html,v share/doc/vnc/cim.jpg share/doc/vnc/clientserver.gif share/doc/vnc/collage.gif @@ -60,7 +59,6 @@ share/doc/vnc/machistory.html share/doc/vnc/macshot.gif share/doc/vnc/macshot_small.gif share/doc/vnc/macvnc.html -share/doc/vnc/macvnc.html.bck share/doc/vnc/macvncviewer.html share/doc/vnc/mailinglist.html share/doc/vnc/newlogosmall2.gif