From 9dd929b156fa23ae121368b95a13d4439c55f0fe Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Fri, 17 Dec 2004 11:23:22 +0000 Subject: Introduce new variable MASTER_SITE_INDEX, to allow mirroring of INDEX files. PR: ports/74709 Submitted by: Valentin Nechayev --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3