diff options
| author | Zsolt Udvari <uzsolt@FreeBSD.org> | 2025-03-16 14:02:53 +0000 |
|---|---|---|
| committer | Zsolt Udvari <uzsolt@FreeBSD.org> | 2025-03-16 14:04:48 +0000 |
| commit | ea8f8ece291c19f031c4697650f6ddbbc067d770 (patch) | |
| tree | 9db625d92f9f8f023f52d00c9be28dd65c647434 | |
| parent | b3f4cba65cd9aad8fdef0ec786cd7473b983605c (diff) | |
ftp/R-cran-curl: Remove pdflatex from TEST_DEPENDS
Copy the do-test target from cran.mk, add --no-manual to parameters of
'R CMD check' (and skip --no-build-vignettes option).
| -rw-r--r-- | ftp/R-cran-curl/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ftp/R-cran-curl/Makefile b/ftp/R-cran-curl/Makefile index 5314f2ee8cb3..35f74eac7152 100644 --- a/ftp/R-cran-curl/Makefile +++ b/ftp/R-cran-curl/Makefile @@ -11,8 +11,7 @@ LICENSE= MIT BUILD_DEPENDS= ${LOCALBASE}/include/curl/curl.h:ftp/curl LIB_DEPENDS= libcurl.so:ftp/curl -TEST_DEPENDS= pdflatex:print/tex-formats \ - R-cran-httpuv>=1.4.4:www/R-cran-httpuv \ +TEST_DEPENDS= R-cran-httpuv>=1.4.4:www/R-cran-httpuv \ R-cran-jsonlite>0:converters/R-cran-jsonlite \ R-cran-knitr>0:print/R-cran-knitr \ R-cran-later>0:devel/R-cran-later \ @@ -23,6 +22,9 @@ TEST_DEPENDS= pdflatex:print/tex-formats \ USES= cran:auto-plist,compiles -R_POSTCMD_CHECK_OPTIONS= --no-timings --no-manual +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> |
