2006-11-21 05:23:47 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2006/11/21 10:23:47 espie Exp $
|
2001-09-07 20:38:11 -04:00
|
|
|
|
2006-11-21 05:23:47 -05:00
|
|
|
COMMENT-main= "cross-platform remote desktop access"
|
2001-09-07 20:38:11 -04:00
|
|
|
COMMENT-viewer= "client for cross-platform remote desktop access"
|
|
|
|
|
2005-10-07 14:52:58 -04:00
|
|
|
VERSION= 1.2.9
|
2006-11-21 05:23:47 -05:00
|
|
|
PKGNAME-main= tightvnc-${VERSION}p0
|
2004-09-29 16:39:48 -04:00
|
|
|
PKGNAME-viewer= tightvnc-viewer-${VERSION}
|
2005-10-07 14:52:58 -04:00
|
|
|
DISTNAME= tightvnc-${VERSION}_unixsrc
|
2001-09-07 20:38:11 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.tightvnc.org/
|
|
|
|
|
2005-10-07 14:52:58 -04:00
|
|
|
MAINTAINER= Rob Casey <rob@minauros.com>
|
2001-09-07 20:38:11 -04:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-10-07 14:52:58 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vnc-tight/}
|
|
|
|
|
|
|
|
USE_X11= Yes
|
2001-09-07 20:38:11 -04:00
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/vnc_unixsrc
|
|
|
|
|
2006-11-21 05:23:47 -05:00
|
|
|
MULTI_PACKAGES= -main -viewer
|
2001-09-07 20:38:11 -04:00
|
|
|
|
2005-10-07 14:52:58 -04:00
|
|
|
CONFIGURE_STYLE=imake
|
2001-09-07 20:38:11 -04:00
|
|
|
|
2005-10-07 14:52:58 -04:00
|
|
|
ALL_TARGET= World
|
2001-09-07 20:38:11 -04:00
|
|
|
|
2001-11-24 15:19:31 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2006-11-21 05:23:47 -05:00
|
|
|
WANTLIB= X11 Xext c z
|
|
|
|
|
|
|
|
WANTLIB-viewer= ${WANTLIB} ICE SM Xaw Xmu Xp Xpm Xt
|
|
|
|
LIB_DEPENDS-viewer= jpeg.>=62.::graphics/jpeg
|
|
|
|
|
|
|
|
RUN_DEPENDS-main= :tightvnc-viewer-${VERSION}:net/tightvnc,-viewer
|
|
|
|
WANTLIB-main= ${WANTLIB} m
|
2004-09-29 16:39:48 -04:00
|
|
|
|
2005-10-07 14:52:58 -04:00
|
|
|
DOCUMENTATION= vncserver.man vncpasswd/vncpasswd.man vncconnect/vncconnect.man \
|
|
|
|
Xvnc/programs/Xserver/Xvnc.man vncviewer/vncviewer.man
|
2002-04-15 02:55:57 -04:00
|
|
|
|
2004-03-11 13:01:27 -05:00
|
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
|
|
|
PATCH_LIST= patch-* gcc-*
|
|
|
|
.endif
|
|
|
|
|
2001-09-07 20:38:11 -04:00
|
|
|
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
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vncconnect/vncconnect ${PREFIX}/bin/vncconnect
|
|
|
|
sed -e s%/usr/local/vnc/classes%${TRUEPREFIX}/share/vnc/classes% \
|
|
|
|
< ${WRKSRC}/vncserver \
|
|
|
|
> ${WRKSRC}/vncserver.local
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/vncserver.local ${PREFIX}/bin/vncserver
|
2003-11-11 17:08:48 -05:00
|
|
|
|
2001-09-07 20:38:11 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/vnc
|
2005-10-07 14:52:58 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/vnc/classes
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/classes/* ${PREFIX}/share/vnc/classes
|
2002-04-15 02:55:57 -04:00
|
|
|
.for i in ${DOCUMENTATION}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/$i ${PREFIX}/man/man1/${i:T:R}.1
|
|
|
|
.endfor
|
2001-09-07 20:38:11 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|