pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/vncviewer Push the distfile into MASTER_SITE_LOCAL...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dd3fab0d6a9a
branches:  trunk
changeset: 555305:dd3fab0d6a9a
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Feb 27 13:05:20 2009 +0000

description:
Push the distfile into MASTER_SITE_LOCAL. It is GPL and mirrored anyway,
so just avoid the trouble with the main site. Addresses PR 40767.

diffstat:

 net/vncviewer/Makefile |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (30 lines):

diff -r f0a114f3cc53 -r dd3fab0d6a9a net/vncviewer/Makefile
--- a/net/vncviewer/Makefile    Fri Feb 27 12:46:54 2009 +0000
+++ b/net/vncviewer/Makefile    Fri Feb 27 13:05:20 2009 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.24 2008/06/20 01:09:32 joerg Exp $
+# $NetBSD: Makefile,v 1.25 2009/02/27 13:05:20 joerg Exp $
 
 DISTNAME=              vnc-4_1_2-unixsrc
 PKGNAME=               vncviewer-4.1.2
 PKGREVISION=           1
 CATEGORIES=            net x11
-MASTER_SITES=          http://www.realvnc.com/dist/
+MASTER_SITES=          ${MASTER_SITE_LOCAL}
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=              http://www.realvnc.com/
@@ -24,13 +24,6 @@
 
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
-# The distfile listed above is bogus, there is no direct link to download the
-# file, so a special command must be used.  I lifted this from FreeBSD Ports.
-DISTURL=http://www.realvnc.com/cgi-bin/download.cgi?product=free4/src/unix&acceptLicense=1&filever=4.1.2&filetype=tar_gz&haveDetails=1
-pre-fetch:
-       ${TEST} -f ${DISTDIR}/${DISTNAME}.tar.gz || \
-        (cd ${DISTDIR} && ${FETCH_CMD} -o ${DISTNAME}.tar.gz ${DISTURL:Q})
-
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/vncviewer/vncviewer ${DESTDIR}${PREFIX}/bin/vncviewer
        ${INSTALL_MAN} ${WRKSRC}/vncviewer/vncviewer.man \



Home | Main Index | Thread Index | Old Index