summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1995-10-04 15:26:17 +0000
committerSatoshi Asami <asami@FreeBSD.org>1995-10-04 15:26:17 +0000
commita5d23f9905dd69aa01c286134fc7c485caad7c5b (patch)
tree7dd21af5fe7374427422681d3bc4e7be88869043 /cad
parentUse compressed manpages. (diff)
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.
Notes
Notes: svn path=/head/; revision=2252
Diffstat (limited to 'cad')
-rw-r--r--cad/chipmunk/Makefile10
1 files 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