diff options
Diffstat (limited to 'devel/R-cran-systemfonts/Makefile')
-rw-r--r-- | devel/R-cran-systemfonts/Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/devel/R-cran-systemfonts/Makefile b/devel/R-cran-systemfonts/Makefile index 73089ad0e782..d7a53b347311 100644 --- a/devel/R-cran-systemfonts/Makefile +++ b/devel/R-cran-systemfonts/Makefile @@ -1,5 +1,5 @@ PORTNAME= systemfonts -DISTVERSION= 1.2.3 +DISTVERSION= 1.3.1 CATEGORIES= devel DISTNAME= ${PORTNAME}_${DISTVERSION} @@ -19,13 +19,22 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ RUN_DEPENDS= ${CRAN_DEPENDS} TEST_DEPENDS= R-cran-covr>0:devel/R-cran-covr \ R-cran-farver>0:graphics/R-cran-farver \ + R-cran-ggplot2>0:graphics/R-cran-ggplot2 \ R-cran-knitr>0:print/R-cran-knitr \ + R-cran-ragg>0:graphics/R-cran-ragg \ R-cran-rmarkdown>0:textproc/R-cran-rmarkdown \ - R-cran-testthat>=2.1.0:devel/R-cran-testthat \ - xorg-fonts-truetype>0:x11-fonts/xorg-fonts-truetype + R-cran-testthat>=2.1.0:devel/R-cran-testthat USES= cran:auto-plist,compiles pkgconfig -TESTING_UNSAFE= Test is non-deterministic, see also https://github.com/r-lib/systemfonts/pull/130 +pre-test: + # R-cran-svglite package does not exist yet + @${LOCALBASE}/bin/Rscript -e 'install.packages("svglite", \ + repos = "https://cloud.r-project.org")' + +do-test: + @${FIND} ${WRKSRC} \( -name '*.o' -o -name '*.so' \) -delete + @cd ${WRKDIR} ; ${SETENV} ${MAKE_ENV} _R_CHECK_FORCE_SUGGESTS_=FALSE \ + ${LOCALBASE}/bin/R CMD check --no-manual ${PORTNAME} .include <bsd.port.mk> |