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
|
|
|
#
|
|
|
|
|
2001-01-16 17:33:20 +00:00
|
|
|
PORTNAME= vnc
|
2002-11-24 21:47:12 +00:00
|
|
|
PORTVERSION= 3.3.5
|
2001-05-16 14:29:58 +00:00
|
|
|
CATEGORIES= net ipv6
|
2002-11-24 21:47:12 +00:00
|
|
|
MASTER_SITES= http://www.realvnc.com/dist/
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-unixsrc
|
1998-02-26 02:56:00 +00:00
|
|
|
|
2002-11-24 21:47:12 +00:00
|
|
|
MAINTAINER= mchopra@engmail.uwaterloo.ca
|
2001-05-16 14:29:58 +00:00
|
|
|
|
2002-11-24 21:47:12 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_PERL5_RUN= yes
|
|
|
|
USE_REINPLACE= yes
|
2002-11-25 18:44:44 +00:00
|
|
|
USE_XLIB= yes
|
1998-02-26 02:56:00 +00:00
|
|
|
|
2002-11-24 21:47:12 +00:00
|
|
|
MAN1= Xvnc.1 \
|
|
|
|
vncviewer.1 \
|
|
|
|
vncpasswd.1 \
|
|
|
|
vncconnect.1 \
|
|
|
|
vncserver.1
|
1998-02-26 02:56:00 +00:00
|
|
|
|
2002-11-24 21:47:12 +00:00
|
|
|
post-build:
|
|
|
|
@cd ${WRKSRC}/Xvnc && make World
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${REINPLACE_CMD} -e 's|/usr/local/vnc/classes|${PREFIX}/share/vnc/classes|g' \
|
|
|
|
-e 's|^\#!/usr/bin/perl|\#!${PERL}|g' ${WRKSRC}/vncserver
|
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
|
2002-11-24 21:47:12 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/vncserver ${PREFIX}/bin/vncserver
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/Xvnc/programs/Xserver/Xvnc.man ${PREFIX}/man/man1/Xvnc.1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/vncviewer/vncviewer.man ${PREFIX}/man/man1/vncviewer.1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/vncpasswd/vncpasswd.man ${PREFIX}/man/man1/vncpasswd.1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/vncconnect/vncconnect.man ${PREFIX}/man/man1/vncconnect.1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/vncserver.man ${PREFIX}/man/man1/vncserver.1
|
2000-06-27 14:03:18 +00:00
|
|
|
# Go install Java classes
|
|
|
|
${MKDIR} ${PREFIX}/share/vnc
|
|
|
|
${CP} -R ${WRKSRC}/classes ${PREFIX}/share/vnc
|
2002-11-24 21:47:12 +00:00
|
|
|
|
1998-02-26 02:56:00 +00:00
|
|
|
.include <bsd.port.mk>
|