2001-11-20 20:29:48 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2001/11/21 01:29:48 matt Exp $
|
1999-04-18 17:09:53 -04:00
|
|
|
# $FreeBSD: Makefile,v 1.10 1999/02/18 16:05:47 steve Exp $
|
|
|
|
|
2001-06-01 19:44:47 -04:00
|
|
|
COMMENT= "cross-platform remote desktop access"
|
|
|
|
COMMENT-viewer= "client for cross-platform remote desktop access"
|
2001-05-06 00:59:54 -04:00
|
|
|
|
2001-05-22 15:30:16 -04:00
|
|
|
VERSION= 3.3.3r2
|
|
|
|
PKGNAME= vnc-${VERSION}
|
2001-06-01 19:44:47 -04:00
|
|
|
PKGNAME-viewer= vnc-viewer-${VERSION}
|
2001-05-22 15:30:16 -04:00
|
|
|
DISTNAME= ${PKGNAME}_unixsrc
|
1999-04-18 17:09:53 -04:00
|
|
|
CATEGORIES= net
|
2001-11-20 20:29:48 -05:00
|
|
|
NEED_VERSION= 1.498
|
1999-04-18 17:09:53 -04:00
|
|
|
|
2001-05-22 15:30:16 -04:00
|
|
|
HOMEPAGE= http://www.uk.research.att.com/vnc/
|
|
|
|
MAINTAINER= Matt Behrens <matt@openbsd.org>
|
1999-04-18 17:09:53 -04:00
|
|
|
|
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
|
|
|
|
2001-05-22 15:30:16 -04:00
|
|
|
MASTER_SITES= http://www.uk.research.att.com/vnc/dist/
|
|
|
|
DISTFILES= ${DISTNAME}.tgz ${IGNOREFILES}
|
|
|
|
IGNOREFILES= vnc-latest_doc.tgz
|
1999-04-18 17:09:53 -04:00
|
|
|
|
2001-06-01 19:44:47 -04:00
|
|
|
MULTI_PACKAGES= -viewer
|
|
|
|
SUBPACKAGE?=
|
|
|
|
|
2001-05-22 15:30:16 -04:00
|
|
|
CONFIGURE_STYLE=imake
|
1999-04-18 17:09:53 -04:00
|
|
|
|
2001-05-22 15:30:16 -04:00
|
|
|
WRKDIST= ${WRKDIR}/vnc_unixsrc
|
1999-04-18 17:09:53 -04:00
|
|
|
ALL_TARGET= World
|
|
|
|
|
2001-11-20 20:29:48 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
1999-04-18 17:09:53 -04:00
|
|
|
post-install:
|
2001-05-22 15:30:16 -04: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
|
2001-06-01 19:44:47 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vncconnect/vncconnect \
|
|
|
|
${PREFIX}/bin/vncconnect
|
2001-05-22 15:30:16 -04: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
|
2000-03-28 05:38:54 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vnc
|
2001-05-22 15:30:16 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/vnc_docs/* ${PREFIX}/share/doc/vnc/
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/vnc/classes
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/classes/* ${PREFIX}/share/vnc/classes/
|
1999-04-18 17:09:53 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
2001-05-22 15:30:16 -04:00
|
|
|
|