| @@ -1,31 +1,31 @@ | | | @@ -1,31 +1,31 @@ |
1 | # $NetBSD: Makefile,v 1.2 2016/04/16 15:00:48 wen Exp $ | | 1 | # $NetBSD: Makefile,v 1.3 2016/04/16 15:04:36 wen Exp $ |
2 | | | 2 | |
3 | CATEGORIES= print | | 3 | CATEGORIES= print |
4 | MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/} | | 4 | MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/} |
5 | | | 5 | |
6 | MAINTAINER= pkgsrc-users@NetBSD.org | | 6 | MAINTAINER= pkgsrc-users@NetBSD.org |
7 | HOMEPAGE= ${R_HOMEPAGE_BASE}/knitr/ | | 7 | HOMEPAGE= ${R_HOMEPAGE_BASE}/knitr/ |
8 | COMMENT= A general-purpose package for dynamic report generation in R | | 8 | COMMENT= General-purpose package for dynamic report generation in R |
9 | # TODO: LICENSE= GPL | | 9 | LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 |
10 | | | 10 | |
11 | R_PKGNAME= knitr | | 11 | R_PKGNAME= knitr |
12 | R_PKGVER= 1.12.3 | | 12 | R_PKGVER= 1.12.3 |
13 | | | 13 | |
14 | DEPENDS+= R-evaluate>=0.8:../../devel/R-evaluate | | 14 | DEPENDS+= R-evaluate>=0.8:../../devel/R-evaluate |
15 | DEPENDS+= R-digest>=0.6.4:../../security/R-digest | | 15 | DEPENDS+= R-digest>=0.6.4:../../security/R-digest |
16 | DEPENDS+= R-formatR>=0.10:../../textproc/R-formatR | | 16 | DEPENDS+= R-formatR>=0.10:../../textproc/R-formatR |
17 | DEPENDS+= R-highr>=0.3:../../textproc/R-highr | | 17 | DEPENDS+= R-highr>=0.3:../../textproc/R-highr |
18 | DEPENDS+= R-markdown>=0.6.5:../../textproc/R-markdown | | 18 | DEPENDS+= R-markdown>=0.6.5:../../textproc/R-markdown |
19 | DEPENDS+= R-stringr>=0.6:../../textproc/R-stringr | | 19 | DEPENDS+= R-stringr>=0.6:../../textproc/R-stringr |
20 | DEPENDS+= R-yaml>=2.1.5:../../textproc/R-yaml | | 20 | DEPENDS+= R-yaml>=2.1.5:../../textproc/R-yaml |
21 | | | 21 | |
22 | REPLACE_RSCRIPT+= inst/bin/knit | | 22 | REPLACE_RSCRIPT+= inst/bin/knit |
23 | REPLACE_RSCRIPT+= inst/examples/knit-all.R | | 23 | REPLACE_RSCRIPT+= inst/examples/knit-all.R |
24 | | | 24 | |
25 | REPLACE_INTERPRETER+= Rscript | | 25 | REPLACE_INTERPRETER+= Rscript |
26 | REPLACE.Rscript.old= .*Rscript | | 26 | REPLACE.Rscript.old= .*Rscript |
27 | REPLACE.Rscript.new= ${PREFIX}/bin/Rscript | | 27 | REPLACE.Rscript.new= ${PREFIX}/bin/Rscript |
28 | REPLACE_FILES.Rscript= ${REPLACE_RSCRIPT} | | 28 | REPLACE_FILES.Rscript= ${REPLACE_RSCRIPT} |
29 | | | 29 | |
30 | .include "../../math/R/Makefile.extension" | | 30 | .include "../../math/R/Makefile.extension" |
31 | .include "../../mk/bsd.pkg.mk" | | 31 | .include "../../mk/bsd.pkg.mk" |