aboutsummaryrefslogtreecommitdiffstats
path: root/devel/R-cran-lintr/Makefile
blob: 21c461a1a73accdcf2f3e00c693775732fe20454 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
PORTNAME=	lintr
DISTVERSION=	3.2.0
CATEGORIES=	devel
DISTNAME=	${PORTNAME}_${DISTVERSION}

MAINTAINER=	uzsolt@FreeBSD.org
COMMENT=	Linter for R Code
WWW=		https://github.com/r-lib/lintr

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	R-cran-knitr>0:print/R-cran-knitr
RUN_DEPENDS=	R-cran-backports>=1.1.7:math/R-cran-backports \
		R-cran-cyclocomp>0:devel/R-cran-cyclocomp \
		R-cran-digest>0:security/R-cran-digest \
		R-cran-glue>0:devel/R-cran-glue \
		R-cran-knitr>0:print/R-cran-knitr \
		R-cran-rex>0:textproc/R-cran-rex \
		R-cran-xml2>=1.0.0:textproc/R-cran-xml2 \
		R-cran-xmlparsedata>=1.0.5:textproc/R-cran-xmlparsedata
TEST_DEPENDS=	R-cran-crayon>0:devel/R-cran-crayon \
		R-cran-httr>=1.2.1:www/R-cran-httr \
		R-cran-jsonlite>0:converters/R-cran-jsonlite \
		R-cran-mockery>0:devel/R-cran-mockery \
		R-cran-patrick>0:devel/R-cran-patrick \
		R-cran-rlang>0:devel/R-cran-rlang \
		R-cran-rmarkdown>0:textproc/R-cran-rmarkdown \
		R-cran-rstudioapi>=0.2:devel/R-cran-rstudioapi \
		R-cran-testthat>=3.1.5:devel/R-cran-testthat \
		R-cran-tibble>0:devel/R-cran-tibble \
		R-cran-withr>=2.5.0:devel/R-cran-withr

USES=		cran:auto-plist

MAKE_ENV=	LC_ALL=C.UTF-8

post-install:
	@${ECHO_CMD} "@dir ${R_MOD_DIR}/help/figures" >> ${TMPPLIST}

.include <bsd.port.mk>