summaryrefslogtreecommitdiff
path: root/net/vnc/Makefile
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-06-09 16:36:39 +0000
committeragc <agc@pkgsrc.org>1998-06-09 16:36:39 +0000
commit5f73810da98cf7028a48d943fd2e5a89582df86f (patch)
treea7b6c656231ef41b582c7d72d6fb462233f6b2d0 /net/vnc/Makefile
parent30f402725f1c5c717c768828ac82cab084afba9a (diff)
downloadpkgsrc-5f73810da98cf7028a48d943fd2e5a89582df86f.tar.gz
Initial import of vnc 3.3.1, which displays X11 and Win32 desktops on
remote X11/Win32/Java displays, into the NetBSD packages collection. Taken from the FreeBSD port, but modified slightly to find correct paths.
Diffstat (limited to 'net/vnc/Makefile')
-rw-r--r--net/vnc/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/net/vnc/Makefile b/net/vnc/Makefile
new file mode 100644
index 00000000000..1fe6259f6d4
--- /dev/null
+++ b/net/vnc/Makefile
@@ -0,0 +1,45 @@
+# FreeBSD Id: Makefile,v 1.2 1998/03/19 01:54:59 msmith Exp
+#
+
+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
+IGNOREFILES= ${DISTFILES}
+
+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|${X11BASE}/share/vnc/classes|g' \
+ -e 's|/usr/local/bin/perl|${LOCALBASE}/bin/perl|g' \
+ < ${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 "../../mk/bsd.pkg.mk"