aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-12-17 19:23:22 +0800
committerkrion <krion@FreeBSD.org>2004-12-17 19:23:22 +0800
commit7e821d6437ebb94fd25f3e01670b8e8c10949c42 (patch)
treeea77efc3f85260b24c446d258a39f478508e0f30 /Makefile
parentbc2f60f993815693b0a65beeb9619bb8f40cb456 (diff)
downloadfreebsd-ports-gnome-7e821d6437ebb94fd25f3e01670b8e8c10949c42.tar.gz
freebsd-ports-gnome-7e821d6437ebb94fd25f3e01670b8e8c10949c42.tar.zst
freebsd-ports-gnome-7e821d6437ebb94fd25f3e01670b8e8c10949c42.zip
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 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