1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/net/vnc/Makefile
Chris Piazza 4382ff0b62 Update to version 3.3.3
PR:		13664
Submitted by:	maintainer
1999-09-10 21:15:36 +00:00

49 lines
1.5 KiB
Makefile

# New ports collection makefile for: vnc
# Version required: 3.3.2r3
# Date created: 24 February 1998
# Whom: msmith
#
# $FreeBSD$
#
DISTNAME= vnc-3.3.3_unixsrc
PKGNAME= vnc-3.3.3
CATEGORIES= net
MASTER_SITES= http://www.uk.research.att.com/vnc/dist/
DISTFILES= vnc-3.3.3_unixsrc.tgz \
vnc-latest_doc.tgz
MAINTAINER= bmah@ca.sandia.gov
USE_PERL5= YES
EXTRACT_ONLY= vnc-3.3.3_unixsrc.tgz
IGNOREFILES= ${DISTFILES}
WRKSRC= ${WRKDIR}/vnc_unixsrc
USE_IMAKE= YES
NO_INSTALL_MANPAGES= YES
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_PROGRAM} ${WRKSRC}/vncviewer/vncviewer ${PREFIX}/bin/vncviewer
${INSTALL_PROGRAM} ${WRKSRC}/vncpasswd/vncpasswd ${PREFIX}/bin/vncpasswd
${SED} -e s%/usr/local/vnc/classes%${PREFIX}/share/vnc/classes% \
-e s%^\#!/usr/bin/perl%\#!${PERL}% \
< ${WRKSRC}/vncserver \
> ${WRKSRC}/vncserver.local
${INSTALL_SCRIPT} ${WRKSRC}/vncserver.local ${PREFIX}/bin/vncserver
# The documentation comes with bogus ownerships; this is a little leaky security-wise
${TAR} -C ${PREFIX}/share/doc -xzf ${DISTDIR}/vnc-latest_doc.tgz
(cd ${PREFIX}/share/doc; ${MV} vnc_docs vnc)
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/vnc
# Go install Java classes
${MKDIR} ${PREFIX}/share/vnc
${CP} -R ${WRKSRC}/classes ${PREFIX}/share/vnc
.include <bsd.port.mk>