summaryrefslogtreecommitdiff
path: root/devel/R-cli/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/R-cli/Makefile')
-rw-r--r--devel/R-cli/Makefile18
1 files changed, 16 insertions, 2 deletions
diff --git a/devel/R-cli/Makefile b/devel/R-cli/Makefile
index 1e6ad650581..758ef6a2022 100644
--- a/devel/R-cli/Makefile
+++ b/devel/R-cli/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2019/08/08 19:53:38 brook Exp $
+# $NetBSD: Makefile,v 1.7 2020/09/20 21:22:02 mef Exp $
R_PKGNAME= cli
-R_PKGVER= 1.1.0
+R_PKGVER= 2.0.2
CATEGORIES= devel
MAINTAINER= minskim@NetBSD.org
@@ -11,7 +11,21 @@ LICENSE= mit
DEPENDS+= R-assertthat>=0.2.1:../../devel/R-assertthat
DEPENDS+= R-crayon>=1.3.4:../../devel/R-crayon
+TEST_DEPENDS+= R-mockery-[0-9]*:../../devel/R-mockery
+TEST_DEPENDS+= R-prettycode-[0-9]*:../../devel/R-prettycode
+TEST_DEPENDS+= R-covr-[0-9]*:../../devel/R-covr
+TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr
+TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
+
USE_LANGUAGES= # none
+REPLACE_RSCRIPT+= inst/examples/apps/*.R
+REPLACE_RSCRIPT+= inst/scripts/*.R
+
+REPLACE_INTERPRETER+= Rscript
+REPLACE.Rscript.old= .*Rscript
+REPLACE.Rscript.new= ${PREFIX}/bin/Rscript
+REPLACE_FILES.Rscript= ${REPLACE_RSCRIPT}
+
.include "../../math/R/Makefile.extension"
.include "../../mk/bsd.pkg.mk"