summaryrefslogtreecommitdiff
path: root/Mk/bsd.sites.mk
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2016-10-25 17:04:38 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2016-10-25 17:04:38 +0000
commit99484199c4b32400609480b782a20af714401546 (patch)
treeddcc83fc33a677499de027d5379df915e5f54cd4 /Mk/bsd.sites.mk
parentUpdate to 4.12.1 (diff)
Include MASTER_SITE_CRAN in Mk/bsd.sites.mk
With this change, math/R, math/libRmath, and all cran ports can share one list of sites. Reviewed by: mat Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D8328
Notes
Notes: svn path=/head/; revision=424635
Diffstat (limited to 'Mk/bsd.sites.mk')
-rw-r--r--Mk/bsd.sites.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index 0a23b12ed0f8..54694727df47 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -117,6 +117,25 @@ MASTER_SITE_COMP_SOURCES+= \
http://ftp.fi.netbsd.org/pub/misc/archive/comp.sources.%SUBDIR%/
.endif
+.if !defined(IGNORE_MASTER_SITE_CRAN)
+MASTER_SITE_CRAN+= \
+ https://cloud.r-project.org/%SUBDIR%/ \
+ https://stat.ethz.ch/CRAN/%SUBDIR%/ \
+ http://cran.utstat.utoronto.ca/%SUBDIR%/ \
+ https://cran.cnr.berkeley.edu/%SUBDIR%/ \
+ http://cran.csiro.au/%SUBDIR%/ \
+ https://mirrors.tuna.tsinghua.edu.cn/CRAN/%SUBDIR%/ \
+ http://camoruco.ing.uc.edu.ve/cran/%SUBDIR%/ \
+ https://mirror.las.iastate.edu/CRAN/%SUBDIR%/ \
+ https://cran.ma.imperial.ac.uk/%SUBDIR%/ \
+ https://cran.gis-lab.info/%SUBDIR%/ \
+ https://cran.ism.ac.jp/%SUBDIR%/
+.endif
+
+.if !defined(IGNORE_MASTER_SITE_CRAN_ARCHIVE)
+MASTER_SITE_CRAN_ARCHIVE+= ${MASTER_SITE_CRAN:S,$,Archive/${PORTNAME}/,}
+.endif
+
.if !defined(IGNORE_MASTER_SITE_DEBIAN)
MASTER_SITE_DEBIAN+= \
http://cdn.debian.net/debian/%SUBDIR%/ \