From f79022c2bf787f2565e31bac8f64c935458a6aa1 Mon Sep 17 00:00:00 2001 From: jrm Date: Tue, 25 Oct 2016 17:04:38 +0000 Subject: 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 --- Mk/bsd.sites.mk | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'Mk/bsd.sites.mk') 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%/ \ -- cgit