summaryrefslogtreecommitdiff
path: root/devel/R-cliapp/Makefile
blob: d0c3b909203ba03974073838373022b9b75a9e28 (plain)
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
# $NetBSD: Makefile,v 1.5 2020/12/13 23:24:45 mef Exp $

R_PKGNAME=	cliapp
R_PKGVER=	0.1.1
CATEGORIES=	devel

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Create Rich Command Line Applications
LICENSE=	mit	# + file LICENSE

DEPENDS+=	R-cli>=1.1.0:../../devel/R-cli
DEPENDS+=	R-crayon>=1.3.4:../../devel/R-crayon
DEPENDS+=	R-fansi>=0.4.0:../../devel/R-fansi
DEPENDS+=	R-glue>=1.3.0:../../devel/R-glue
DEPENDS+=	R-withr>=2.1.2:../../devel/R-withr
DEPENDS+=	R-xml2>=1.2.2nb1:../../textproc/R-xml2
DEPENDS+=	R-selectr-[0-9]*:../../textproc/R-selectr
DEPENDS+=	R-prettycode-[0-9]*:../../devel/R-prettycode

TEST_DEPENDS+=	R-progress-[0-9]*:../../sysutils/R-progress
TEST_DEPENDS+=	R-callr-[0-9]*:../../devel/R-callr
TEST_DEPENDS+=	R-covr-[0-9]*:../../devel/R-covr
TEST_DEPENDS+=	R-rstudioapi-[0-9]*:../../math/R-rstudioapi

USE_LANGUAGES=	# none

REPLACE_INTERPRETER+=   r
REPLACE.r.old=          .*R
REPLACE.r.new=          ${PREFIX}/bin/R
REPLACE_FILES.r=        inst/scripts/news.R \
			inst/scripts/outdated.R \
			inst/scripts/search.R \
			inst/scripts/up.R

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