- Install documentation with "install" instead of a complicated "tar" pipe

construct.
- Avoid installing RCS and editor backup files.
This commit is contained in:
tron 1999-09-04 10:35:59 +00:00
parent 46263e8fe3
commit 56f926fab9
2 changed files with 5 additions and 8 deletions

View file

@ -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"

View file

@ -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