Page MenuHomeFreeBSD

D8328.id21627.diff
No OneTemporary

D8328.id21627.diff

Index: Mk/Uses/cran.mk
===================================================================
--- Mk/Uses/cran.mk
+++ Mk/Uses/cran.mk
@@ -14,20 +14,10 @@
.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_SITE_SUBDIR?= src/contrib
BUILD_DEPENDS+= ${LOCALBASE}/bin/R:math/R
RUN_DEPENDS+= ${LOCALBASE}/bin/R:math/R
Index: Mk/bsd.sites.mk
===================================================================
--- Mk/bsd.sites.mk
+++ Mk/bsd.sites.mk
@@ -117,6 +117,21 @@
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_DEBIAN)
MASTER_SITE_DEBIAN+= \
http://cdn.debian.net/debian/%SUBDIR%/ \

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 19, 11:35 PM (6 h, 21 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31807862
Default Alt Text
D8328.id21627.diff (1 KB)

Event Timeline