2002-08-21 04:12:15 +02:00
|
|
|
# $NetBSD: Makefile,v 1.25 2002/08/21 02:12:15 grant Exp $
|
1998-06-09 18:36:39 +02:00
|
|
|
# FreeBSD Id: Makefile,v 1.2 1998/03/19 01:54:59 msmith Exp
|
|
|
|
#
|
|
|
|
|
2000-11-13 11:26:16 +01:00
|
|
|
DISTNAME= vnc-3.3.3r2
|
|
|
|
PKGNAME= vnc-3.3.3.2
|
2002-04-25 06:33:46 +02:00
|
|
|
PKGREVISION= 1
|
1998-06-10 09:47:57 +02:00
|
|
|
CATEGORIES= net x11
|
2000-12-17 03:32:18 +01:00
|
|
|
MASTER_SITES= ftp://ftp.uk.research.att.com/pub/vnc/dist/
|
2000-11-13 11:26:16 +01:00
|
|
|
DISTFILES= vnc-3.3.3r2_unixsrc.tgz \
|
2000-12-16 07:31:49 +01:00
|
|
|
vnc-3.3.2r2_doc.tgz
|
1998-06-09 18:36:39 +02:00
|
|
|
|
2002-04-25 06:33:46 +02:00
|
|
|
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
|
|
|
|
PATCHFILES= vnc-3.3.3r2-v6-20010421.diff.gz
|
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
2000-11-13 11:26:16 +01:00
|
|
|
MAINTAINER= abs@netbsd.org
|
1999-02-17 19:50:49 +01:00
|
|
|
HOMEPAGE= http://www.uk.research.att.com/vnc/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Display X and Win32 desktops on remote X/Win32/Java displays
|
1998-06-09 18:36:39 +02:00
|
|
|
|
2001-09-28 01:17:41 +02:00
|
|
|
DEPENDS+= vncviewer-[0-9]*:../../net/vncviewer
|
2000-11-10 17:57:24 +01:00
|
|
|
|
Reorganize crypto handling, as discussed on tech-pkg. Remove all
RESTRICTED= variables that were predicated on former U.S. export
regulations. Add CRYPTO=, as necessary, so it's still possible to
exclude all crypto packages from a build by setting MKCRYPTO=no
(but "lintpkgsrc -R" will no longer catch them).
Specifically,
- - All packages which set USE_SSL just lose their RESTRICTED
variable, since MKCRYPTO responds to USE_SSL directly.
- - realplayer7 and ns-flash keep their RESTRICTED, which is based
on license terms, but also gain the CRYPTO variable.
- - srp-client is now marked broken, since the distfile is evidently
no longer available. On this, we're no worse off than before.
[We haven't been mirroring the distfile, or testing the build!]
- - isakmpd gets CRYPTO for RESTRICTED, but remains broken.
- - crack loses all restrictions, as it does not evidently empower
a user to utilize strong encryption (working definition: ability
to encode a message that requires a secret key plus big number
arithmetic to decode).
2000-09-09 21:40:14 +02:00
|
|
|
CRYPTO= yes
|
|
|
|
NO_INSTALL_MANPAGES= yes
|
|
|
|
USE_IMAKE= yes
|
|
|
|
USE_PERL5= yes
|
2002-08-21 04:12:15 +02:00
|
|
|
BUILD_DEFS+= USE_INET6
|
1998-06-09 18:36:39 +02:00
|
|
|
|
1999-02-17 19:50:49 +01:00
|
|
|
WRKSRC= ${WRKDIR}/vnc_unixsrc
|
1998-06-09 18:36:39 +02:00
|
|
|
|
2000-11-10 17:57:24 +01:00
|
|
|
ALL_TARGET= World
|
1998-06-09 18:36:39 +02:00
|
|
|
|
|
|
|
# We have to frob a few things, and we want our own permissions, so it's easier
|
|
|
|
# to do the install ourselves.
|
|
|
|
post-install:
|
1999-02-17 19:50:49 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Xvnc/programs/Xserver/Xvnc ${PREFIX}/bin/Xvnc
|
2000-11-13 11:26:16 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vncconnect/vncconnect ${PREFIX}/bin/vncconnect
|
1999-02-17 19:50:49 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vncpasswd/vncpasswd ${PREFIX}/bin/vncpasswd
|
2000-07-11 12:00:39 +02:00
|
|
|
${SED} -e 's|/usr/local/vnc/classes|${X11PREFIX}/share/vnc/classes|g' \
|
2000-08-28 11:14:50 +02:00
|
|
|
-e 's|/usr/bin/perl|${PERL5}|g' \
|
1999-02-17 19:50:49 +01:00
|
|
|
< ${WRKSRC}/vncserver \
|
|
|
|
> ${WRKSRC}/vncserver.local
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/vncserver.local ${PREFIX}/bin/vncserver
|
2001-02-25 05:17:35 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vnc
|
2000-12-16 07:31:49 +01:00
|
|
|
cd ${WRKDIR}; \
|
2000-12-19 11:30:23 +01:00
|
|
|
${INSTALL_DATA} *.GIF *.css *.gif *.jpg *.htm *.html *.pdf \
|
1999-09-04 12:35:59 +02:00
|
|
|
${PREFIX}/share/doc/vnc
|
1998-06-09 18:36:39 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|