freebsd-ports/math/R-cran-SuppDists/Makefile
Brendan Fabeny 3f2ca9c1d8 update the R base ports to 2.15.2 and adjust dependent ports
Reviewed by:	thierry, tota, wen
2013-01-04 17:51:39 +00:00

38 lines
842 B
Makefile

# Created by: b.f. <bf@FreeBSD.org>
# $FreeBSD$
PORTNAME= SuppDists
DISTVERSION= 1.1-8
PORTREVISION= 8
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_CRAN} \
http://r.research.att.com/benchmarks/:benchmark \
LOCAL/bf:benchmark
DISTFILES= ${PORTNAME}_${DISTVERSION}${EXTRACT_SUFX} \
${BENCHMARK_SCRIPT}:benchmark
EXTRACT_ONLY= ${PORTNAME}_${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= bf@FreeBSD.org
COMMENT= Supplementary distributions and RNG for R
LICENSE= GPLv2
BENCHMARK_SCRIPT= R-benchmark-25.R
R_MOD_AUTOPLIST= yes
USE_R_MOD= yes
WRKSRC = ${WRKDIR}/${PORTNAME}
.if defined(MAINTAINER_MODE)
USE_DOS2UNIX= ../${BENCHMARK_SCRIPT}
post-extract:
@${CP} ${_DISTDIR}/${BENCHMARK_SCRIPT} ${WRKDIR}
post-install: benchmark
benchmark:
@${LOCALBASE}/bin/Rscript --vanilla ${WRKDIR}/${BENCHMARK_SCRIPT}
.endif
.include <bsd.port.mk>