summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-12-17 11:23:22 +0000
committerkrion <krion@FreeBSD.org>2004-12-17 11:23:22 +0000
commit7e821d6437ebb94fd25f3e01670b8e8c10949c42 (patch)
treeea77efc3f85260b24c446d258a39f478508e0f30 /Makefile
parentbc2f60f993815693b0a65beeb9619bb8f40cb456 (diff)
downloadFreeBSD-ports-7e821d6437ebb94fd25f3e01670b8e8c10949c42.zip
FreeBSD-ports-7e821d6437ebb94fd25f3e01670b8e8c10949c42.tar.gz
Introduce new variable MASTER_SITE_INDEX, to allow mirroring of
INDEX files. PR: ports/74709 Submitted by: Valentin Nechayev <netch@netch.kiev.ua>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index feb4928..c6fe526 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
OpenPOWER on IntegriCloud