2001-05-06 00:59:54 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2001/05/06 05:00:40 lebel Exp $
|
1999-04-18 17:09:53 -04:00
|
|
|
# $FreeBSD: Makefile,v 1.10 1999/02/18 16:05:47 steve Exp $
|
|
|
|
|
2001-05-06 00:59:54 -04:00
|
|
|
COMMENT= "display X & Win32 desktops on remote X/Win32/Java displays"
|
|
|
|
|
1999-04-18 17:09:53 -04:00
|
|
|
DISTNAME= vnc-3.3.2r3_unixsrc
|
|
|
|
PKGNAME= vnc-3.3.2r3
|
|
|
|
CATEGORIES= net
|
2001-05-06 00:59:54 -04:00
|
|
|
NEED_VERSION= 1.402
|
1999-04-18 17:09:53 -04:00
|
|
|
MASTER_SITES= http://www.uk.research.att.com/vnc/dist/
|
|
|
|
DISTFILES= vnc-3.3.2r3_unixsrc.tgz vnc-3.3.2_doc.tgz
|
|
|
|
|
2000-07-16 01:49:12 -04:00
|
|
|
MAINTAINER= ports@openbsd.org
|
1999-04-18 17:09:53 -04:00
|
|
|
|
2000-02-12 03:02:07 -05:00
|
|
|
LICENSE_TYPE= GPL
|
2000-03-28 05:38:54 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
1999-04-18 17:09:53 -04:00
|
|
|
EXTRACT_ONLY= vnc-3.3.2r3_unixsrc.tgz
|
|
|
|
IGNOREFILES= ${DISTFILES}
|
|
|
|
|
2000-02-10 19:37:15 -05:00
|
|
|
WRKDIST= ${WRKDIR}/vnc_unixsrc
|
1999-04-18 17:09:53 -04:00
|
|
|
|
2000-10-22 11:41:23 -04:00
|
|
|
CONFIGURE_STYLE= imake
|
1999-04-18 17:09:53 -04:00
|
|
|
|
|
|
|
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
|
2000-03-28 05:38:54 -05:00
|
|
|
sed -e s%/usr/local/vnc/classes%${TRUEPREFIX}/share/vnc/classes% \
|
1999-04-18 17:09:53 -04:00
|
|
|
< ${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
|
2000-03-28 05:38:54 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vnc
|
1999-04-18 17:09:53 -04:00
|
|
|
tar -C ${PREFIX}/share/doc/vnc -xzf ${DISTDIR}/vnc-3.3.2_doc.tgz
|
|
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/vnc
|
|
|
|
# Go install Java classes
|
2000-03-28 05:38:54 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/vnc
|
2000-02-10 20:09:59 -05:00
|
|
|
cp -R ${WRKSRC}/classes ${PREFIX}/share/vnc
|
1999-04-18 17:09:53 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|