diff options
author | krion <krion@FreeBSD.org> | 2004-12-17 19:23:22 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-12-17 19:23:22 +0800 |
commit | 7e821d6437ebb94fd25f3e01670b8e8c10949c42 (patch) | |
tree | ea77efc3f85260b24c446d258a39f478508e0f30 /Makefile | |
parent | bc2f60f993815693b0a65beeb9619bb8f40cb456 (diff) | |
download | freebsd-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-- | 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 |