Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/cran.mk
# $FreeBSD$ | # $FreeBSD$ | ||||
# | # | ||||
# Use the Comprehensive R Archive Network | # Use the Comprehensive R Archive Network | ||||
# | # | ||||
# Feature: cran | # Feature: cran | ||||
# Usage: USES=cran or USES=cran:ARGS | # Usage: USES=cran or USES=cran:ARGS | ||||
# Valid ARGS: auto-plist, compiles | # Valid ARGS: auto-plist, compiles | ||||
# | # | ||||
# auto-plist The pkg-plist is to be automatically generated | # auto-plist The pkg-plist is to be automatically generated | ||||
# compiles The port has code that needs to be compiled | # compiles The port has code that needs to be compiled | ||||
# | # | ||||
# MAINTAINER= dbn@FreeBSD.org | # MAINTAINER= dbn@FreeBSD.org | ||||
.if !defined(_INCLUDE_USES_CRAN_MK) | .if !defined(_INCLUDE_USES_CRAN_MK) | ||||
_INCLUDE_USES_CRAN_MK= yes | _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_SITE_CRAN_ARCHIVE+= ${MASTER_SITE_CRAN:S,$,Archive/${PORTNAME}/,} | ||||
mat: Maybe this should, too, go in b.s.m | |||||
MASTER_SITES?= ${MASTER_SITE_CRAN} ${MASTER_SITE_CRAN_ARCHIVE} | MASTER_SITES?= ${MASTER_SITE_CRAN} ${MASTER_SITE_CRAN_ARCHIVE} | ||||
MASTER_SITE_SUBDIR?= src/contrib | |||||
matUnsubmitted Done Inline ActionsThis should most certainly be: MASTER_SITES?= CRAN/src/contrib CRAN_ARCHIVE/src/contrib mat: This should most certainly be:
MASTER_SITES?= CRAN/src/contrib CRAN_ARCHIVE/src/contrib | |||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/R:math/R | BUILD_DEPENDS+= ${LOCALBASE}/bin/R:math/R | ||||
RUN_DEPENDS+= ${LOCALBASE}/bin/R:math/R | RUN_DEPENDS+= ${LOCALBASE}/bin/R:math/R | ||||
PKGNAMEPREFIX?= R-cran- | PKGNAMEPREFIX?= R-cran- | ||||
R_LIB_DIR= lib/R/library | R_LIB_DIR= lib/R/library | ||||
R_MOD_DIR?= ${R_LIB_DIR}/${PORTNAME} | R_MOD_DIR?= ${R_LIB_DIR}/${PORTNAME} | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |
Maybe this should, too, go in b.s.m