36 lines
908 B
Makefile
36 lines
908 B
Makefile
# $NetBSD: Makefile,v 1.5 2016/07/27 00:28:37 wen Exp $
|
|
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= ${R_HOMEPAGE_BASE}/Rcpp/
|
|
COMMENT= Seamless R and C++ Integration
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
R_PKGNAME= Rcpp
|
|
R_PKGVER= 0.12.6
|
|
|
|
USE_LANGUAGES+= c++
|
|
|
|
REPLACE_R+= inst/examples/*/*.r
|
|
REPLACE_R+= inst/examples/SugarPerformance/sugarBenchmarks.R
|
|
|
|
REPLACE_RSCRIPT+= inst/discovery/cxx0x.R
|
|
|
|
REPLACE_SH+= inst/examples/ConvolveBenchmarks/buildAndRun.sh
|
|
REPLACE_SH+= inst/examples/ConvolveBenchmarks/overhead.sh
|
|
|
|
REPLACE_INTERPRETER+= R
|
|
REPLACE.R.old= /usr/bin/env r
|
|
REPLACE.R.new= ${PREFIX}/bin/R
|
|
REPLACE_FILES.R= ${REPLACE_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"
|