blob: 0ee1f7d99406a0613bf9c605787878b42a6ac252 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# $NetBSD: Makefile,v 1.7 2003/03/29 12:42:05 jmmv Exp $
#
DISTNAME= tightvnc-1.2.6
WRKSRC= ${WRKDIR}/vnc_unixsrc
CATEGORIES= net x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vnc-tight/} \
ftp://ftp.uk.research.att.com/pub/vnc/dist/
DISTFILES= tightvnc-1.2.6_unixsrc.tar.bz2 \
vnc-3.3.2r2_doc.tgz
MAINTAINER= mycroft@netbsd.org
HOMEPAGE= http://www.tightvnc.com/
COMMENT= Display X and Win32 desktops on remote X/Win32/Java displays
CONFLICTS= vnc-[0-9]*
CRYPTO= yes
USE_BUILDLINK2= yes
USE_IMAKE= yes
NO_INSTALL_MANPAGES= yes
USE_PERL5= yes
ALL_TARGET= World
# We have to frob a few things, and we want our own permissions, so it's easier
# to do the install ourselves.
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/Xvnc/programs/Xserver/Xvnc \
${PREFIX}/bin/Xvnc
${INSTALL_MAN} ${WRKSRC}/Xvnc/programs/Xserver/Xvnc.man \
${PREFIX}/man/man1/Xvnc.1
${INSTALL_PROGRAM} ${WRKSRC}/vncconnect/vncconnect \
${PREFIX}/bin/vncconnect
${INSTALL_MAN} ${WRKSRC}/vncconnect/vncconnect.man \
${PREFIX}/man/man1/vncconnect.1
${INSTALL_PROGRAM} ${WRKSRC}/vncpasswd/vncpasswd \
${PREFIX}/bin/vncpasswd
${INSTALL_MAN} ${WRKSRC}/vncpasswd/vncpasswd.man \
${PREFIX}/man/man1/vncpasswd.1
${SED} -e 's|/usr/local/vnc/classes|${X11PREFIX}/share/vnc/classes|g' \
-e 's|/usr/bin/perl|${PERL5}|g' \
< ${WRKSRC}/vncserver \
> ${WRKSRC}/vncserver.local
${INSTALL_SCRIPT} ${WRKSRC}/vncserver.local ${PREFIX}/bin/vncserver
${INSTALL_MAN} ${WRKSRC}/vncserver.man \
${PREFIX}/man/man1/vncserver.1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vnc
cd ${WRKDIR} && \
${INSTALL_DATA} *.GIF *.css *.gif *.jpg *.htm *.html *.pdf \
${PREFIX}/share/doc/vnc
.include "../../devel/zlib/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|