1998-02-26 03:56:00 +01:00
|
|
|
# New ports collection makefile for: vnc
|
1998-12-23 02:43:14 +01:00
|
|
|
# Version required: 3.3.2r3
|
1998-02-26 03:56:00 +01:00
|
|
|
# Date created: 24 February 1998
|
|
|
|
# Whom: msmith
|
|
|
|
#
|
1999-02-18 17:05:49 +01:00
|
|
|
# $Id: Makefile,v 1.9 1999/01/07 06:35:14 steve Exp $
|
1998-02-26 03:56:00 +01:00
|
|
|
#
|
|
|
|
|
1998-12-23 02:43:14 +01:00
|
|
|
DISTNAME= vnc-3.3.2r3_unixsrc
|
|
|
|
PKGNAME= vnc-3.3.2r3
|
1998-11-21 08:27:41 +01:00
|
|
|
CATEGORIES= net
|
1999-02-18 17:05:49 +01:00
|
|
|
MASTER_SITES= http://www.uk.research.att.com/vnc/dist/
|
1998-12-23 02:43:14 +01:00
|
|
|
DISTFILES= vnc-3.3.2r3_unixsrc.tgz \
|
1998-07-20 19:48:49 +02:00
|
|
|
vnc-3.3.2_doc.tgz
|
1998-02-26 03:56:00 +01:00
|
|
|
|
1998-07-20 19:48:49 +02:00
|
|
|
MAINTAINER= bmah@ca.sandia.gov
|
1998-02-26 03:56:00 +01:00
|
|
|
|
|
|
|
USE_PERL5= YES
|
|
|
|
|
1998-12-23 02:43:14 +01:00
|
|
|
EXTRACT_ONLY= vnc-3.3.2r3_unixsrc.tgz
|
1998-07-25 14:32:43 +02:00
|
|
|
IGNOREFILES= ${DISTFILES}
|
1998-02-26 03:56:00 +01:00
|
|
|
|
1999-01-07 07:35:14 +01:00
|
|
|
WRKSRC= ${WRKDIR}/vnc_unixsrc
|
1998-02-26 03:56:00 +01:00
|
|
|
|
|
|
|
USE_IMAKE= YES
|
|
|
|
NO_INSTALL_MANPAGES= YES
|
|
|
|
|
1998-07-20 19:48:49 +02:00
|
|
|
ALL_TARGET= World
|
1998-02-26 03:56:00 +01: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 07:35:14 +01: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
|
1998-10-10 04:14:26 +02:00
|
|
|
${SED} -e s%/usr/local/vnc/classes%${PREFIX}/share/vnc/classes% \
|
|
|
|
-e s%^\#!/usr/bin/perl%\#!${PERL}% \
|
1999-01-07 07:35:14 +01:00
|
|
|
< ${WRKSRC}/vncserver \
|
|
|
|
> ${WRKSRC}/vncserver.local
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/vncserver.local ${PREFIX}/bin/vncserver
|
1998-02-26 03:56:00 +01:00
|
|
|
# The documentation comes with bogus ownerships; this is a little leaky security-wise
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/vnc
|
1998-07-20 19:48:49 +02:00
|
|
|
tar -C ${PREFIX}/share/doc/vnc -xzf ${DISTDIR}/vnc-3.3.2_doc.tgz
|
1998-02-26 03:56:00 +01:00
|
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/vnc
|
1998-07-20 19:48:49 +02:00
|
|
|
# Go install Java classes
|
|
|
|
${MKDIR} ${PREFIX}/share/vnc
|
1999-01-07 07:35:14 +01:00
|
|
|
${CP} -R ${WRKSRC}/classes ${PREFIX}/share/vnc
|
1998-02-26 03:56:00 +01:00
|
|
|
.include <bsd.port.mk>
|