diff options
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Uses/cran.mk | 15 | ||||
-rw-r--r-- | Mk/bsd.sites.mk | 19 |
2 files changed, 20 insertions, 14 deletions
diff --git a/Mk/Uses/cran.mk b/Mk/Uses/cran.mk index f8a44712e834..b23d91989654 100644 --- a/Mk/Uses/cran.mk +++ b/Mk/Uses/cran.mk @@ -14,20 +14,7 @@ .if !defined(_INCLUDE_USES_CRAN_MK) _INCLUDE_USES_CRAN_MK= yes -MASTER_SITE_CRAN+= http://cran.ms.unimelb.edu.au/src/contrib/ \ - http://mirror.its.dal.ca/cran/src/contrib/ \ - http://mirrors.dotsrc.org/cran/src/contrib/ \ - http://cran.univ-lyon1.fr/src/contrib/ \ - http://ftp5.gwdg.de/pub/misc/cran/src/contrib/ \ - http://cran.stat.unipd.it/src/contrib/ \ - http://cran.md.tsukuba.ac.jp/src/contrib/ \ - http://mirrors.ibiblio.org/pub/mirrors/CRAN/src/contrib/ \ - http://cran.cnr.berkeley.edu/src/contrib/ \ - http://cran.rakanu.com/src/contrib/ \ - http://ftp.ctex.org/mirrors/CRAN/src/contrib/ -MASTER_SITE_CRAN_ARCHIVE+= ${MASTER_SITE_CRAN:S,$,Archive/${PORTNAME}/,} - -MASTER_SITES?= ${MASTER_SITE_CRAN} ${MASTER_SITE_CRAN_ARCHIVE} +MASTER_SITES?= CRAN/src/contrib CRAN_ARCHIVE/src/contrib BUILD_DEPENDS+= ${LOCALBASE}/bin/R:math/R RUN_DEPENDS+= ${LOCALBASE}/bin/R:math/R 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%/ \ |