aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.cran.mk
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2010-09-26 07:59:14 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2010-09-26 07:59:14 +0000
commit46d3e7ba41f3f31d166893fb005ba360b172ba30 (patch)
treea2815ab5fdd8592aeeebaccccfa2bfd845f3fb46 /Mk/bsd.cran.mk
parent0d20ffcceba19d04abb77b9b595b648195808777 (diff)
downloadports-46d3e7ba41f3f31d166893fb005ba360b172ba30.tar.gz
ports-46d3e7ba41f3f31d166893fb005ba360b172ba30.zip
Notes
Diffstat (limited to 'Mk/bsd.cran.mk')
-rw-r--r--Mk/bsd.cran.mk13
1 files changed, 9 insertions, 4 deletions
diff --git a/Mk/bsd.cran.mk b/Mk/bsd.cran.mk
index 229104978c7d..150fbaa13306 100644
--- a/Mk/bsd.cran.mk
+++ b/Mk/bsd.cran.mk
@@ -1,7 +1,12 @@
# Date created: 2009-01-25
# Whom: Wen Heping <wenheping@gmail.com>
+#
+# $FreeBSD$
+#
-.if defined(R_MOD)
+CRAN_Include_MAINTAINER= wen@FreeBSD.org
+
+.if defined(USE_R_MOD)
MASTER_CRAN_SITES+= http://mirrors.geoexpat.com/cran/src/contrib/ \
http://cran.rakanu.com/src/contrib/ \
http://cran.cnr.berkeley.edu/src/contrib/
@@ -9,7 +14,7 @@ MASTER_CRAN_SITES+= http://mirrors.geoexpat.com/cran/src/contrib/ \
MASTER_SITES?= ${MASTER_CRAN_SITES}
-.if defined(R_MOD)
+.if defined(USE_R_MOD)
BUILD_DEPENDS+= ${LOCALBASE}/bin/R:${PORTSDIR}/math/R
RUN_DEPENDS+= ${LOCALBASE}/bin/R:${PORTSDIR}/math/R
.endif
@@ -22,11 +27,11 @@ R_COMMAND= ${LOCALBASE}/bin/R
R_INS= ${R_COMMAND} CMD INSTALL
do-install:
-.if defined(R_MOD)
+.if defined(USE_R_MOD)
@cd ${WRKDIR} && ${R_INS} ${PORTNAME}
.endif
-.if defined(R_MOD) && defined(R_MOD_AUTOPLIST)
+.if defined(USE_R_MOD) && defined(R_MOD_AUTOPLIST)
.if !target(post-install-script)
post-install-script:
@${FIND} -ds ${PREFIX}/${R_MOD_DIR} -type f -print | ${SED} -E -e \