mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
b7ba7d441a
- un-quote BROKEN message - s/MACHINE_ARCH/ARCH/ - bump PORTREVISION for CONFLICTS chage PR: ports/108412 [1] Submitted by: Tsurutani Naoki [1]
55 lines
1.5 KiB
Makefile
55 lines
1.5 KiB
Makefile
# New ports collection makefile for: tridiavnc
|
|
# Date created: 14 June 2001
|
|
# Whom: dwcjr
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tridiavnc
|
|
PORTVERSION= 1.4
|
|
PORTREVISION= 3
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR=dwcjr
|
|
DISTNAME= DevVNC_unix
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Display X and Win32 desktops on remote X/Win32/Java displays
|
|
|
|
USE_PERL5= yes
|
|
WRKSRC= ${WRKDIR}/unix/vnc_unixsrc
|
|
USE_IMAKE= yes
|
|
ALL_TARGET= World
|
|
NO_INSTALL_MANPAGES= yes
|
|
XFREE86_HTML_MAN= no
|
|
|
|
CONFLICTS= tightvnc-[0-9]* vnc-[0-9]*
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} != i386
|
|
BROKEN= Does not compile on ${MACHINE_ARCH}
|
|
.endif
|
|
|
|
post-patch:
|
|
.for file in vncviewer/Imakefile Xvnc/config/cf/vnclibs.def Xvnc/config/cf/Imake.tmpl
|
|
@${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/${file}
|
|
.endfor
|
|
@${PERL} -pi -e "s,/usr/local/vnc/classes,${DATADIR}/classes,g ; \
|
|
s,^#!/usr/bin/perl,#!${PERL},g" ${WRKSRC}/vncserver
|
|
|
|
# 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
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vncconnect/vncconnect ${PREFIX}/bin/vncconnect
|
|
${INSTALL_SCRIPT} ${WRKSRC}/vncserver ${PREFIX}/bin/vncserver
|
|
# Go install Java classes
|
|
${MKDIR} ${PREFIX}/share/vnc
|
|
${CP} -R ${WRKSRC}/classes ${PREFIX}/share/vnc
|
|
|
|
.include <bsd.port.post.mk>
|