aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authortota <tota@FreeBSD.org>2012-11-21 22:31:35 +0800
committertota <tota@FreeBSD.org>2012-11-21 22:31:35 +0800
commita8dd3d7fe9cb2ff72b54528697d47ea1e3e5a84a (patch)
tree918a5e524ff4aacb3784522eca809fd58ab0d971 /Mk
parentb4a466a2b87a28dc714da285231ced633107e572 (diff)
downloadfreebsd-ports-gnome-a8dd3d7fe9cb2ff72b54528697d47ea1e3e5a84a.tar.gz
freebsd-ports-gnome-a8dd3d7fe9cb2ff72b54528697d47ea1e3e5a84a.tar.zst
freebsd-ports-gnome-a8dd3d7fe9cb2ff72b54528697d47ea1e3e5a84a.zip
- Add Archive path to MASTER_SITES to fetch archived CRAN tar ball
PR: ports/173675 Submitted by: tota (myself) Approved by: wen (maintainer) Feature safe: yes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.cran.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/bsd.cran.mk b/Mk/bsd.cran.mk
index a478bfca4b10..5b82c1f0588c 100644
--- a/Mk/bsd.cran.mk
+++ b/Mk/bsd.cran.mk
@@ -17,8 +17,9 @@ MASTER_SITE_CRAN+= http://ftp.ctex.org/mirrors/CRAN/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/
+MASTER_SITE_CRAN_ARCHIVE+= ${MASTER_SITE_CRAN:S,$,Archive/${PORTNAME}/,}
-MASTER_SITES?= ${MASTER_SITE_CRAN}
+MASTER_SITES?= ${MASTER_SITE_CRAN} ${MASTER_SITE_CRAN_ARCHIVE}
USE_FORTRAN= yes
BUILD_DEPENDS+= ${LOCALBASE}/bin/R:${PORTSDIR}/math/R