git: ea8f8ece291c - main - ftp/R-cran-curl: Remove pdflatex from TEST_DEPENDS

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Sun, 16 Mar 2025 14:04:59 UTC
The branch main has been updated by uzsolt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ea8f8ece291c19f031c4697650f6ddbbc067d770

commit ea8f8ece291c19f031c4697650f6ddbbc067d770
Author:     Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2025-03-16 14:02:53 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2025-03-16 14:04:48 +0000

    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).
---
 ftp/R-cran-curl/Makefile | 8 +++++---
 1 file 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>