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:
parent
1087be430a
commit
9dd929b156
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124303
1 changed files with 2 additions and 1 deletions
3
Makefile
3
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue