diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-12-17 11:23:22 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-12-17 11:23:22 +0000 |
commit | 9dd929b156fa23ae121368b95a13d4439c55f0fe (patch) | |
tree | 914ae95a2f742e23771583aa13569f50f99fc1a3 /Makefile | |
parent | Fix VID for the last commit. (diff) |
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-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |