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
|
2003-03-23 07:10:22 +00:00
|
|
|
PORTVERSION= 3.3.7
|
2003-07-04 15:01:16 +00:00
|
|
|
PORTREVISION= 1
|
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
|
|
|
|
2003-01-11 03:09:21 +00:00
|
|
|
MAINTAINER= james@now.ie
|
2003-02-21 13:28:59 +00:00
|
|
|
COMMENT= Display X and Win32 desktops on remote X/Win32/Java displays
|
2001-05-16 14:29:58 +00:00
|
|
|
|
2002-11-24 21:47:12 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2003-02-02 04:28:39 +00:00
|
|
|
# vnc supplied zlib seg. faults if compiled with -O
|
|
|
|
CONFIGURE_ARGS= --with-installed-zlib
|
2002-11-24 21:47:12 +00:00
|
|
|
USE_REINPLACE= yes
|
2002-11-25 18:44:44 +00:00
|
|
|
USE_XLIB= yes
|
2003-01-08 10:28:32 +00:00
|
|
|
USE_XPM= yes
|
|
|
|
|
|
|
|
PLIST= ${WRKDIR}/pkg-plist
|
1998-02-26 02:56:00 +00:00
|
|
|
|
2003-01-08 10:28:32 +00:00
|
|
|
MAN1= vncviewer.1 \
|
2002-11-24 21:47:12 +00:00
|
|
|
vncpasswd.1 \
|
2003-01-08 10:28:32 +00:00
|
|
|
vncconnect.1
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_SERVER)
|
|
|
|
MAN1+= Xvnc.1 \
|
2002-11-24 21:47:12 +00:00
|
|
|
vncserver.1
|
1998-02-26 02:56:00 +00:00
|
|
|
|
2003-07-04 15:01:16 +00:00
|
|
|
RUN_DEPENDS+= xauth:${PORTSDIR}/x11/XFree86-4-clients \
|
|
|
|
${X11BASE}/lib/X11/fonts/misc/6x13-ISO8859-1.pcf.gz:${PORTSDIR}/x11-fonts/XFree86-4-fontDefaultBitmaps
|
|
|
|
|
2003-01-08 10:28:32 +00:00
|
|
|
USE_PERL5_RUN= yes
|
|
|
|
.endif
|
|
|
|
|
2003-07-04 15:01:16 +00:00
|
|
|
pre-build:
|
|
|
|
.if !defined(WITHOUT_SERVER)
|
|
|
|
@${ECHO_MSG} "NOTE:"
|
|
|
|
@${ECHO_MSG} " Use 'make -DWITHOUT_SERVER ...' if you do not wish to"
|
|
|
|
@${ECHO_MSG} " compile/install the VNC server components."
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
.endif
|
|
|
|
|
2002-11-24 21:47:12 +00:00
|
|
|
post-build:
|
2003-01-08 10:28:32 +00:00
|
|
|
.if defined(WITHOUT_SERVER)
|
|
|
|
@${ECHO_MSG} "Skipping build of VNC server."
|
|
|
|
.else
|
2002-11-24 21:47:12 +00:00
|
|
|
@cd ${WRKSRC}/Xvnc && make World
|
2003-01-08 10:28:32 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@${RM} -f ${PLIST}
|
|
|
|
@${TOUCH} -f ${PLIST}
|
|
|
|
.if !defined(WITHOUT_SERVER)
|
|
|
|
@${ECHO_CMD} bin/Xvnc >> ${PLIST}
|
|
|
|
@${ECHO_CMD} bin/vncserver >> ${PLIST}
|
|
|
|
@${ECHO_CMD} share/vnc/classes/DesCipher.class >> ${PLIST}
|
|
|
|
@${ECHO_CMD} share/vnc/classes/animatedMemoryImageSource.class >> ${PLIST}
|
|
|
|
@${ECHO_CMD} share/vnc/classes/authenticationPanel.class >> ${PLIST}
|
|
|
|
@${ECHO_CMD} share/vnc/classes/clipboardFrame.class >> ${PLIST}
|
|
|
|
@${ECHO_CMD} share/vnc/classes/index.vnc >> ${PLIST}
|
|
|
|
@${ECHO_CMD} share/vnc/classes/optionsFrame.class >> ${PLIST}
|
|
|
|
@${ECHO_CMD} share/vnc/classes/rfbProto.class >> ${PLIST}
|
|
|
|
@${ECHO_CMD} share/vnc/classes/shared.vnc >> ${PLIST}
|
|
|
|
@${ECHO_CMD} share/vnc/classes/vncCanvas.class >> ${PLIST}
|
|
|
|
@${ECHO_CMD} share/vnc/classes/vncviewer.class >> ${PLIST}
|
|
|
|
@${ECHO_CMD} share/vnc/classes/vncviewer.jar >> ${PLIST}
|
|
|
|
@${ECHO_CMD} @dirrm share/vnc/classes >> ${PLIST}
|
|
|
|
@${ECHO_CMD} @dirrm share/vnc >> ${PLIST}
|
|
|
|
.endif
|
|
|
|
@${ECHO_CMD} bin/vncviewer >> ${PLIST}
|
|
|
|
@${ECHO_CMD} bin/vncpasswd >> ${PLIST}
|
|
|
|
@${ECHO_CMD} bin/vncconnect >> ${PLIST}
|
2002-11-24 21:47:12 +00:00
|
|
|
|
|
|
|
do-install:
|
2003-01-08 10:28:32 +00:00
|
|
|
.if !defined(WITHOUT_SERVER)
|
2002-11-24 21:47:12 +00:00
|
|
|
${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
|
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}/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
|
2003-01-08 10:28:32 +00:00
|
|
|
.endif
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vncviewer/vncviewer ${PREFIX}/bin/vncviewer
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vncpasswd/vncpasswd ${PREFIX}/bin/vncpasswd
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vncconnect/vncconnect ${PREFIX}/bin/vncconnect
|
|
|
|
${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
|
2002-11-24 21:47:12 +00:00
|
|
|
|
1998-02-26 02:56:00 +00:00
|
|
|
.include <bsd.port.mk>
|