Introduce new variable MASTER_SITE_INDEX, to allow mirroring of

INDEX files.

PR:		ports/74709
Submitted by:	Valentin Nechayev <netch@netch.kiev.ua>
This commit is contained in:
Kirill Ponomarev 2004-12-17 11:23:22 +00:00
parent 1087be430a
commit 9dd929b156
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124303

View file

@ -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