aboutsummaryrefslogtreecommitdiff
path: root/graphics/xd3d
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2007-03-30 20:40:42 +0000
committerThierry Thomas <thierry@FreeBSD.org>2007-03-30 20:40:42 +0000
commitebfbe9cba6cf40fa4bf8d4735139721333be3775 (patch)
tree73779307a181f00cab5bbc096418323c8b4b1d66 /graphics/xd3d
parentc5e77448df1e10bc30223ffad4f5253434e1e05c (diff)
downloadports-ebfbe9cba6cf40fa4bf8d4735139721333be3775.tar.gz
ports-ebfbe9cba6cf40fa4bf8d4735139721333be3775.zip
Add a mirror.
Suggested by: kris
Notes
Notes: svn path=/head/; revision=188841
Diffstat (limited to 'graphics/xd3d')
-rw-r--r--graphics/xd3d/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/xd3d/Makefile b/graphics/xd3d/Makefile
index 7a385ac74adb..97f678d4becd 100644
--- a/graphics/xd3d/Makefile
+++ b/graphics/xd3d/Makefile
@@ -35,6 +35,8 @@ RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
RUN_DEPENDS+= gifsicle:${PORTSDIR}/graphics/gifsicle
.endif
+MASTER_SITES_BACKUP= http://pompo.net/ports/
+
USE_XLIB= yes
REINPLACE_ARGS= -i ""
FETCH_CMD= /usr/bin/fetch
@@ -66,7 +68,8 @@ CFLAGS+= -malign-double
do-fetch:
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
${FETCH_CMD} ${FETCH_BEFORE_ARGS} \
- ${MASTER_SITES}download.php?file=${DISTFILES}
+ ${MASTER_SITES}download.php?file=${DISTFILES} \
+ || ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${MASTER_SITES_BACKUP}${DISTFILES}
.endif
post-patch: