# $NetBSD: Makefile,v 1.4 2024/11/29 23:37:28 mef Exp $

R_PKGNAME=	rosm
R_PKGVER=	0.3.0
CATEGORIES=	geography

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Plot Raster Map Tiles from Open Street Map and Other Sources
LICENSE=	gnu-gpl-v2

DEPENDS+=	R-abind>=1.4.5:../../math/R-abind
DEPENDS+=	R-curl>=4.3:../../www/R-curl
DEPENDS+=	R-glue-[0-9]*:../../devel/R-glue
DEPENDS+=	R-jpeg>=0.1.8.1:../../graphics/R-jpeg
DEPENDS+=	R-plyr>=1.8.6:../../math/R-plyr
DEPENDS+=	R-png>=0.1.7:../../graphics/R-png
DEPENDS+=	R-prettymapr>=0.2.2:../../geography/R-prettymapr
DEPENDS+=	R-progress-[0-9]*:../../sysutils/R-progress
DEPENDS+=	R-rjson>=0.2.20:../../textproc/R-rjson
DEPENDS+=	R-rlang-[0-9]*:../../devel/R-rlang
DEPENDS+=	R-wk-[0-9]*:../../geography/R-wk

# Packages suggested but not available: 'tiff', 'vdiffr'

TEST_DEPENDS+=	R-cartography-[0-9]*:../../geography/R-cartography
TEST_DEPENDS+=	R-covr-[0-9]*:../../devel/R-covr
TEST_DEPENDS+=	R-testthat-[0-9]*:../../devel/R-testthat
TEST_DEPENDS+=	R-withr-[0-9]*:../../devel/R-withr

USE_LANGUAGES=	# none

.include "../../math/R/Makefile.extension"
.include "../../math/R-sp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
