summaryrefslogtreecommitdiff
path: root/print/R-knitr/Makefile
blob: de63390213a72e15f51059235b8ccb92244de3b9 (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
# $NetBSD: Makefile,v 1.3 2016/04/16 15:04:36 wen Exp $

CATEGORIES=	print
MASTER_SITES=	${MASTER_SITE_R_CRAN:=contrib/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	${R_HOMEPAGE_BASE}/knitr/
COMMENT=	General-purpose package for dynamic report generation in R
LICENSE=	gnu-gpl-v2 OR gnu-gpl-v3

R_PKGNAME=	knitr
R_PKGVER=	1.12.3

DEPENDS+=	R-evaluate>=0.8:../../devel/R-evaluate
DEPENDS+=	R-digest>=0.6.4:../../security/R-digest
DEPENDS+=	R-formatR>=0.10:../../textproc/R-formatR
DEPENDS+=	R-highr>=0.3:../../textproc/R-highr
DEPENDS+=	R-markdown>=0.6.5:../../textproc/R-markdown
DEPENDS+=	R-stringr>=0.6:../../textproc/R-stringr
DEPENDS+=	R-yaml>=2.1.5:../../textproc/R-yaml

REPLACE_RSCRIPT+=	inst/bin/knit
REPLACE_RSCRIPT+=	inst/examples/knit-all.R

REPLACE_INTERPRETER+=	Rscript
REPLACE.Rscript.old=	.*Rscript
REPLACE.Rscript.new=	${PREFIX}/bin/Rscript
REPLACE_FILES.Rscript=	${REPLACE_RSCRIPT}

.include "../../math/R/Makefile.extension"
.include "../../mk/bsd.pkg.mk"