From c7b7aaf0d8ea2099a4fea2cc540867035a4bd282 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Sat, 15 Dec 2001 09:50:48 +0000 Subject: change port name check if vnc exist PR: 32268 Submitted by: Dominic Marks --- net/tightvnc/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'net/tightvnc') diff --git a/net/tightvnc/Makefile b/net/tightvnc/Makefile index 66adab935d31..620dd1cb80a4 100644 --- a/net/tightvnc/Makefile +++ b/net/tightvnc/Makefile @@ -1,17 +1,17 @@ # ex:ts=8 -# New ports collection makefile for: vnc-tight +# New ports collection makefile for: tightvnc # Date created: Nov 24, 2001 # Whom: ijliao # # $FreeBSD$ # -PORTNAME= vnc-tight +PORTNAME= tightvnc PORTVERSION= 1.2.2 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -DISTNAME= tightvnc-${PORTVERSION}_unixsrc +DISTNAME= ${PORTNAME}-${PORTVERSION}_unixsrc MAINTAINER= ports@FreeBSD.org @@ -23,6 +23,10 @@ USE_IMAKE= yes ALL_TARGET= World NO_INSTALL_MANPAGES= yes +.if exists(${X11BASE}/bin/Xvnc) +IGNORE= "vnc has already been installed, please uninstall it first." +.endif + post-patch: .for file in vncviewer/Imakefile Xvnc/config/cf/vnclibs.def @${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/${file} -- cgit v1.2.3