blob: 2cd98fd13d41cc46df9dbd3bab6982501d3760a9 (
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
|
# $NetBSD: Makefile,v 1.22 2008/06/07 17:28:11 riz Exp $
DISTNAME= vnc-4_1_2-unixsrc
PKGNAME= vncviewer-4.1.2
PKGREVISION= 1
CATEGORIES= net x11
MASTER_SITES= http://www.realvnc.com/dist/
MAINTAINER= packages@NetBSD.org
HOMEPAGE= http://www.realvnc.com/
COMMENT= Viewer for remote X and Win32 VNC servers
CONFLICTS= tightvncviewer-[0-9]*
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
CRYPTO= yes
NO_INSTALL_MANPAGES= yes
USE_LANGUAGES= c c++
USE_X11BASE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-installed-zlib
# The distfile listed above is bogus, there is no direct link to download the
# file, so a special command must be used. I lifted this from FreeBSD Ports.
DISTURL=http://www.realvnc.com/cgi-bin/download.cgi?product=free4/src/unix&acceptLicense=1&filever=4.1.2&filetype=tar_gz&haveDetails=1
pre-fetch:
${TEST} -f ${DISTDIR}/${DISTNAME}.tar.gz || \
(cd ${DISTDIR} && ${FETCH_CMD} -o ${DISTNAME}.tar.gz ${DISTURL:Q})
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vncviewer/vncviewer ${PREFIX}/bin/vncviewer
${INSTALL_MAN} ${WRKSRC}/vncviewer/vncviewer.man \
${PREFIX}/${PKGMANDIR}/man1/vncviewer.1
${INSTALL_PROGRAM} ${WRKSRC}/vncpasswd/vncpasswd ${PREFIX}/bin/vncpasswd
${INSTALL_MAN} ${WRKSRC}/vncpasswd/vncpasswd.man \
${PREFIX}/${PKGMANDIR}/man1/vncpasswd.1
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../devel/zlib/buildlink3.mk"
.include "../../x11/inputproto/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/libXtst/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|