pkgsrc/net/tightvnc/Makefile

53 lines
1.6 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.13 2004/10/03 00:18:00 tv Exp $
2001-09-23 03:34:29 +02:00
#
DISTNAME= tightvnc-1.2.9
PKGREVISION= 1
2001-09-23 03:34:29 +02:00
CATEGORIES= net x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vnc-tight/}
DISTFILES= ${DISTNAME}_unixsrc.tar.bz2
2001-09-23 03:34:29 +02:00
2003-07-18 00:50:55 +02:00
MAINTAINER= mycroft@NetBSD.org
2001-09-23 03:34:29 +02:00
HOMEPAGE= http://www.tightvnc.com/
COMMENT= Display X and Win32 desktops on remote X/Win32/Java displays
CONFLICTS= vnc-[0-9]*
2001-09-23 03:34:29 +02:00
WRKSRC= ${WRKDIR}/vnc_unixsrc
2001-09-23 03:34:29 +02:00
CRYPTO= yes
2004-05-11 06:22:48 +02:00
USE_BUILDLINK3= yes
2001-09-23 03:34:29 +02:00
USE_IMAKE= yes
2002-10-09 23:14:40 +02:00
NO_INSTALL_MANPAGES= yes
2001-09-23 03:34:29 +02:00
USE_PERL5= yes
USE_GNU_TOOLS+= make
2001-09-23 03:34:29 +02:00
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
2001-09-23 03:34:29 +02:00
${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
2001-09-23 03:34:29 +02:00
2004-05-11 06:22:48 +02:00
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
2001-09-23 03:34:29 +02:00
.include "../../mk/bsd.pkg.mk"