freebsd-ports/math/R-cran-SuppDists/Makefile
TAKATSU Tomonari 8361e1265d - Move PKGNAMEPREFIX defined in each R-cran- related ports Makefile
to Mk/bsd.cran.mk

PR:		ports/162238
Submitted by:	tota (myself)
Approved by:	wen (maintainer of Mk/bsd.cran.mk and many related ports),
		David Naylor <naylor_DOT_b_DOT_david_AT_gmail_DOT_com>
		  (maintainer of math/R-cran-RSvgDevice and math/R-cran-car),
		Dan Rue <drue_AT_therub_DOT_org>
		  (maintainer of math/R-cran-psych, timeout > 2 weeks)
Feature safe:	yes
2011-11-15 20:09:02 +00:00

41 lines
937 B
Makefile

# New ports collection makefile for: math/R-cran-SuppDists
# Date created: April 27, 2010
# Whom: b.f. <bf@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= SuppDists
DISTVERSION= 1.1-8
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= ${MASTER_CRAN_SITES} \
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
BENCHMARK_SCRIPT= R-benchmark-25.R
LICENSE= GPLv2
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>