Page MenuHomeFreeBSD

D8328.id21671.diff
No OneTemporary

D8328.id21671.diff

Index: head/Mk/Uses/cran.mk
===================================================================
--- head/Mk/Uses/cran.mk
+++ head/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
Index: head/Mk/bsd.sites.mk
===================================================================
--- head/Mk/bsd.sites.mk
+++ head/Mk/bsd.sites.mk
@@ -117,6 +117,25 @@
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%/ \

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 19, 7:38 PM (9 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31793427
Default Alt Text
D8328.id21671.diff (2 KB)

Event Timeline