1998-02-26 02:56:00 +00:00
|
|
|
# New ports collection makefile for: vnc
|
|
|
|
# Date created: 24 February 1998
|
|
|
|
# Whom: msmith
|
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1998-02-26 02:56:00 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= vnc
|
2000-11-03 00:45:18 +00:00
|
|
|
PORTVERSION= 3.3.3.2
|
1998-11-21 07:27:41 +00:00
|
|
|
CATEGORIES= net
|
2000-11-03 00:45:18 +00:00
|
|
|
MASTER_SITES= http://www.uk.research.att.com/vnc/dist/ \
|
|
|
|
ftp://ftp.uk.research.att.com/pub/vnc/dist/
|
|
|
|
DISTFILES= vnc-3.3.3r2_unixsrc.tgz \
|
1999-09-10 21:15:36 +00:00
|
|
|
vnc-latest_doc.tgz
|
2000-11-03 00:45:18 +00:00
|
|
|
EXTRACT_ONLY= vnc-3.3.3r2_unixsrc.tgz
|
1998-02-26 02:56:00 +00:00
|
|
|
|
2000-08-23 20:07:00 +00:00
|
|
|
MAINTAINER= bmah@freebsd.org
|
1998-02-26 02:56:00 +00:00
|
|
|
|
|
|
|
USE_PERL5= YES
|
2000-02-17 00:45:48 +00:00
|
|
|
IGNOREFILES= vnc-latest_doc.tgz
|
1999-01-07 06:35:14 +00:00
|
|
|
WRKSRC= ${WRKDIR}/vnc_unixsrc
|
1998-02-26 02:56:00 +00:00
|
|
|
USE_IMAKE= YES
|
|
|
|
NO_INSTALL_MANPAGES= YES
|
1998-07-20 17:48:49 +00:00
|
|
|
ALL_TARGET= World
|
1998-02-26 02:56:00 +00: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-01-07 06:35:14 +00:00
|
|
|
${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
|
2000-11-03 00:45:18 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vncconnect/vncconnect ${PREFIX}/bin/vncconnect
|
1998-10-10 02:14:26 +00:00
|
|
|
${SED} -e s%/usr/local/vnc/classes%${PREFIX}/share/vnc/classes% \
|
|
|
|
-e s%^\#!/usr/bin/perl%\#!${PERL}% \
|
1999-01-07 06:35:14 +00:00
|
|
|
< ${WRKSRC}/vncserver \
|
|
|
|
> ${WRKSRC}/vncserver.local
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/vncserver.local ${PREFIX}/bin/vncserver
|
2000-06-27 14:03:18 +00:00
|
|
|
# Go install Java classes
|
|
|
|
${MKDIR} ${PREFIX}/share/vnc
|
|
|
|
${CP} -R ${WRKSRC}/classes ${PREFIX}/share/vnc
|
|
|
|
.if !defined(NOPORTDOCS)
|
2000-06-09 22:14:41 +00:00
|
|
|
# The documentation comes with bogus ownerships; this is a little leaky
|
|
|
|
# security-wise
|
1999-09-10 21:15:36 +00:00
|
|
|
${TAR} -C ${PREFIX}/share/doc -xzf ${DISTDIR}/vnc-latest_doc.tgz
|
2000-06-01 17:39:40 +00:00
|
|
|
(cd ${PREFIX}/share/doc; ${RM} -rf vnc; ${MV} vnc_docs vnc)
|
1999-08-22 19:01:07 +00:00
|
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/vnc
|
2000-06-09 22:14:41 +00:00
|
|
|
# Add to PLIST because VNC developers can't/won't freeze their doc
|
|
|
|
# distfile.
|
|
|
|
(cd ${PREFIX}; ls share/doc/vnc/* >> ${TMPPLIST})
|
|
|
|
${ECHO} '@dirrm share/doc/vnc' >> ${TMPPLIST}
|
2000-06-27 14:03:18 +00:00
|
|
|
.endif
|
1998-02-26 02:56:00 +00:00
|
|
|
.include <bsd.port.mk>
|