aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-12-17 11:23:22 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-12-17 11:23:22 +0000
commit9dd929b156fa23ae121368b95a13d4439c55f0fe (patch)
tree914ae95a2f742e23771583aa13569f50f99fc1a3 /Makefile
parent1087be430a996f73f54364c1051849c26c1a0dad (diff)
downloadports-9dd929b156fa23ae121368b95a13d4439c55f0fe.tar.gz
ports-9dd929b156fa23ae121368b95a13d4439c55f0fe.zip
Introduce new variable MASTER_SITE_INDEX, to allow mirroring of
INDEX files. PR: ports/74709 Submitted by: Valentin Nechayev <netch@netch.kiev.ua>
Notes
Notes: svn path=/head/; revision=124303
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index feb49287e883..c6fe5260b352 100644
--- a/Makefile
+++ b/Makefile
@@ -70,8 +70,9 @@ index:
@cd ${.CURDIR} && make ${.CURDIR}/${INDEXFILE}
fetchindex:
- @cd ${.CURDIR} && ${FETCHINDEX} http://www.FreeBSD.org/ports/${INDEXFILE}.bz2 && bunzip2 -f ${INDEXFILE}.bz2 && chmod a+r ${INDEXFILE}
+ @cd ${.CURDIR} && ${FETCHINDEX} ${MASTER_SITE_INDEX}/${INDEXFILE}.bz2 && bunzip2 -f ${INDEXFILE}.bz2 && chmod a+r ${INDEXFILE}
+MASTER_SITE_INDEX?= http://www.FreeBSD.org/ports/
FETCHINDEX?= fetch -am
INDEX_JOBS?= 2