pkgsrc/net/tightvnc/Makefile
jlam 3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00

49 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.20 2005/07/16 01:19:17 jlam Exp $
#
DISTNAME= tightvnc-1.2.9
PKGREVISION= 1
CATEGORIES= net x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vnc-tight/}
DISTFILES= ${DISTNAME}_unixsrc.tar.bz2
MAINTAINER= riz@NetBSD.org
HOMEPAGE= http://www.tightvnc.com/
COMMENT= Display X and Win32 desktops on remote X/Win32/Java displays
CONFLICTS= vnc-[0-9]*
WRKSRC= ${WRKDIR}/vnc_unixsrc
CRYPTO= yes
USE_IMAKE= yes
USE_TOOLS+= perl:run
NO_INSTALL_MANPAGES= yes
BUILD_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|${PREFIX}/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
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"