From a5d23f9905dd69aa01c286134fc7c485caad7c5b Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Wed, 4 Oct 1995 15:26:17 +0000 Subject: Append "chipmunk/" to MASTER_SITE_OVERRIDE, if set. Also, add ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/chipmunk/ to MASTER_SITES, in case the real master site is unavailable. This is admittedly ugly, but a fix to bsd.port.mk to handle these cases is not trivial. --- cad/chipmunk/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/cad/chipmunk/Makefile b/cad/chipmunk/Makefile index 08d08acb5cbc..6d7bf3c5750d 100644 --- a/cad/chipmunk/Makefile +++ b/cad/chipmunk/Makefile @@ -3,12 +3,13 @@ # Date created: 29 July 1995 # Whom: janek@gaja.ipan.lublin.pl # -# $Id$ +# $Id: Makefile,v 1.1.1.1 1995/08/25 10:04:31 asami Exp $ # DISTNAME= chipmunk-5.10 CATEGORIES+= cad -MASTER_SITES= ftp://ftp.ifi.uio.no/pub/chipmunk/ +MASTER_SITES= ftp://ftp.ifi.uio.no/pub/chipmunk/ \ + ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/chipmunk/ DISTFILES= psys-1.10.tar.Z log-5.10.tar.Z netcmpbeta.tar.Z \ mosisbeta.tar.Z wolbeta.tar.Z wolcompbeta.tar.Z \ untilbeta.tar.Z viewbeta.tar.Z Makefile @@ -19,6 +20,11 @@ EXTRACT_ONLY= psys-1.10.tar.Z log-5.10.tar.Z netcmpbeta.tar.Z \ USE_GMAKE= yes NO_WRKSUBDIR= yes DISTDIR= ${PORTSDIR}/distfiles/chipmunk +.if defined(MASTER_SITE_OVERRIDE) +MASTER_SITES:= ${MASTER_SITE_OVERRIDE}/chipmunk/ +.undef MASTER_SITE_OVERRIDE +.endif + post-extract: cp ${DISTDIR}/Makefile ${WRKSRC}/Makefile -- cgit v1.2.3