summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-15 09:50:48 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-15 09:50:48 +0000
commitc7b7aaf0d8ea2099a4fea2cc540867035a4bd282 (patch)
tree1b0432c0446374f56debe5f9b1304f170a2647e4 /net
parentAdd port graphics/linux_dri, Binary Linux DRI libraries for 3D hardware (diff)
change port name
check if vnc exist PR: 32268 Submitted by: Dominic Marks <dominic_marks@btinternet.com>
Notes
Notes: svn path=/head/; revision=51555
Diffstat (limited to 'net')
-rw-r--r--net/tightvnc/Makefile10
1 files changed, 7 insertions, 3 deletions
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}