aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-12-15 17:50:48 +0800
committerijliao <ijliao@FreeBSD.org>2001-12-15 17:50:48 +0800
commit2807c3bc08d6b0568e9aae4022efe25a87698082 (patch)
tree28cb236ba229397d559523e023d95265dbe4703a /net
parentcb702a877f8c2cf87638494d7d6e6c86e48ebd41 (diff)
downloadfreebsd-ports-gnome-2807c3bc08d6b0568e9aae4022efe25a87698082.tar.gz
freebsd-ports-gnome-2807c3bc08d6b0568e9aae4022efe25a87698082.tar.zst
freebsd-ports-gnome-2807c3bc08d6b0568e9aae4022efe25a87698082.zip
change port name
check if vnc exist PR: 32268 Submitted by: Dominic Marks <dominic_marks@btinternet.com>
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}