summaryrefslogtreecommitdiff
path: root/net/vnc/Makefile
diff options
context:
space:
mode:
authortls <tls@pkgsrc.org>1999-02-17 18:50:49 +0000
committertls <tls@pkgsrc.org>1999-02-17 18:50:49 +0000
commit8d1331729437d17bfcdc437431ab1c35236765d7 (patch)
treef46a063aaacdd2a591ffa2df71d62f745854dcc8 /net/vnc/Makefile
parenta38fd0e194e63cd033a91b32a9eeffa835f2c3ee (diff)
downloadpkgsrc-8d1331729437d17bfcdc437431ab1c35236765d7.tar.gz
Update to VNC 3.3.2r3, fix distribution site, adjust for new distribution tar file layout
Diffstat (limited to 'net/vnc/Makefile')
-rw-r--r--net/vnc/Makefile34
1 files changed, 16 insertions, 18 deletions
diff --git a/net/vnc/Makefile b/net/vnc/Makefile
index 9f8efb33e3a..ad88533c47a 100644
--- a/net/vnc/Makefile
+++ b/net/vnc/Makefile
@@ -1,28 +1,26 @@
-# $NetBSD: Makefile,v 1.6 1998/08/20 15:17:21 tsarna Exp $
+# $NetBSD: Makefile,v 1.7 1999/02/17 18:50:49 tls Exp $
# FreeBSD Id: Makefile,v 1.2 1998/03/19 01:54:59 msmith Exp
#
-DISTNAME= vnc-3.3.2r2_unixsrc
-PKGNAME= vnc-3.3.2
+DISTNAME= vnc-3.3.2r3_unixsrc
+PKGNAME= vnc-3.3.2r3
CATEGORIES= net x11
-MASTER_SITES= http://www.orl.co.uk/vnc/dist/
-DISTFILES= vnc-3.3.2r2_unixsrc.tgz \
- vnc-3.3.2_doc.tgz
+MASTER_SITES= http://www.uk.research.att.com/vnc/dist/
+DISTFILES= vnc-3.3.2r3_unixsrc.tgz \
+ vnc-3.3.2r3_doc.tgz
MAINTAINER= packages@netbsd.org
-HOMEPAGE= http://www.orl.co.uk/vnc/
+HOMEPAGE= http://www.uk.research.att.com/vnc/
IGNOREFILES= ${DISTFILES}
USE_PERL5= yes
-EXTRACT_ONLY= vnc-3.3.2r2_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
+WRKSRC= ${WRKDIR}/vnc_unixsrc
USE_IMAKE= yes
NO_INSTALL_MANPAGES= yes
@@ -32,18 +30,18 @@ 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
+ ${INSTALL_PROGRAM} ${WRKSRC}/Xvnc/programs/Xserver/Xvnc ${PREFIX}/bin/Xvnc
+ ${INSTALL_PROGRAM} ${WRKSRC}/vncviewer/vncviewer ${PREFIX}/bin/vncviewer
+ ${INSTALL_PROGRAM} ${WRKSRC}/vncpasswd/vncpasswd ${PREFIX}/bin/vncpasswd
${SED} -e 's|/usr/local/vnc/classes|${X11BASE}/share/vnc/classes|g' \
-e 's|/usr/bin/perl|${LOCALBASE}/bin/perl|g' \
- < ${WRKDIR}/vncserver \
- > ${WRKDIR}/vncserver.local
- ${INSTALL_SCRIPT} ${WRKDIR}/vncserver.local ${PREFIX}/bin/vncserver
+ < ${WRKSRC}/vncserver \
+ > ${WRKSRC}/vncserver.local
+ ${INSTALL_SCRIPT} ${WRKSRC}/vncserver.local ${PREFIX}/bin/vncserver
# The documentation comes with bogus ownerships; this is a little leaky security-wise
${MKDIR} ${PREFIX}/share/doc/vnc
- tar --exclude '*~' --exclude .lastinstall --exclude makefile \
- -xzf ${DISTDIR}/vnc-3.3.2_doc.tgz -C ${PREFIX}/share/doc/vnc
+ (cd ${WRKDIR}/vnc_docs ; tar --exclude '*~' --exclude .lastinstall \
+ --exclude makefile -cf - . ) | tar -xf - -C ${PREFIX}/share/doc/vnc
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/vnc
.include "../../mk/bsd.pkg.mk"