PORTNAME=	fs
DISTVERSION=	2.0.1
CATEGORIES=	filesystems sysutils
DISTNAME=	${PORTNAME}_${DISTVERSION}

MAINTAINER=	uzsolt@FreeBSD.org
COMMENT=	Cross-Platform File System Operations Based on 'libuv'
WWW=		https://fs.r-lib.org

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libuv.so:devel/libuv
TEST_DEPENDS=	R-cran-covr>0:devel/R-cran-covr \
		R-cran-crayon>0:devel/R-cran-crayon \
		R-cran-knitr>0:print/R-cran-knitr \
		R-cran-pillar>=1.0.0:devel/R-cran-pillar \
		R-cran-rmarkdown>0:textproc/R-cran-rmarkdown \
		R-cran-spelling>0:textproc/R-cran-spelling \
		R-cran-testthat>=3.0.0:devel/R-cran-testthat \
		R-cran-tibble>=1.1.0:devel/R-cran-tibble \
		R-cran-vctrs>=0.3.0:devel/R-cran-vctrs \
		R-cran-withr>0:devel/R-cran-withr

USES=		cran:auto-plist,compiles pkgconfig

.include <bsd.port.mk>
