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.
This commit is contained in:
Satoshi Asami 1995-10-04 15:26:17 +00:00
parent 2952ba216d
commit a5d23f9905
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=2252

View file

@ -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