1 # $NetBSD: Makefile,v 1.9 1999/09/04 10:35:59 tron Exp $
2 # FreeBSD Id: Makefile,v 1.2 1998/03/19 01:54:59 msmith Exp
8 MASTER_SITES= http://www.uk.research.att.com/vnc/dist/
9 DISTFILES= vnc-3.3.3r1_unixsrc.tgz \
12 MAINTAINER= packages@netbsd.org
13 HOMEPAGE= http://www.uk.research.att.com/vnc/
17 # Is this for real? The code was developed in the UK,
18 # but the DES parts came from the USA in the first place.
19 RESTRICTED= Contains cryptographic software
21 WRKSRC= ${WRKDIR}/vnc_unixsrc
24 NO_INSTALL_MANPAGES= yes
28 # We have to frob a few things, and we want our own permissions, so it's easier
29 # to do the install ourselves.
31 ${INSTALL_PROGRAM} ${WRKSRC}/Xvnc/programs/Xserver/Xvnc ${PREFIX}/bin/Xvnc
32 ${INSTALL_PROGRAM} ${WRKSRC}/vncviewer/vncviewer ${PREFIX}/bin/vncviewer
33 ${INSTALL_PROGRAM} ${WRKSRC}/vncpasswd/vncpasswd ${PREFIX}/bin/vncpasswd
34 ${SED} -e 's|/usr/local/vnc/classes|${X11BASE}/share/vnc/classes|g' \
35 -e 's|/usr/bin/perl|${LOCALBASE}/bin/perl|g' \
36 < ${WRKSRC}/vncserver \
37 > ${WRKSRC}/vncserver.local
38 ${INSTALL_SCRIPT} ${WRKSRC}/vncserver.local ${PREFIX}/bin/vncserver
39 ${MKDIR} ${PREFIX}/share/doc/vnc
40 cd ${WRKDIR}/vnc_docs; \
41 ${INSTALL_DATA} *.GIF *.css *.gif *.jpg *.htm *.html *.pdf *.xml \
42 ${PREFIX}/share/doc/vnc
44 .include "../../mk/bsd.pkg.mk"