summaryrefslogtreecommitdiff
path: root/net/vnc/Makefile
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1998-02-26 02:56:00 +0000
committerMike Smith <msmith@FreeBSD.org>1998-02-26 02:56:00 +0000
commitbc3719f81be74169e888236017097a8973ebf011 (patch)
tree26fe3aa491c93b99383d6c37bc8b69f04eae5612 /net/vnc/Makefile
parentSort PLIST and remove a bogon regarding ogonkify.info which doesn't (diff)
This is the Olivetti and Oracle Research Labs Virtual Network Computing
client and server for Unix. VNC provides a virtual X server which can display remotely on other X systems, as well as Win32 clients and any Java capable browser. (The last requires the companion vncjava port.) See http://www.orl.co.uk/vnc/ for more details.
Notes
Notes: svn path=/head/; revision=9934
Diffstat (limited to 'net/vnc/Makefile')
-rw-r--r--net/vnc/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/net/vnc/Makefile b/net/vnc/Makefile
new file mode 100644
index 000000000000..46b86a819601
--- /dev/null
+++ b/net/vnc/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: vnc
+# Version required: 3.3.1
+# Date created: 24 February 1998
+# Whom: msmith
+#
+# $Id$
+#
+
+DISTNAME= vnc-3.3.1_unixsrc
+PKGNAME= vnc-3.1.1
+CATEGORIES= net
+MASTER_SITES= http://www.orl.co.uk/vnc/dist/
+DISTFILES= vnc-3.3.1_unixsrc.tgz \
+ vnc-3.3.1_doc.tgz
+
+MAINTAINER= msmith@FreeBSD.ORG
+
+USE_PERL5= YES
+
+EXTRACT_ONLY= vnc-3.3.1_unixsrc.tgz
+
+# Is this for real? The code was developed in the UK,
+# but the DES parts came from the USA in the first place.
+RESTRICTED= Contains cryptographic software
+
+NO_WRKSUBDIR= YES
+
+USE_IMAKE= YES
+NO_INSTALL_MANPAGES= YES
+
+ALL_TARGET= world
+
+# 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} ${WRKDIR}/Xvnc/programs/Xserver/Xvnc ${PREFIX}/bin/Xvnc
+ ${INSTALL_PROGRAM} ${WRKDIR}/vncviewer/vncviewer ${PREFIX}/bin/vncviewer
+ ${INSTALL_PROGRAM} ${WRKDIR}/vncpasswd/vncpasswd ${PREFIX}/bin/vncpasswd
+ ${SED} -e s%/usr/local/vnc/classes%${PREFIX}/share/vnc/classes% \
+ < ${WRKDIR}/vncserver \
+ > ${WRKDIR}/vncserver.local
+ ${INSTALL_SCRIPT} ${WRKDIR}/vncserver.local ${PREFIX}/bin/vncserver
+# The documentation comes with bogus ownerships; this is a little leaky security-wise
+ ${MKDIR} ${PREFIX}/share/doc/vnc
+ tar -C ${PREFIX}/share/doc/vnc -xzf ${DISTDIR}/vnc-3.3.1_doc.tgz
+ chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/vnc
+
+.include <bsd.port.mk>