aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Naylor <dbn@FreeBSD.org>2013-12-28 10:28:40 +0000
committerDavid Naylor <dbn@FreeBSD.org>2013-12-28 10:28:40 +0000
commite288e58754264b3a8264eb96b098853a2f94b719 (patch)
tree8d0f3f2f1eae811733e7cf9c6eb644ab6da66df7
parente946a1d6d13cbb9af7369f4196e1cdd487fe90bc (diff)
downloadports-e288e58754264b3a8264eb96b098853a2f94b719.tar.gz
ports-e288e58754264b3a8264eb96b098853a2f94b719.zip
Notes
-rw-r--r--Mk/Uses/cran.mk190
-rw-r--r--Mk/bsd.cran.mk85
-rw-r--r--Mk/bsd.port.mk6
-rw-r--r--astro/R-cran-maptools/Makefile3
-rw-r--r--converters/R-cran-RJSONIO/Makefile3
-rw-r--r--converters/R-cran-rjson/Makefile3
-rw-r--r--databases/R-cran-DBI/Makefile3
-rw-r--r--databases/R-cran-RMySQL/Makefile3
-rw-r--r--databases/R-cran-RSQLite.extfuns/Makefile3
-rw-r--r--databases/R-cran-RSQLite/Makefile3
-rw-r--r--databases/R-cran-sqldf/Makefile3
-rw-r--r--devel/R-cran-Defaults/Makefile3
-rw-r--r--devel/R-cran-Hmisc/Makefile3
-rw-r--r--devel/R-cran-RUnit/Makefile3
-rw-r--r--devel/R-cran-Rcpp/Makefile3
-rw-r--r--devel/R-cran-bitops/Makefile3
-rw-r--r--devel/R-cran-caTools/Makefile3
-rw-r--r--devel/R-cran-caret/Makefile3
-rw-r--r--devel/R-cran-chron/Makefile3
-rw-r--r--devel/R-cran-foreach/Makefile3
-rw-r--r--devel/R-cran-gbm/Makefile3
-rw-r--r--devel/R-cran-gdata/Makefile4
-rw-r--r--devel/R-cran-glmnet/Makefile3
-rw-r--r--devel/R-cran-gsubfn/Makefile3
-rw-r--r--devel/R-cran-gtools/Makefile3
-rw-r--r--devel/R-cran-iterators/Makefile3
-rw-r--r--devel/R-cran-itertools/Makefile3
-rw-r--r--devel/R-cran-memoise/Makefile3
-rw-r--r--devel/R-cran-plyr/Makefile3
-rw-r--r--devel/R-cran-proto/Makefile3
-rw-r--r--devel/R-cran-randomForest/Makefile3
-rw-r--r--devel/R-cran-reshape/Makefile3
-rw-r--r--devel/R-cran-reshape2/Makefile3
-rw-r--r--finance/R-cran-PerformanceAnalytics/Makefile3
-rw-r--r--finance/R-cran-RFinanceYJ/Makefile3
-rw-r--r--finance/R-cran-TTR/Makefile3
-rw-r--r--finance/R-cran-ccgarch/Makefile3
-rw-r--r--finance/R-cran-fBasics/Makefile3
-rw-r--r--finance/R-cran-fGarch/Makefile3
-rw-r--r--finance/R-cran-gmm/Makefile3
-rw-r--r--finance/R-cran-lmtest/Makefile3
-rw-r--r--finance/R-cran-plm/Makefile3
-rw-r--r--finance/R-cran-quantmod/Makefile3
-rw-r--r--finance/R-cran-strucchange/Makefile3
-rw-r--r--finance/R-cran-timeDate/Makefile3
-rw-r--r--finance/R-cran-timeSeries/Makefile3
-rw-r--r--finance/R-cran-tseries/Makefile3
-rw-r--r--finance/R-cran-urca/Makefile3
-rw-r--r--finance/R-cran-vars/Makefile3
-rw-r--r--ftp/R-cran-RCurl/Makefile3
-rw-r--r--graphics/R-cran-GDD/Makefile3
-rw-r--r--graphics/R-cran-RColorBrewer/Makefile3
-rw-r--r--graphics/R-cran-colorspace/Makefile3
-rw-r--r--graphics/R-cran-diagram/Makefile3
-rw-r--r--graphics/R-cran-dichromat/Makefile3
-rw-r--r--graphics/R-cran-ggplot2/Makefile3
-rw-r--r--graphics/R-cran-munsell/Makefile3
-rw-r--r--graphics/R-cran-pixmap/Makefile3
-rw-r--r--graphics/R-cran-png/Makefile3
-rw-r--r--graphics/R-cran-rgdal/Makefile3
-rw-r--r--graphics/R-cran-rtiff/Makefile3
-rw-r--r--graphics/R-cran-scales/Makefile3
-rw-r--r--graphics/R-cran-shape/Makefile3
-rw-r--r--math/R-cran-ChangeAnomalyDetection/Makefile3
-rw-r--r--math/R-cran-Formula/Makefile3
-rw-r--r--math/R-cran-KFAS/Makefile3
-rw-r--r--math/R-cran-LearnBayes/Makefile3
-rw-r--r--math/R-cran-MCMCpack/Makefile3
-rw-r--r--math/R-cran-RHmm/Makefile3
-rw-r--r--math/R-cran-RSvgDevice/Makefile3
-rw-r--r--math/R-cran-RcppArmadillo/Makefile3
-rw-r--r--math/R-cran-SuppDists/Makefile3
-rw-r--r--math/R-cran-Zelig/Makefile3
-rw-r--r--math/R-cran-bdsmatrix/Makefile3
-rw-r--r--math/R-cran-car/Makefile3
-rw-r--r--math/R-cran-coda/Makefile3
-rw-r--r--math/R-cran-deldir/Makefile3
-rw-r--r--math/R-cran-dlmodeler/Makefile3
-rw-r--r--math/R-cran-forecast/Makefile3
-rw-r--r--math/R-cran-fracdiff/Makefile3
-rw-r--r--math/R-cran-gpclib/Makefile3
-rw-r--r--math/R-cran-gss/Makefile3
-rw-r--r--math/R-cran-gtable/Makefile3
-rw-r--r--math/R-cran-igraph/Makefile3
-rw-r--r--math/R-cran-inline/Makefile3
-rw-r--r--math/R-cran-labeling/Makefile3
-rw-r--r--math/R-cran-memisc/Makefile3
-rw-r--r--math/R-cran-mvtnorm/Makefile3
-rw-r--r--math/R-cran-nnls/Makefile3
-rw-r--r--math/R-cran-outliers/Makefile3
-rw-r--r--math/R-cran-psych/Makefile3
-rw-r--r--math/R-cran-quadprog/Makefile3
-rw-r--r--math/R-cran-sandwich/Makefile3
-rw-r--r--math/R-cran-sm/Makefile3
-rw-r--r--math/R-cran-sp/Makefile3
-rw-r--r--math/R-cran-spdep/Makefile3
-rw-r--r--math/R-cran-sspir/Makefile3
-rw-r--r--math/R-cran-stabledist/Makefile3
-rw-r--r--math/R-cran-xts/Makefile3
-rw-r--r--math/R-cran-zoo/Makefile3
-rw-r--r--net/R-cran-twitteR/Makefile3
-rw-r--r--science/R-cran-AMORE/Makefile3
-rw-r--r--science/R-cran-DCluster/Makefile3
-rw-r--r--science/R-cran-Epi/Makefile3
-rw-r--r--science/R-cran-bayesm/Makefile3
-rw-r--r--science/R-cran-e1071/Makefile3
-rw-r--r--science/R-cran-eco/Makefile3
-rw-r--r--science/R-cran-epicalc/Makefile3
-rw-r--r--science/R-cran-snow/Makefile3
-rw-r--r--science/R-cran-som/Makefile3
-rw-r--r--security/R-cran-ROAuth/Makefile3
-rw-r--r--security/R-cran-digest/Makefile3
-rw-r--r--textproc/R-cran-R2HTML/Makefile3
-rw-r--r--textproc/R-cran-XML/Makefile3
-rw-r--r--textproc/R-cran-stringr/Makefile3
-rw-r--r--textproc/R-cran-xtable/Makefile3
-rw-r--r--www/R-cran-RgoogleMaps/Makefile3
-rw-r--r--www/R-cran-Rpad/Makefile3
-rw-r--r--www/R-cran-httpuv/Makefile7
-rw-r--r--www/R-cran-scrapeR/Makefile3
-rw-r--r--www/R-cran-shiny/Makefile3
121 files changed, 309 insertions, 331 deletions
diff --git a/Mk/Uses/cran.mk b/Mk/Uses/cran.mk
new file mode 100644
index 000000000000..5bcf2f75d35e
--- /dev/null
+++ b/Mk/Uses/cran.mk
@@ -0,0 +1,190 @@
+# $FreeBSD$
+#
+# Use the Comprehensive R Archive Network
+#
+# MAINTAINER= wen@FreeBSD.org
+#
+# Feature: cran
+# Usage: USES=cran or USES=cran:ARGS
+# Valid ARGS: auto-plist
+#
+# auto-plist The pkg-plist can be automatically compiled
+
+.if !defined(_INCLUDE_USES_CRAN_MK)
+_INCLUDE_USES_CRAN_MK= yes
+
+VALID_ARGS= auto-plist
+
+MASTER_SITE_CRAN+= http://ftp.ctex.org/mirrors/CRAN/src/contrib/ \
+ http://cran.rakanu.com/src/contrib/ \
+ 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/
+MASTER_SITE_CRAN_ARCHIVE+= ${MASTER_SITE_CRAN:S,$,Archive/${PORTNAME}/,}
+
+MASTER_SITES?= ${MASTER_SITE_CRAN} ${MASTER_SITE_CRAN_ARCHIVE}
+
+USE_FORTRAN= yes
+BUILD_DEPENDS+= ${LOCALBASE}/bin/R:${PORTSDIR}/math/R
+RUN_DEPENDS+= ${LOCALBASE}/bin/R:${PORTSDIR}/math/R
+
+PKGNAMEPREFIX?= R-cran-
+
+R_LIB_DIR= lib/R/library
+R_MOD_DIR?= ${R_LIB_DIR}/${PORTNAME}
+PLIST_SUB+= R_MOD_DIR=${R_MOD_DIR}
+WRKSRC?= ${WRKDIR}/${PORTNAME}
+
+NO_BUILD= yes
+R_COMMAND= ${LOCALBASE}/bin/R
+
+.if !target(regression-test)
+R_POSTCMD_CHECK_OPTIONS?= --timings
+
+.if !exists(${LOCALBASE}/bin/pdflatex)
+R_POSTCMD_CHECK_OPTIONS+= --no-manual --no-rebuild-vignettes
+.endif
+
+.if defined(NO_STAGE)
+check-makevars::
+ @${ECHO_MSG} "Makefile error: USE_R_MOD cannot be used with NO_STAGE"
+ @${FALSE}
+.endif
+
+regression-test: build
+ @cd ${WRKDIR} ; ${SETENV} ${MAKE_ENV} _R_CHECK_FORCE_SUGGESTS_=FALSE \
+ ${R_COMMAND} ${R_PRECMD_CHECK_OPTIONS} CMD check \
+ ${R_POSTCMD_CHECK_OPTIONS} ${PORTNAME}
+.endif
+
+.if !target(do-install)
+R_POSTCMD_INSTALL_OPTIONS+= -l ${STAGEDIR}${PREFIX}/${R_LIB_DIR}
+.if defined(NOPORTDATA)
+R_POSTCMD_INSTALL_OPTIONS+= --no-data --no-demo
+.else
+R_POSTCMD_INSTALL_OPTIONS+= --install-tests
+.endif
+
+.if defined(NOPORTDOCS)
+R_POSTCMD_INSTALL_OPTIONS+= --no-docs --no-html
+.endif
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${R_LIB_DIR}
+ @cd ${WRKDIR} ; ${SETENV} ${MAKE_ENV} ${R_COMMAND} \
+ ${R_PRECMD_INSTALL_OPTIONS} CMD INSTALL \
+ ${R_POSTCMD_INSTALL_OPTIONS} ${PORTNAME}
+.endif
+
+.if ${cran_ARGS:Mauto-plist}
+.if !target(post-install-script)
+post-install-script:
+ @${FIND} -ds ${STAGEDIR}${PREFIX}/${R_MOD_DIR} \( -type f -or -type l \) -print | \
+ ${SED} -E -e 's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST}
+ @${FIND} -ds ${STAGEDIR}${PREFIX}/${R_MOD_DIR} -type d -print | ${SED} -E -e \
+ 's,^${STAGEDIR}${PREFIX}/?,@dirrm ,' >> ${TMPPLIST}
+.endif
+.endif
+
+.endif #_INCLUDE_USES_CRAN_MK
+# $FreeBSD$
+#
+# Use the Comprehensive R Archive Network
+#
+# MAINTAINER= wen@FreeBSD.org
+#
+# Feature: cran
+# Usage: USES=cran or USES=cran:ARGS
+# Valid ARGS: auto-plist
+#
+# auto-plist The pkg-plist can be automatically compiled
+
+.if !defined(_INCLUDE_USES_CRAN_MK)
+_INCLUDE_USES_CRAN_MK= yes
+
+VALID_ARGS= auto-plist
+
+MASTER_SITE_CRAN+= http://ftp.ctex.org/mirrors/CRAN/src/contrib/ \
+ http://cran.rakanu.com/src/contrib/ \
+ 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/
+MASTER_SITE_CRAN_ARCHIVE+= ${MASTER_SITE_CRAN:S,$,Archive/${PORTNAME}/,}
+
+MASTER_SITES?= ${MASTER_SITE_CRAN} ${MASTER_SITE_CRAN_ARCHIVE}
+
+USE_FORTRAN= yes
+BUILD_DEPENDS+= ${LOCALBASE}/bin/R:${PORTSDIR}/math/R
+RUN_DEPENDS+= ${LOCALBASE}/bin/R:${PORTSDIR}/math/R
+
+PKGNAMEPREFIX?= R-cran-
+
+R_LIB_DIR= lib/R/library
+R_MOD_DIR?= ${R_LIB_DIR}/${PORTNAME}
+PLIST_SUB+= R_MOD_DIR=${R_MOD_DIR}
+WRKSRC?= ${WRKDIR}/${PORTNAME}
+
+NO_BUILD= yes
+R_COMMAND= ${LOCALBASE}/bin/R
+
+.if !target(regression-test)
+R_POSTCMD_CHECK_OPTIONS?= --timings
+
+.if !exists(${LOCALBASE}/bin/pdflatex)
+R_POSTCMD_CHECK_OPTIONS+= --no-manual --no-rebuild-vignettes
+.endif
+
+.if defined(NO_STAGE)
+check-makevars::
+ @${ECHO_MSG} "Makefile error: USE_R_MOD cannot be used with NO_STAGE"
+ @${FALSE}
+.endif
+
+regression-test: build
+ @cd ${WRKDIR} ; ${SETENV} ${MAKE_ENV} _R_CHECK_FORCE_SUGGESTS_=FALSE \
+ ${R_COMMAND} ${R_PRECMD_CHECK_OPTIONS} CMD check \
+ ${R_POSTCMD_CHECK_OPTIONS} ${PORTNAME}
+.endif
+
+.if !target(do-install)
+R_POSTCMD_INSTALL_OPTIONS+= -l ${STAGEDIR}${PREFIX}/${R_LIB_DIR}
+.if defined(NOPORTDATA)
+R_POSTCMD_INSTALL_OPTIONS+= --no-data --no-demo
+.else
+R_POSTCMD_INSTALL_OPTIONS+= --install-tests
+.endif
+
+.if defined(NOPORTDOCS)
+R_POSTCMD_INSTALL_OPTIONS+= --no-docs --no-html
+.endif
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${R_LIB_DIR}
+ @cd ${WRKDIR} ; ${SETENV} ${MAKE_ENV} ${R_COMMAND} \
+ ${R_PRECMD_INSTALL_OPTIONS} CMD INSTALL \
+ ${R_POSTCMD_INSTALL_OPTIONS} ${PORTNAME}
+.endif
+
+.if ${cran_ARGS:Mauto-plist}
+.if !target(post-install-script)
+post-install-script:
+ @${FIND} -ds ${STAGEDIR}${PREFIX}/${R_MOD_DIR} \( -type f -or -type l \) -print | \
+ ${SED} -E -e 's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST}
+ @${FIND} -ds ${STAGEDIR}${PREFIX}/${R_MOD_DIR} -type d -print | ${SED} -E -e \
+ 's,^${STAGEDIR}${PREFIX}/?,@dirrm ,' >> ${TMPPLIST}
+.endif
+.endif
+
+.endif #_INCLUDE_USES_CRAN_MK
diff --git a/Mk/bsd.cran.mk b/Mk/bsd.cran.mk
deleted file mode 100644
index 5353449ec1a6..000000000000
--- a/Mk/bsd.cran.mk
+++ /dev/null
@@ -1,85 +0,0 @@
-# Date created: 2009-01-25
-# Whom: Wen Heping <wenheping@gmail.com>
-#
-# $FreeBSD$
-#
-
-CRAN_Include_MAINTAINER= wen@FreeBSD.org
-
-MASTER_SITE_CRAN+= http://ftp.ctex.org/mirrors/CRAN/src/contrib/ \
- http://cran.rakanu.com/src/contrib/ \
- 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/
-MASTER_SITE_CRAN_ARCHIVE+= ${MASTER_SITE_CRAN:S,$,Archive/${PORTNAME}/,}
-
-MASTER_SITES?= ${MASTER_SITE_CRAN} ${MASTER_SITE_CRAN_ARCHIVE}
-
-USE_FORTRAN= yes
-BUILD_DEPENDS+= ${LOCALBASE}/bin/R:${PORTSDIR}/math/R
-RUN_DEPENDS+= ${LOCALBASE}/bin/R:${PORTSDIR}/math/R
-
-PKGNAMEPREFIX?= R-cran-
-
-R_LIB_DIR= lib/R/library
-R_MOD_DIR?= ${R_LIB_DIR}/${PORTNAME}
-PLIST_SUB+= R_MOD_DIR=${R_MOD_DIR}
-WRKSRC?= ${WRKDIR}/${PORTNAME}
-
-NO_BUILD= yes
-R_COMMAND= ${LOCALBASE}/bin/R
-
-.if !target(regression-test)
-R_POSTCMD_CHECK_OPTIONS?= --timings
-
-.if !exists(${LOCALBASE}/bin/pdflatex)
-R_POSTCMD_CHECK_OPTIONS+= --no-manual --no-rebuild-vignettes
-.endif
-
-.if defined(NO_STAGE)
-check-makevars::
- @${ECHO_MSG} "Makefile error: USE_R_MOD cannot be used with NO_STAGE"
- @${FALSE}
-.endif
-
-regression-test: build
- @cd ${WRKDIR} ; ${SETENV} ${MAKE_ENV} _R_CHECK_FORCE_SUGGESTS_=FALSE \
- ${R_COMMAND} ${R_PRECMD_CHECK_OPTIONS} CMD check \
- ${R_POSTCMD_CHECK_OPTIONS} ${PORTNAME}
-.endif
-
-.if !target(do-install)
-R_POSTCMD_INSTALL_OPTIONS+= -l ${STAGEDIR}${PREFIX}/${R_LIB_DIR}
-.if defined(NOPORTDATA)
-R_POSTCMD_INSTALL_OPTIONS+= --no-data --no-demo
-.else
-R_POSTCMD_INSTALL_OPTIONS+= --install-tests
-.endif
-
-.if defined(NOPORTDOCS)
-R_POSTCMD_INSTALL_OPTIONS+= --no-docs --no-html
-.endif
-
-do-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/${R_LIB_DIR}
- @cd ${WRKDIR} ; ${SETENV} ${MAKE_ENV} ${R_COMMAND} \
- ${R_PRECMD_INSTALL_OPTIONS} CMD INSTALL \
- ${R_POSTCMD_INSTALL_OPTIONS} ${PORTNAME}
-.endif
-
-.if defined(R_MOD_AUTOPLIST)
-.if !target(post-install-script)
-post-install-script:
- @${FIND} -ds ${STAGEDIR}${PREFIX}/${R_MOD_DIR} \( -type f -or -type l \) -print | \
- ${SED} -E -e 's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST}
- @${FIND} -ds ${STAGEDIR}${PREFIX}/${R_MOD_DIR} -type d -print | ${SED} -E -e \
- 's,^${STAGEDIR}${PREFIX}/?,@dirrm ,' >> ${TMPPLIST}
-.endif
-.endif
-
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 9a3cb07bf13c..3f6479fadac1 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -414,8 +414,6 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# Implies inclusion of bsd.python.mk. (Also see
# that file for more information on USE_PYTHON_*
# and USE_PYDISTUTILS).
-# USE_R_MOD - If set, this port uses the Comprehensive R Archive Network.
-# See bsd.cran.mk for more details.
# USE_RUBY - If set, this port relies on the Ruby language.
# Implies inclusion of bsd.ruby.mk. (Also see
# that file for more information on USE_RUBY_*).
@@ -1428,10 +1426,6 @@ PKGCOMPATDIR?= ${LOCALBASE}/lib/compat/pkg
.include "${PORTSDIR}/Mk/bsd.java.mk"
.endif
-.if defined(USE_R_MOD)
-.include "${PORTSDIR}/Mk/bsd.cran.mk"
-.endif
-
.if defined(USE_RUBY) || defined(USE_LIBRUBY)
.include "${PORTSDIR}/Mk/bsd.ruby.mk"
.endif
diff --git a/astro/R-cran-maptools/Makefile b/astro/R-cran-maptools/Makefile
index 86565cf9f031..524194984e6f 100644
--- a/astro/R-cran-maptools/Makefile
+++ b/astro/R-cran-maptools/Makefile
@@ -15,7 +15,6 @@ LICENSE_COMB= dual
RUN_DEPENDS= R-cran-sp>=1.0.11:${PORTSDIR}/math/R-cran-sp
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/converters/R-cran-RJSONIO/Makefile b/converters/R-cran-RJSONIO/Makefile
index bf24bf009fc3..42f632f8c358 100644
--- a/converters/R-cran-RJSONIO/Makefile
+++ b/converters/R-cran-RJSONIO/Makefile
@@ -12,7 +12,6 @@ COMMENT= Serialize R objects to JSON, JavaScript Object Notation
LICENSE= BSD
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/converters/R-cran-rjson/Makefile b/converters/R-cran-rjson/Makefile
index 4203d52b75a3..dd943745fdc8 100644
--- a/converters/R-cran-rjson/Makefile
+++ b/converters/R-cran-rjson/Makefile
@@ -12,7 +12,6 @@ COMMENT= JSON for R
LICENSE= GPLv2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/databases/R-cran-DBI/Makefile b/databases/R-cran-DBI/Makefile
index e9441776db96..2e58f4b78e4c 100644
--- a/databases/R-cran-DBI/Makefile
+++ b/databases/R-cran-DBI/Makefile
@@ -13,7 +13,6 @@ COMMENT= R Database Interface
LICENSE= LGPL20 LGPL21 LGPL3
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/databases/R-cran-RMySQL/Makefile b/databases/R-cran-RMySQL/Makefile
index 6677d6835d89..f38d6d1bc7df 100644
--- a/databases/R-cran-RMySQL/Makefile
+++ b/databases/R-cran-RMySQL/Makefile
@@ -15,7 +15,6 @@ LICENSE= GPLv2
RUN_DEPENDS= R-cran-DBI>=0.2.2:${PORTSDIR}/databases/R-cran-DBI
USE_MYSQL= yes
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/databases/R-cran-RSQLite.extfuns/Makefile b/databases/R-cran-RSQLite.extfuns/Makefile
index 833a9157268c..bc1377bcf0df 100644
--- a/databases/R-cran-RSQLite.extfuns/Makefile
+++ b/databases/R-cran-RSQLite.extfuns/Makefile
@@ -15,7 +15,6 @@ LICENSE= AL2
BUILD_DEPENDS= R-cran-RSQLite>=0.11.1:${PORTSDIR}/databases/R-cran-RSQLite
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/databases/R-cran-RSQLite/Makefile b/databases/R-cran-RSQLite/Makefile
index a675cee037f7..42e32e8f4c86 100644
--- a/databases/R-cran-RSQLite/Makefile
+++ b/databases/R-cran-RSQLite/Makefile
@@ -15,7 +15,6 @@ LICENSE= LGPL20
BUILD_DEPENDS= R-cran-DBI>=0.2.5:${PORTSDIR}/databases/R-cran-DBI
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/databases/R-cran-sqldf/Makefile b/databases/R-cran-sqldf/Makefile
index 2b275b967f7a..dc3f1fd1952c 100644
--- a/databases/R-cran-sqldf/Makefile
+++ b/databases/R-cran-sqldf/Makefile
@@ -20,7 +20,6 @@ BUILD_DEPENDS= R-cran-proto>=0.3.9.2_6:${PORTSDIR}/devel/R-cran-proto \
R-cran-RSQLite.extfuns>=0.0.1:${PORTSDIR}/databases/R-cran-RSQLite.extfuns
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-Defaults/Makefile b/devel/R-cran-Defaults/Makefile
index 201de79bb340..127c272c1bb0 100644
--- a/devel/R-cran-Defaults/Makefile
+++ b/devel/R-cran-Defaults/Makefile
@@ -13,7 +13,6 @@ COMMENT= Create Global Function Defaults
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-Hmisc/Makefile b/devel/R-cran-Hmisc/Makefile
index c4b34d7c131e..7635f76665f4 100644
--- a/devel/R-cran-Hmisc/Makefile
+++ b/devel/R-cran-Hmisc/Makefile
@@ -11,7 +11,6 @@ COMMENT= Harrell Miscellaneous functions useful for data analysis
LICENSE= GPLv2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-RUnit/Makefile b/devel/R-cran-RUnit/Makefile
index 3ec69b22574c..fdbea8fb7271 100644
--- a/devel/R-cran-RUnit/Makefile
+++ b/devel/R-cran-RUnit/Makefile
@@ -12,7 +12,6 @@ COMMENT= R functions implementing a Unit Testing framework
LICENSE= GPLv2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-Rcpp/Makefile b/devel/R-cran-Rcpp/Makefile
index 2573fbc0495c..ae64a07b2110 100644
--- a/devel/R-cran-Rcpp/Makefile
+++ b/devel/R-cran-Rcpp/Makefile
@@ -12,7 +12,6 @@ COMMENT= Seamless R and C++ Integration
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-bitops/Makefile b/devel/R-cran-bitops/Makefile
index 1c667e2f4a84..0c150fcb6f7e 100644
--- a/devel/R-cran-bitops/Makefile
+++ b/devel/R-cran-bitops/Makefile
@@ -13,7 +13,6 @@ COMMENT= Functions for Bitwise operations
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-caTools/Makefile b/devel/R-cran-caTools/Makefile
index 8f71689fa6f1..0a4a62681ff7 100644
--- a/devel/R-cran-caTools/Makefile
+++ b/devel/R-cran-caTools/Makefile
@@ -13,7 +13,6 @@ LICENSE= GPLv3
RUN_DEPENDS= R-cran-bitops>0:${PORTSDIR}/devel/R-cran-bitops
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-caret/Makefile b/devel/R-cran-caret/Makefile
index 395007ce1e1d..78ba75aa6c95 100644
--- a/devel/R-cran-caret/Makefile
+++ b/devel/R-cran-caret/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= R-cran-reshape2>0:${PORTSDIR}/devel/R-cran-reshape2 \
R-cran-plyr>0:${PORTSDIR}/devel/R-cran-plyr \
R-cran-foreach>0:${PORTSDIR}/devel/R-cran-foreach
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-chron/Makefile b/devel/R-cran-chron/Makefile
index bbc4d0875018..9345c315f6eb 100644
--- a/devel/R-cran-chron/Makefile
+++ b/devel/R-cran-chron/Makefile
@@ -12,7 +12,6 @@ COMMENT= R package for creating objects which can handle dates and times
LICENSE= GPLv2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-foreach/Makefile b/devel/R-cran-foreach/Makefile
index 343f81bdc7e7..ff0dc335373e 100644
--- a/devel/R-cran-foreach/Makefile
+++ b/devel/R-cran-foreach/Makefile
@@ -14,7 +14,6 @@ LICENSE= AL2
RUN_DEPENDS= R-cran-iterators>=1.0.0:${PORTSDIR}/devel/R-cran-iterators
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-gbm/Makefile b/devel/R-cran-gbm/Makefile
index 2c975bfd4be5..2fd8d7f8d7ae 100644
--- a/devel/R-cran-gbm/Makefile
+++ b/devel/R-cran-gbm/Makefile
@@ -11,7 +11,6 @@ COMMENT= Extensions to AdaBoost algorithm
LICENSE= GPLv2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-gdata/Makefile b/devel/R-cran-gdata/Makefile
index 073eba3c975f..96d778109edb 100644
--- a/devel/R-cran-gdata/Makefile
+++ b/devel/R-cran-gdata/Makefile
@@ -14,9 +14,7 @@ LICENSE= GPLv2
RUN_DEPENDS= R-cran-gtools>0:${PORTSDIR}/devel/R-cran-gtools
-USES= perl5
+USES= cran:auto-plist perl5
USE_PERL5= run
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
.include <bsd.port.mk>
diff --git a/devel/R-cran-glmnet/Makefile b/devel/R-cran-glmnet/Makefile
index 7d4ebd28b2d1..8683147787cb 100644
--- a/devel/R-cran-glmnet/Makefile
+++ b/devel/R-cran-glmnet/Makefile
@@ -11,7 +11,6 @@ COMMENT= Lasso and elastic-net regularized generalized linear models
LICENSE= GPLv2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-gsubfn/Makefile b/devel/R-cran-gsubfn/Makefile
index 404305d89fd8..c9b01d0510c1 100644
--- a/devel/R-cran-gsubfn/Makefile
+++ b/devel/R-cran-gsubfn/Makefile
@@ -14,7 +14,6 @@ LICENSE= GPLv2
RUN_DEPENDS= R-cran-proto>=0.3.9.2_6:${PORTSDIR}/devel/R-cran-proto
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-gtools/Makefile b/devel/R-cran-gtools/Makefile
index 81632e60aa0d..64c62692acee 100644
--- a/devel/R-cran-gtools/Makefile
+++ b/devel/R-cran-gtools/Makefile
@@ -11,7 +11,6 @@ COMMENT= Various R programming tools
LICENSE= LGPL21
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-iterators/Makefile b/devel/R-cran-iterators/Makefile
index 516764aacc11..6d1db9b1d357 100644
--- a/devel/R-cran-iterators/Makefile
+++ b/devel/R-cran-iterators/Makefile
@@ -12,7 +12,6 @@ COMMENT= Iterator construct for R
LICENSE= AL2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-itertools/Makefile b/devel/R-cran-itertools/Makefile
index 592a624f6bc8..233b08d1e400 100644
--- a/devel/R-cran-itertools/Makefile
+++ b/devel/R-cran-itertools/Makefile
@@ -12,7 +12,6 @@ COMMENT= Iterator Tools for R
RUN_DEPENDS= R-cran-iterators>=1.0.0:${PORTSDIR}/devel/R-cran-iterators
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-memoise/Makefile b/devel/R-cran-memoise/Makefile
index 1fbdae596b2b..3f40c58a0c28 100644
--- a/devel/R-cran-memoise/Makefile
+++ b/devel/R-cran-memoise/Makefile
@@ -12,7 +12,6 @@ COMMENT= Memoise functions for R
RUN_DEPENDS= R-cran-digest>=0:${PORTSDIR}/security/R-cran-digest
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-plyr/Makefile b/devel/R-cran-plyr/Makefile
index 8682b47a8912..17049630dc1e 100644
--- a/devel/R-cran-plyr/Makefile
+++ b/devel/R-cran-plyr/Makefile
@@ -13,7 +13,6 @@ COMMENT= Tools for splitting, applying, and combining data
RUN_DEPENDS= R-cran-itertools>0:${PORTSDIR}/devel/R-cran-itertools \
R-cran-iterators>0:${PORTSDIR}/devel/R-cran-iterators
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-proto/Makefile b/devel/R-cran-proto/Makefile
index d213015b24ef..8ef06d05b52f 100644
--- a/devel/R-cran-proto/Makefile
+++ b/devel/R-cran-proto/Makefile
@@ -12,7 +12,6 @@ COMMENT= Prototype object-based programming
LICENSE= GPLv2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-randomForest/Makefile b/devel/R-cran-randomForest/Makefile
index dc73bf0d5317..6a11da07e0f0 100644
--- a/devel/R-cran-randomForest/Makefile
+++ b/devel/R-cran-randomForest/Makefile
@@ -11,7 +11,6 @@ COMMENT= Classification based on a forest of trees using random inputs
RUN_DEPENDS= R-cran-RColorBrewer>=1.0.5_6:${PORTSDIR}/graphics/R-cran-RColorBrewer
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-reshape/Makefile b/devel/R-cran-reshape/Makefile
index 419cc5475b30..eb30f9b33b26 100644
--- a/devel/R-cran-reshape/Makefile
+++ b/devel/R-cran-reshape/Makefile
@@ -14,7 +14,6 @@ LICENSE= MIT
RUN_DEPENDS= R-cran-plyr>0:${PORTSDIR}/devel/R-cran-plyr
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/devel/R-cran-reshape2/Makefile b/devel/R-cran-reshape2/Makefile
index d9da7658b6b5..95c9b2c52e60 100644
--- a/devel/R-cran-reshape2/Makefile
+++ b/devel/R-cran-reshape2/Makefile
@@ -15,7 +15,6 @@ LICENSE= MIT
RUN_DEPENDS= R-cran-plyr>=1.5:${PORTSDIR}/devel/R-cran-plyr \
R-cran-stringr>0:${PORTSDIR}/textproc/R-cran-stringr
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/finance/R-cran-PerformanceAnalytics/Makefile b/finance/R-cran-PerformanceAnalytics/Makefile
index ac8ea48b3bce..35e29d225e92 100644
--- a/finance/R-cran-PerformanceAnalytics/Makefile
+++ b/finance/R-cran-PerformanceAnalytics/Makefile
@@ -15,7 +15,6 @@ LICENSE= GPLv1
RUN_DEPENDS= R-cran-zoo>0:${PORTSDIR}/math/R-cran-zoo \
R-cran-xts>=0.8.9:${PORTSDIR}/math/R-cran-xts
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/finance/R-cran-RFinanceYJ/Makefile b/finance/R-cran-RFinanceYJ/Makefile
index 9f6044b1dfc1..193024b2c2d7 100644
--- a/finance/R-cran-RFinanceYJ/Makefile
+++ b/finance/R-cran-RFinanceYJ/Makefile
@@ -15,7 +15,6 @@ LICENSE= BSD
RUN_DEPENDS= R-cran-XML>0:${PORTSDIR}/textproc/R-cran-XML \
R-cran-xts>0:${PORTSDIR}/math/R-cran-xts
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/finance/R-cran-TTR/Makefile b/finance/R-cran-TTR/Makefile
index f485e9acbcb8..bf84cbc4fbad 100644
--- a/finance/R-cran-TTR/Makefile
+++ b/finance/R-cran-TTR/Makefile
@@ -14,7 +14,6 @@ LICENSE= GPLv2
RUN_DEPENDS= R-cran-xts>=0.9.3:${PORTSDIR}/math/R-cran-xts
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/finance/R-cran-ccgarch/Makefile b/finance/R-cran-ccgarch/Makefile
index bfd63a65fca8..70726c311106 100644
--- a/finance/R-cran-ccgarch/Makefile
+++ b/finance/R-cran-ccgarch/Makefile
@@ -13,7 +13,6 @@ COMMENT= Conditional Correlation GARCH models
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/finance/R-cran-fBasics/Makefile b/finance/R-cran-fBasics/Makefile
index c0c0a434fcb3..7cb020a80a2b 100644
--- a/finance/R-cran-fBasics/Makefile
+++ b/finance/R-cran-fBasics/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= R-cran-timeDate>0:${PORTSDIR}/finance/R-cran-timeDate \
R-cran-stabledist>0:${PORTSDIR}/math/R-cran-stabledist \
R-cran-gss>0:${PORTSDIR}/math/R-cran-gss
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/finance/R-cran-fGarch/Makefile b/finance/R-cran-fGarch/Makefile
index aa2575d14626..c7113c1e888d 100644
--- a/finance/R-cran-fGarch/Makefile
+++ b/finance/R-cran-fGarch/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= R-cran-timeDate>0:${PORTSDIR}/finance/R-cran-timeDate \
R-cran-timeSeries>0:${PORTSDIR}/finance/R-cran-timeSeries \
R-cran-fBasics>=2100.78:${PORTSDIR}/finance/R-cran-fBasics
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/finance/R-cran-gmm/Makefile b/finance/R-cran-gmm/Makefile
index 1b6e5ca74f0a..92324ad1fb5d 100644
--- a/finance/R-cran-gmm/Makefile
+++ b/finance/R-cran-gmm/Makefile
@@ -15,7 +15,6 @@ LICENSE_COMB= dual
RUN_DEPENDS= R-cran-sandwich>0:${PORTSDIR}/math/R-cran-sandwich
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/finance/R-cran-lmtest/Makefile b/finance/R-cran-lmtest/Makefile
index 46e248a56f1c..7f1301fdaaaf 100644
--- a/finance/R-cran-lmtest/Makefile
+++ b/finance/R-cran-lmtest/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= R-cran-zoo>=0:${PORTSDIR}/math/R-cran-zoo \
R-cran-strucchange>0:${PORTSDIR}/finance/R-cran-strucchange \
R-cran-sandwich>=2.2.4:${PORTSDIR}/math/R-cran-sandwich
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/finance/R-cran-plm/Makefile b/finance/R-cran-plm/Makefile
index de23ece2ad61..3242ad36e5d7 100644
--- a/finance/R-cran-plm/Makefile
+++ b/finance/R-cran-plm/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= R-cran-bdsmatrix>0:${PORTSDIR}/math/R-cran-bdsmatrix \
R-cran-sandwich>0:${PORTSDIR}/math/R-cran-sandwich \
R-cran-zoo>0:${PORTSDIR}/math/R-cran-zoo
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/finance/R-cran-quantmod/Makefile b/finance/R-cran-quantmod/Makefile
index a5ce01af0505..21e1c17251db 100644
--- a/finance/R-cran-quantmod/Makefile
+++ b/finance/R-cran-quantmod/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= R-cran-Defaults>0:${PORTSDIR}/devel/R-cran-Defaults \
R-cran-zoo>0:${PORTSDIR}/math/R-cran-zoo \
R-cran-TTR>=0.2:${PORTSDIR}/finance/R-cran-TTR
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/finance/R-cran-strucchange/Makefile b/finance/R-cran-strucchange/Makefile
index 0e5df1ef4c25..b7e11b90e7c3 100644
--- a/finance/R-cran-strucchange/Makefile
+++ b/finance/R-cran-strucchange/Makefile
@@ -14,7 +14,6 @@ LICENSE= GPLv2
RUN_DEPENDS= R-cran-zoo>0:${PORTSDIR}/math/R-cran-zoo \
R-cran-sandwich>0:${PORTSDIR}/math/R-cran-sandwich
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/finance/R-cran-timeDate/Makefile b/finance/R-cran-timeDate/Makefile
index fc7de2562144..5eb5bbffac6e 100644
--- a/finance/R-cran-timeDate/Makefile
+++ b/finance/R-cran-timeDate/Makefile
@@ -13,7 +13,6 @@ COMMENT= Chronological and Calendar Objects
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/finance/R-cran-timeSeries/Makefile b/finance/R-cran-timeSeries/Makefile
index 4ac3b238e57b..4107222f1fdd 100644
--- a/finance/R-cran-timeSeries/Makefile
+++ b/finance/R-cran-timeSeries/Makefile
@@ -15,7 +15,6 @@ LICENSE_COMB= dual
RUN_DEPENDS= R-cran-timeDate>=2150.95:${PORTSDIR}/finance/R-cran-timeDate
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/finance/R-cran-tseries/Makefile b/finance/R-cran-tseries/Makefile
index 7f51fb37573a..3eed204143a4 100644
--- a/finance/R-cran-tseries/Makefile
+++ b/finance/R-cran-tseries/Makefile
@@ -18,7 +18,6 @@ BUILD_DEPENDS= R-cran-quadprog>0:${PORTSDIR}/math/R-cran-quadprog \
RUN_DEPENDS= R-cran-quadprog>0:${PORTSDIR}/math/R-cran-quadprog \
R-cran-zoo>0:${PORTSDIR}/math/R-cran-zoo
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/finance/R-cran-urca/Makefile b/finance/R-cran-urca/Makefile
index 4059a9abf60b..059dc678f96a 100644
--- a/finance/R-cran-urca/Makefile
+++ b/finance/R-cran-urca/Makefile
@@ -13,7 +13,6 @@ COMMENT= Unit root and cointegration tests for time series data
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/finance/R-cran-vars/Makefile b/finance/R-cran-vars/Makefile
index 53e64af456b7..f4ee525db370 100644
--- a/finance/R-cran-vars/Makefile
+++ b/finance/R-cran-vars/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= R-cran-strucchange>0:${PORTSDIR}/finance/R-cran-strucchange \
R-cran-lmtest>=0.9.26:${PORTSDIR}/finance/R-cran-lmtest \
R-cran-sandwich>=2.2.4:${PORTSDIR}/math/R-cran-sandwich
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/ftp/R-cran-RCurl/Makefile b/ftp/R-cran-RCurl/Makefile
index 9fbaa41e32d5..bcd1315d7357 100644
--- a/ftp/R-cran-RCurl/Makefile
+++ b/ftp/R-cran-RCurl/Makefile
@@ -16,7 +16,6 @@ BUILD_DEPENDS= curl-config:${PORTSDIR}/ftp/curl
RUN_DEPENDS= R-cran-bitops>0:${PORTSDIR}/devel/R-cran-bitops
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/graphics/R-cran-GDD/Makefile b/graphics/R-cran-GDD/Makefile
index e7ce8fca3921..70a3caab2a8d 100644
--- a/graphics/R-cran-GDD/Makefile
+++ b/graphics/R-cran-GDD/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/graphics/R-cran-RColorBrewer/Makefile b/graphics/R-cran-RColorBrewer/Makefile
index 71ed9c03af7a..0b4cca1ec8be 100644
--- a/graphics/R-cran-RColorBrewer/Makefile
+++ b/graphics/R-cran-RColorBrewer/Makefile
@@ -12,7 +12,6 @@ COMMENT= ColorBrewer palettes
LICENSE= AL2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/graphics/R-cran-colorspace/Makefile b/graphics/R-cran-colorspace/Makefile
index 400b1eea5461..9b1c01b541de 100644
--- a/graphics/R-cran-colorspace/Makefile
+++ b/graphics/R-cran-colorspace/Makefile
@@ -12,7 +12,6 @@ COMMENT= Color Space Manipulation
LICENSE= BSD
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/graphics/R-cran-diagram/Makefile b/graphics/R-cran-diagram/Makefile
index 67344d3798cd..267fe7acffef 100644
--- a/graphics/R-cran-diagram/Makefile
+++ b/graphics/R-cran-diagram/Makefile
@@ -15,7 +15,6 @@ LICENSE_COMB= dual
RUN_DEPENDS= R-cran-shape>0:${PORTSDIR}/graphics/R-cran-shape
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/graphics/R-cran-dichromat/Makefile b/graphics/R-cran-dichromat/Makefile
index d8536a86c9de..2f7fa0b95e7a 100644
--- a/graphics/R-cran-dichromat/Makefile
+++ b/graphics/R-cran-dichromat/Makefile
@@ -12,7 +12,6 @@ COMMENT= Color schemes for dichromats
LICENSE= GPLv2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/graphics/R-cran-ggplot2/Makefile b/graphics/R-cran-ggplot2/Makefile
index 5bebcf971e7f..72ad1e3bc93e 100644
--- a/graphics/R-cran-ggplot2/Makefile
+++ b/graphics/R-cran-ggplot2/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= R-cran-plyr>=1.7.1:${PORTSDIR}/devel/R-cran-plyr \
R-cran-scales>=0.2.3:${PORTSDIR}/graphics/R-cran-scales \
R-cran-proto>=0:${PORTSDIR}/devel/R-cran-proto
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/graphics/R-cran-munsell/Makefile b/graphics/R-cran-munsell/Makefile
index 49e08dad9d77..72a995812817 100644
--- a/graphics/R-cran-munsell/Makefile
+++ b/graphics/R-cran-munsell/Makefile
@@ -18,7 +18,6 @@ LICENSE_PERMS_CW= auto-accept
RUN_DEPENDS= R-cran-colorspace>0:${PORTSDIR}/graphics/R-cran-colorspace
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/graphics/R-cran-pixmap/Makefile b/graphics/R-cran-pixmap/Makefile
index 69f993e990b7..62c48ca7e673 100644
--- a/graphics/R-cran-pixmap/Makefile
+++ b/graphics/R-cran-pixmap/Makefile
@@ -12,7 +12,6 @@ COMMENT= Bitmap Images ("Pixel Maps")
LICENSE= GPLv2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/graphics/R-cran-png/Makefile b/graphics/R-cran-png/Makefile
index 3b95c5ceab84..f197fee93f19 100644
--- a/graphics/R-cran-png/Makefile
+++ b/graphics/R-cran-png/Makefile
@@ -15,7 +15,6 @@ LICENSE_COMB= dual
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/graphics/R-cran-rgdal/Makefile b/graphics/R-cran-rgdal/Makefile
index 2966563a0f60..28b6f61cb970 100644
--- a/graphics/R-cran-rgdal/Makefile
+++ b/graphics/R-cran-rgdal/Makefile
@@ -16,8 +16,7 @@ LIB_DEPENDS= gdal:${PORTSDIR}/graphics/gdal \
proj:${PORTSDIR}/graphics/proj
RUN_DEPENDS= R-cran-sp>=1.0.9:${PORTSDIR}/math/R-cran-sp
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
R_POSTCMD_INSTALL_OPTIONS+= --configure-args="--with-proj-lib=${LOCALBASE}/lib"
diff --git a/graphics/R-cran-rtiff/Makefile b/graphics/R-cran-rtiff/Makefile
index fd6f280a08ab..77d5a6745267 100644
--- a/graphics/R-cran-rtiff/Makefile
+++ b/graphics/R-cran-rtiff/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= R-cran-pixmap>0:${PORTSDIR}/graphics/R-cran-pixmap
LICENSE_FILE= ${WRKSRC}/LICENSE
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/graphics/R-cran-scales/Makefile b/graphics/R-cran-scales/Makefile
index b98c942d7af2..14cc7bc18654 100644
--- a/graphics/R-cran-scales/Makefile
+++ b/graphics/R-cran-scales/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= R-cran-RColorBrewer>=0:${PORTSDIR}/graphics/R-cran-RColorBrewer \
R-cran-plyr>=1.2:${PORTSDIR}/devel/R-cran-plyr \
R-cran-labeling>=0:${PORTSDIR}/math/R-cran-labeling
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/graphics/R-cran-shape/Makefile b/graphics/R-cran-shape/Makefile
index 5d11f1b5d605..3c5ef1e941e3 100644
--- a/graphics/R-cran-shape/Makefile
+++ b/graphics/R-cran-shape/Makefile
@@ -12,7 +12,6 @@ COMMENT= Functions for plotting graphical shapes, colors
LICENSE= GPLv3
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-ChangeAnomalyDetection/Makefile b/math/R-cran-ChangeAnomalyDetection/Makefile
index c7f35642edad..e43842924933 100644
--- a/math/R-cran-ChangeAnomalyDetection/Makefile
+++ b/math/R-cran-ChangeAnomalyDetection/Makefile
@@ -15,7 +15,6 @@ LICENSE= BSD
RUN_DEPENDS= R-cran-TTR>0:${PORTSDIR}/finance/R-cran-TTR \
R-cran-forecast>0:${PORTSDIR}/math/R-cran-forecast
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-Formula/Makefile b/math/R-cran-Formula/Makefile
index e144fbde28fb..833da87858ed 100644
--- a/math/R-cran-Formula/Makefile
+++ b/math/R-cran-Formula/Makefile
@@ -12,7 +12,6 @@ COMMENT= Extended Model Formulas
LICENSE= GPLv2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-KFAS/Makefile b/math/R-cran-KFAS/Makefile
index 79c2680f43bf..925d0aaa2d01 100644
--- a/math/R-cran-KFAS/Makefile
+++ b/math/R-cran-KFAS/Makefile
@@ -13,7 +13,6 @@ COMMENT= Kalman filter and smoothers for exponential family state space models
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-LearnBayes/Makefile b/math/R-cran-LearnBayes/Makefile
index 89698034362e..62699cdab848 100644
--- a/math/R-cran-LearnBayes/Makefile
+++ b/math/R-cran-LearnBayes/Makefile
@@ -13,7 +13,6 @@ COMMENT= Functions for Learning Bayesian Inference
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-MCMCpack/Makefile b/math/R-cran-MCMCpack/Makefile
index 9cb31045c15a..76b5bac8a723 100644
--- a/math/R-cran-MCMCpack/Makefile
+++ b/math/R-cran-MCMCpack/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= R-cran-coda>0.11.3:${PORTSDIR}/math/R-cran-coda
# Actually required 4.0 or later, but at least 4.2 in the FreeBSD ports tree
USE_GCC= 4.2+
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-RHmm/Makefile b/math/R-cran-RHmm/Makefile
index 20cd9af59bfb..635567341100 100644
--- a/math/R-cran-RHmm/Makefile
+++ b/math/R-cran-RHmm/Makefile
@@ -13,7 +13,6 @@ COMMENT= Hidden Markov Models simulations and estimations
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-RSvgDevice/Makefile b/math/R-cran-RSvgDevice/Makefile
index 99ec9839bfaa..65b9b71fc12f 100644
--- a/math/R-cran-RSvgDevice/Makefile
+++ b/math/R-cran-RSvgDevice/Makefile
@@ -13,7 +13,6 @@ COMMENT= A R SVG graphics device
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-RcppArmadillo/Makefile b/math/R-cran-RcppArmadillo/Makefile
index 467f85d9a748..c0075cb5ecf9 100644
--- a/math/R-cran-RcppArmadillo/Makefile
+++ b/math/R-cran-RcppArmadillo/Makefile
@@ -14,7 +14,6 @@ LICENSE_COMB= dual
RUN_DEPENDS= R-cran-Rcpp>=0.10.5:${PORTSDIR}/devel/R-cran-Rcpp
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-SuppDists/Makefile b/math/R-cran-SuppDists/Makefile
index 7b182ecca426..da3cf5d366e3 100644
--- a/math/R-cran-SuppDists/Makefile
+++ b/math/R-cran-SuppDists/Makefile
@@ -17,8 +17,7 @@ COMMENT= Supplementary distributions and RNG for R
LICENSE= GPLv2
BENCHMARK_SCRIPT= R-benchmark-25.R
-R_MOD_AUTOPLIST= yes
-USE_R_MOD= yes
+USES= cran:auto-plist
WRKSRC = ${WRKDIR}/${PORTNAME}
.if defined(MAINTAINER_MODE)
diff --git a/math/R-cran-Zelig/Makefile b/math/R-cran-Zelig/Makefile
index c318119f02f2..506400354f5d 100644
--- a/math/R-cran-Zelig/Makefile
+++ b/math/R-cran-Zelig/Makefile
@@ -13,7 +13,6 @@ COMMENT= Everyone's Statistical Software
BUILD_DEPENDS= R-cran-sandwich>=0:${PORTSDIR}/math/R-cran-sandwich
RUN_DEPENDS= R-cran-sandwich>=0:${PORTSDIR}/math/R-cran-sandwich
-USE_R_MOD= yes
-R_MOD_AUTOPLIST=yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-bdsmatrix/Makefile b/math/R-cran-bdsmatrix/Makefile
index 23972b108e44..fb5b1c8fc1b0 100644
--- a/math/R-cran-bdsmatrix/Makefile
+++ b/math/R-cran-bdsmatrix/Makefile
@@ -12,7 +12,6 @@ COMMENT= Routines for Block Diagonal Symmetric matrices
LICENSE= LGPL20
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-car/Makefile b/math/R-cran-car/Makefile
index 410f25fa8b55..49524e3216ba 100644
--- a/math/R-cran-car/Makefile
+++ b/math/R-cran-car/Makefile
@@ -12,7 +12,6 @@ COMMENT= Companion to Applied Regression for R
LICENSE= GPLv2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-coda/Makefile b/math/R-cran-coda/Makefile
index 7ba985e87e83..d4fec0a3ea1a 100644
--- a/math/R-cran-coda/Makefile
+++ b/math/R-cran-coda/Makefile
@@ -10,7 +10,6 @@ DISTNAME= ${PORTNAME}_${DISTVERSION}
MAINTAINER= wen@FreeBSD.org
COMMENT= Output analysis and diagnostics for MCMC
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-deldir/Makefile b/math/R-cran-deldir/Makefile
index 28ac1db7c527..a93b8074a947 100644
--- a/math/R-cran-deldir/Makefile
+++ b/math/R-cran-deldir/Makefile
@@ -13,7 +13,6 @@ COMMENT= Delaunay Triangulation and Dirichlet (Voronoi) Tessellation
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-dlmodeler/Makefile b/math/R-cran-dlmodeler/Makefile
index 1976515f95c9..5c32faa27cbc 100644
--- a/math/R-cran-dlmodeler/Makefile
+++ b/math/R-cran-dlmodeler/Makefile
@@ -13,7 +13,6 @@ COMMENT= Generalized Dynamic Linear Modeler
LICENSE= GPLv2 GPLv3 BSD
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-forecast/Makefile b/math/R-cran-forecast/Makefile
index d4291d7a953b..40569cd7694e 100644
--- a/math/R-cran-forecast/Makefile
+++ b/math/R-cran-forecast/Makefile
@@ -20,7 +20,6 @@ RUN_DEPENDS= R-cran-tseries>0:${PORTSDIR}/finance/R-cran-tseries \
R-cran-RcppArmadillo>=0.2.35:${PORTSDIR}/math/R-cran-RcppArmadillo \
R-cran-colorspace>0:${PORTSDIR}/graphics/R-cran-colorspace
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-fracdiff/Makefile b/math/R-cran-fracdiff/Makefile
index 4c4fd08a11e7..cdf2ac3fb79f 100644
--- a/math/R-cran-fracdiff/Makefile
+++ b/math/R-cran-fracdiff/Makefile
@@ -13,7 +13,6 @@ COMMENT= Fractionally differenced ARIMA aka ARFIMA(p,d,q) models
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-gpclib/Makefile b/math/R-cran-gpclib/Makefile
index cac005127b50..f0ee9dc17b32 100644
--- a/math/R-cran-gpclib/Makefile
+++ b/math/R-cran-gpclib/Makefile
@@ -10,7 +10,6 @@ DISTNAME= ${PORTNAME}_${DISTVERSION}
MAINTAINER= wen@FreeBSD.org
COMMENT= General Polygon Clipping Library for R
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-gss/Makefile b/math/R-cran-gss/Makefile
index acab45b520e1..d6d48677f296 100644
--- a/math/R-cran-gss/Makefile
+++ b/math/R-cran-gss/Makefile
@@ -12,7 +12,6 @@ COMMENT= General Smoothing Splines
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-gtable/Makefile b/math/R-cran-gtable/Makefile
index c8c5146c4f7e..ae9e4d061080 100644
--- a/math/R-cran-gtable/Makefile
+++ b/math/R-cran-gtable/Makefile
@@ -11,7 +11,6 @@ COMMENT= Arrange grobs in tables
LICENSE= GPLv2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-igraph/Makefile b/math/R-cran-igraph/Makefile
index 0cea4173b518..b7a6032a6239 100644
--- a/math/R-cran-igraph/Makefile
+++ b/math/R-cran-igraph/Makefile
@@ -12,8 +12,7 @@ COMMENT= R extension package for igraph
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.pre.mk>
diff --git a/math/R-cran-inline/Makefile b/math/R-cran-inline/Makefile
index f440e6c17595..ed2bc87babcf 100644
--- a/math/R-cran-inline/Makefile
+++ b/math/R-cran-inline/Makefile
@@ -10,7 +10,6 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= wen@FreeBSD.org
COMMENT= Inline C, C++, Fortran function calls from R
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-labeling/Makefile b/math/R-cran-labeling/Makefile
index c8fd02f62553..e55e3cccc357 100644
--- a/math/R-cran-labeling/Makefile
+++ b/math/R-cran-labeling/Makefile
@@ -12,7 +12,6 @@ COMMENT= Provides a range of axis labeling algorithms
LICENSE= MIT
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-memisc/Makefile b/math/R-cran-memisc/Makefile
index 05d840b5ce55..de55bb7db64b 100644
--- a/math/R-cran-memisc/Makefile
+++ b/math/R-cran-memisc/Makefile
@@ -12,7 +12,6 @@ COMMENT= Provides an infrastructure for the management of survey data
LICENSE= GPLv2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-mvtnorm/Makefile b/math/R-cran-mvtnorm/Makefile
index 2255af680303..5577b769db5e 100644
--- a/math/R-cran-mvtnorm/Makefile
+++ b/math/R-cran-mvtnorm/Makefile
@@ -10,7 +10,6 @@ DISTNAME= ${PORTNAME}_${PORTVERSION:C/\./-/g:C/-/\./1}
MAINTAINER= wen@FreeBSD.org
COMMENT= Multivariate Normal and t Distributions
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-nnls/Makefile b/math/R-cran-nnls/Makefile
index 10585c176b93..95107f1cf83c 100644
--- a/math/R-cran-nnls/Makefile
+++ b/math/R-cran-nnls/Makefile
@@ -12,7 +12,6 @@ COMMENT= R implementation of an algorithm for non-negative least squares
LICENSE= GPLv2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-outliers/Makefile b/math/R-cran-outliers/Makefile
index d2974356fa11..071f5b7ddb16 100644
--- a/math/R-cran-outliers/Makefile
+++ b/math/R-cran-outliers/Makefile
@@ -10,7 +10,6 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Collection of some tests commonly used for identifying outliers
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-psych/Makefile b/math/R-cran-psych/Makefile
index 55e6ec64a578..f397fd209eaa 100644
--- a/math/R-cran-psych/Makefile
+++ b/math/R-cran-psych/Makefile
@@ -10,7 +10,6 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= drue@therub.org
COMMENT= Psych package for the R project
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-quadprog/Makefile b/math/R-cran-quadprog/Makefile
index 310e236afcf7..135749510e8e 100644
--- a/math/R-cran-quadprog/Makefile
+++ b/math/R-cran-quadprog/Makefile
@@ -13,7 +13,6 @@ COMMENT= Functions to solve Quadratic Programming Problems
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-sandwich/Makefile b/math/R-cran-sandwich/Makefile
index a475b49d972c..ab6cc8476f25 100644
--- a/math/R-cran-sandwich/Makefile
+++ b/math/R-cran-sandwich/Makefile
@@ -14,7 +14,6 @@ LICENSE= GPLv2
RUN_DEPENDS= R-cran-zoo>0:${PORTSDIR}/math/R-cran-zoo
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-sm/Makefile b/math/R-cran-sm/Makefile
index ad104f1310b4..8cd68275b7da 100644
--- a/math/R-cran-sm/Makefile
+++ b/math/R-cran-sm/Makefile
@@ -10,7 +10,6 @@ DISTNAME= ${PORTNAME}_${DISTVERSION}
MAINTAINER= wen@FreeBSD.org
COMMENT= Smoothing methods for nonparametric regression and density estimation
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-sp/Makefile b/math/R-cran-sp/Makefile
index 1dea766f39c2..c2159f35ca17 100644
--- a/math/R-cran-sp/Makefile
+++ b/math/R-cran-sp/Makefile
@@ -13,7 +13,6 @@ COMMENT= R Classes and Methods for Spatial Data
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-spdep/Makefile b/math/R-cran-spdep/Makefile
index f0f82037b192..e5a8d2b79c5d 100644
--- a/math/R-cran-spdep/Makefile
+++ b/math/R-cran-spdep/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= R-cran-sp>=0.9:${PORTSDIR}/math/R-cran-sp \
R-cran-coda>0:${PORTSDIR}/math/R-cran-coda \
R-cran-LearnBayes>0:${PORTSDIR}/math/R-cran-LearnBayes
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-sspir/Makefile b/math/R-cran-sspir/Makefile
index 05d252e150d7..42c6663d9eb0 100644
--- a/math/R-cran-sspir/Makefile
+++ b/math/R-cran-sspir/Makefile
@@ -13,8 +13,7 @@ COMMENT= A glm-like formula to define dynamic generalized linear models
RUN_DEPENDS= R-cran-mvtnorm>=0.9.96_11:${PORTSDIR}/math/R-cran-mvtnorm \
R-cran-KFAS>=0.9.11_3:${PORTSDIR}/math/R-cran-KFAS
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-stabledist/Makefile b/math/R-cran-stabledist/Makefile
index 0a42f011a77b..23d1a7b9768e 100644
--- a/math/R-cran-stabledist/Makefile
+++ b/math/R-cran-stabledist/Makefile
@@ -13,7 +13,6 @@ COMMENT= Stable Distribution Functions
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-xts/Makefile b/math/R-cran-xts/Makefile
index 91ff87730fa7..2be21d64e86c 100644
--- a/math/R-cran-xts/Makefile
+++ b/math/R-cran-xts/Makefile
@@ -15,7 +15,6 @@ LICENSE_COMB= dual
RUN_DEPENDS= R-cran-zoo>=1.7.10:${PORTSDIR}/math/R-cran-zoo
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/math/R-cran-zoo/Makefile b/math/R-cran-zoo/Makefile
index 0ca119239693..30f330826483 100644
--- a/math/R-cran-zoo/Makefile
+++ b/math/R-cran-zoo/Makefile
@@ -12,7 +12,6 @@ COMMENT= S3 Infrastructure for Regular and Irregular Time Series
LICENSE= GPLv2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/net/R-cran-twitteR/Makefile b/net/R-cran-twitteR/Makefile
index d0e4f4e22bad..0430ff675505 100644
--- a/net/R-cran-twitteR/Makefile
+++ b/net/R-cran-twitteR/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= R-cran-RCurl>0:${PORTSDIR}/ftp/R-cran-RCurl \
R-cran-rjson>=0.2.12:${PORTSDIR}/converters/R-cran-rjson \
R-cran-ROAuth>=0.9.3:${PORTSDIR}/security/R-cran-ROAuth
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/science/R-cran-AMORE/Makefile b/science/R-cran-AMORE/Makefile
index c659fe102312..0315055b457b 100644
--- a/science/R-cran-AMORE/Makefile
+++ b/science/R-cran-AMORE/Makefile
@@ -10,7 +10,6 @@ DISTNAME= ${PORTNAME}_${PORTVERSION:C/\./-/g:C/-/\./1}
MAINTAINER= wen@FreeBSD.org
COMMENT= A MORE flexible neural network package
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/science/R-cran-DCluster/Makefile b/science/R-cran-DCluster/Makefile
index 864d8f97ead5..f019af4f1ca6 100644
--- a/science/R-cran-DCluster/Makefile
+++ b/science/R-cran-DCluster/Makefile
@@ -15,7 +15,6 @@ LICENSE_COMB= dual
RUN_DEPENDS= R-cran-spdep>0:${PORTSDIR}/math/R-cran-spdep
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/science/R-cran-Epi/Makefile b/science/R-cran-Epi/Makefile
index 9cba92d1f900..dce4ccfca99c 100644
--- a/science/R-cran-Epi/Makefile
+++ b/science/R-cran-Epi/Makefile
@@ -12,7 +12,6 @@ COMMENT= Package for statistical analysis in epidemiology
LICENSE= GPLv2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/science/R-cran-bayesm/Makefile b/science/R-cran-bayesm/Makefile
index c97b11cfea82..170da2970db2 100644
--- a/science/R-cran-bayesm/Makefile
+++ b/science/R-cran-bayesm/Makefile
@@ -10,7 +10,6 @@ DISTNAME= ${PORTNAME}_${PORTVERSION:C/\./-/g:C/-/\./1}
MAINTAINER= wen@FreeBSD.org
COMMENT= Bayesian Inference for Marketing/Micro-econometrics
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/science/R-cran-e1071/Makefile b/science/R-cran-e1071/Makefile
index ce539f9f82fc..c1f281efe977 100644
--- a/science/R-cran-e1071/Makefile
+++ b/science/R-cran-e1071/Makefile
@@ -12,7 +12,6 @@ COMMENT= Misc Functions of the Department of Statistics (e1071), TU Wien
LICENSE= GPLv2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/science/R-cran-eco/Makefile b/science/R-cran-eco/Makefile
index 8ff0f31d7aaa..a334d2c0b29f 100644
--- a/science/R-cran-eco/Makefile
+++ b/science/R-cran-eco/Makefile
@@ -10,7 +10,6 @@ DISTNAME= ${PORTNAME}_${PORTVERSION:C/\./-/g:C/-/\./1}
MAINTAINER= wen@FreeBSD.org
COMMENT= R Package for Ecological Inference in 2x2 Tables
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/science/R-cran-epicalc/Makefile b/science/R-cran-epicalc/Makefile
index 514972958b61..e6183c54eea4 100644
--- a/science/R-cran-epicalc/Makefile
+++ b/science/R-cran-epicalc/Makefile
@@ -10,7 +10,6 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= wen@FreeBSD.org
COMMENT= Epidemiological calculator
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/science/R-cran-snow/Makefile b/science/R-cran-snow/Makefile
index bf6769fbec58..d3c983506a34 100644
--- a/science/R-cran-snow/Makefile
+++ b/science/R-cran-snow/Makefile
@@ -13,7 +13,6 @@ COMMENT= Support for simple parallel computing in R
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/science/R-cran-som/Makefile b/science/R-cran-som/Makefile
index 8bbc2b9636db..1e08a3bfe604 100644
--- a/science/R-cran-som/Makefile
+++ b/science/R-cran-som/Makefile
@@ -12,7 +12,6 @@ COMMENT= Self-Organizing Map
LICENSE= GPLv3
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/security/R-cran-ROAuth/Makefile b/security/R-cran-ROAuth/Makefile
index c5e195f88d0e..54c086a85300 100644
--- a/security/R-cran-ROAuth/Makefile
+++ b/security/R-cran-ROAuth/Makefile
@@ -15,7 +15,6 @@ LICENSE= ART20
RUN_DEPENDS= R-cran-RCurl>=1.6.4:${PORTSDIR}/ftp/R-cran-RCurl \
R-cran-digest>0:${PORTSDIR}/security/R-cran-digest
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/security/R-cran-digest/Makefile b/security/R-cran-digest/Makefile
index b22401bdcb8c..4b5d221b9d12 100644
--- a/security/R-cran-digest/Makefile
+++ b/security/R-cran-digest/Makefile
@@ -12,7 +12,6 @@ COMMENT= Create cryptographic hash digests of R objects
LICENSE= GPLv2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/textproc/R-cran-R2HTML/Makefile b/textproc/R-cran-R2HTML/Makefile
index 94f8ea5c9a35..1974823a1c7f 100644
--- a/textproc/R-cran-R2HTML/Makefile
+++ b/textproc/R-cran-R2HTML/Makefile
@@ -12,7 +12,6 @@ COMMENT= HTML exportation for R objects
LICENSE= GPLv2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/textproc/R-cran-XML/Makefile b/textproc/R-cran-XML/Makefile
index 3b7892829110..8218f7165d2e 100644
--- a/textproc/R-cran-XML/Makefile
+++ b/textproc/R-cran-XML/Makefile
@@ -12,8 +12,7 @@ COMMENT= Tools for parsing and generating XML
LICENSE= BSD
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
USE_GNOME= libxml2
.include <bsd.port.mk>
diff --git a/textproc/R-cran-stringr/Makefile b/textproc/R-cran-stringr/Makefile
index a2afaf17afbc..8ae55d4f7f4d 100644
--- a/textproc/R-cran-stringr/Makefile
+++ b/textproc/R-cran-stringr/Makefile
@@ -14,7 +14,6 @@ LICENSE= GPLv2
RUN_DEPENDS= R-cran-plyr>0:${PORTSDIR}/devel/R-cran-plyr
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/textproc/R-cran-xtable/Makefile b/textproc/R-cran-xtable/Makefile
index 2815c2e8000e..bc650f6442c0 100644
--- a/textproc/R-cran-xtable/Makefile
+++ b/textproc/R-cran-xtable/Makefile
@@ -13,7 +13,6 @@ COMMENT= Export tables to LaTeX or HTML
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/www/R-cran-RgoogleMaps/Makefile b/www/R-cran-RgoogleMaps/Makefile
index eaafa768f912..772c569316c3 100644
--- a/www/R-cran-RgoogleMaps/Makefile
+++ b/www/R-cran-RgoogleMaps/Makefile
@@ -16,7 +16,6 @@ LICENSE_COMB= dual
RUN_DEPENDS= R-cran-png>0:${PORTSDIR}/graphics/R-cran-png \
R-cran-RJSONIO>0:${PORTSDIR}/converters/R-cran-RJSONIO
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/www/R-cran-Rpad/Makefile b/www/R-cran-Rpad/Makefile
index d2e9dd3d40fc..6d9191bb6486 100644
--- a/www/R-cran-Rpad/Makefile
+++ b/www/R-cran-Rpad/Makefile
@@ -12,7 +12,6 @@ COMMENT= Workbook-style, web-based interface to R
LICENSE= GPLv2
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/www/R-cran-httpuv/Makefile b/www/R-cran-httpuv/Makefile
index b96ac974b8bb..89315329ac65 100644
--- a/www/R-cran-httpuv/Makefile
+++ b/www/R-cran-httpuv/Makefile
@@ -17,10 +17,7 @@ LICENSE_PERMS_NODE= auto-accept
RUN_DEPENDS= R-cran-Rcpp>=0.10.2:${PORTSDIR}/devel/R-cran-Rcpp
-USE_GMAKE= yes
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
-
-MAKE_ENV= MAKE=${GMAKE}
+MAKE_ENV= MAKE=${MAKE_CMD}
+USES= cran:auto-plist gmake
.include <bsd.port.mk>
diff --git a/www/R-cran-scrapeR/Makefile b/www/R-cran-scrapeR/Makefile
index 2d260424c1de..224d67b48ed1 100644
--- a/www/R-cran-scrapeR/Makefile
+++ b/www/R-cran-scrapeR/Makefile
@@ -13,7 +13,6 @@ COMMENT= Tools for Scraping Data from HTML and XML Documents
RUN_DEPENDS= R-cran-XML>0:${PORTSDIR}/textproc/R-cran-XML \
R-cran-RCurl>0:${PORTSDIR}/ftp/R-cran-RCurl
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/www/R-cran-shiny/Makefile b/www/R-cran-shiny/Makefile
index 3d9ede25ffc9..7fc91cc1b643 100644
--- a/www/R-cran-shiny/Makefile
+++ b/www/R-cran-shiny/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= R-cran-httpuv>=1.2.0:${PORTSDIR}/www/R-cran-httpuv \
R-cran-xtable>0:${PORTSDIR}/textproc/R-cran-xtable \
R-cran-digest>0:${PORTSDIR}/security/R-cran-digest
-USE_R_MOD= yes
-R_MOD_AUTOPLIST= yes
+USES= cran:auto-plist
.include <bsd.port.mk>