[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / print / R-knitr

File: [cvs.NetBSD.org] / pkgsrc / print / R-knitr / Makefile (download)

Revision 1.6, Sat Jul 28 14:40:52 2018 UTC (12 months, 2 weeks ago) by brook
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.5: +1 -2 lines

Remove MASTER_SITES= from individual R package Makefiles.

Each R package should include ../../math/R/Makefile.extension, which also
defines MASTER_SITES.  Consequently, it is redundant for the individual
packages to do the same.  Package-specific definitions also prevent
redefining MASTER_SITES in a single common place.

# $NetBSD: Makefile,v 1.6 2018/07/28 14:40:52 brook Exp $

CATEGORIES=	print

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.15.1

DEPENDS+=	R-evaluate>=0.10:../../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"