2009-08-09 02:53:09 +02:00
|
|
|
# $NetBSD: Makefile,v 1.45 2009/08/09 00:53:09 smb Exp $
|
1998-06-09 18:36:39 +02:00
|
|
|
|
2000-11-13 11:26:16 +01:00
|
|
|
DISTNAME= vnc-3.3.3r2
|
|
|
|
PKGNAME= vnc-3.3.3.2
|
2009-08-09 02:53:09 +02:00
|
|
|
PKGREVISION= 5
|
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
|
|
|
|
|
2008-06-18 13:12:53 +02:00
|
|
|
MAINTAINER= pkgsrc-users@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
|
|
|
|
2009-04-04 22:44:58 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2001-09-28 01:17:41 +02:00
|
|
|
DEPENDS+= vncviewer-[0-9]*:../../net/vncviewer
|
2000-11-10 17:57:24 +01:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/vnc_unixsrc
|
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
|
2009-04-04 22:44:58 +02:00
|
|
|
USE_TOOLS+= perl:run xauth:run
|
2007-09-08 00:12:10 +02:00
|
|
|
BUILD_DEFS+= IPV6_READY
|
1998-06-09 18:36:39 +02:00
|
|
|
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= World
|
1998-06-09 18:36:39 +02:00
|
|
|
|
2003-01-31 13:16:47 +01:00
|
|
|
MAKE_ENV+= CC=${CC:Q} #for make imake in Xvnc/config/imake
|
2002-10-23 20:16:58 +02:00
|
|
|
|
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.
|
2002-10-23 20:16:58 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2009-04-04 22:44:58 +02:00
|
|
|
SUBST_CLASSES+= paths
|
|
|
|
SUBST_FILES.paths= vncserver
|
|
|
|
SUBST_SED.paths+= -e 's,@X11BASE@,${X11BASE},g'
|
|
|
|
SUBST_STAGE.paths= pre-configure
|
|
|
|
|
|
|
|
INSTALLATION_DIRS= bin share/doc/vnc
|
|
|
|
|
2002-10-23 20:16:58 +02:00
|
|
|
.if ${OPSYS} == "SunOS"
|
2009-04-04 22:44:58 +02:00
|
|
|
SPECIAL_PERMS+= bin/Xvnc ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 2555
|
2002-10-23 20:16:58 +02:00
|
|
|
.endif
|
2009-04-04 22:44:58 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Xvnc/programs/Xserver/Xvnc ${DESTDIR}${PREFIX}/bin/Xvnc
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vncconnect/vncconnect ${DESTDIR}${PREFIX}/bin/vncconnect
|
2005-06-17 06:49:45 +02:00
|
|
|
${SED} -e 's|/usr/local/vnc/classes|${PREFIX}/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
|
2009-04-04 22:44:58 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/vncserver.local ${DESTDIR}${PREFIX}/bin/vncserver
|
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 \
|
2009-04-04 22:44:58 +02:00
|
|
|
${DESTDIR}${PREFIX}/share/doc/vnc
|
1998-06-09 18:36:39 +02:00
|
|
|
|
2007-08-06 16:54:04 +02:00
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
1998-06-09 18:36:39 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|