aboutsummaryrefslogtreecommitdiffstats
path: root/math/R-cran-SuppDists
diff options
context:
space:
mode:
authorbf <bf@FreeBSD.org>2011-05-07 13:47:52 +0800
committerbf <bf@FreeBSD.org>2011-05-07 13:47:52 +0800
commit812ccc1db767c41ee127579b0c02050471246650 (patch)
treea290778409a619bbdee7717d8fad0626afd5f6fd /math/R-cran-SuppDists
parent563b79366a1a6084016c76b05d2b7e2270023563 (diff)
downloadfreebsd-ports-graphics-812ccc1db767c41ee127579b0c02050471246650.tar.gz
freebsd-ports-graphics-812ccc1db767c41ee127579b0c02050471246650.tar.zst
freebsd-ports-graphics-812ccc1db767c41ee127579b0c02050471246650.zip
Add R-cran-SuppDists , supplementary distributions and RNG for R.
Diffstat (limited to 'math/R-cran-SuppDists')
-rw-r--r--math/R-cran-SuppDists/Makefile41
-rw-r--r--math/R-cran-SuppDists/distinfo4
-rw-r--r--math/R-cran-SuppDists/pkg-descr13
3 files changed, 58 insertions, 0 deletions
diff --git a/math/R-cran-SuppDists/Makefile b/math/R-cran-SuppDists/Makefile
new file mode 100644
index 00000000000..751ff150c94
--- /dev/null
+++ b/math/R-cran-SuppDists/Makefile
@@ -0,0 +1,41 @@
+# 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
+CATEGORIES= math
+MASTER_SITES= ${MASTER_CRAN_SITES} \
+ http://r.research.att.com/benchmarks/:benchmark \
+ LOCAL/bf:benchmark
+PKGNAMEPREFIX= R-cran-
+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>
diff --git a/math/R-cran-SuppDists/distinfo b/math/R-cran-SuppDists/distinfo
new file mode 100644
index 00000000000..fa344286724
--- /dev/null
+++ b/math/R-cran-SuppDists/distinfo
@@ -0,0 +1,4 @@
+SHA256 (SuppDists_1.1-8.tar.gz) = bbaece0c2ae40fce5138fa9e3cbbea6421777fc07638b7a83a9746933517bc4b
+SIZE (SuppDists_1.1-8.tar.gz) = 139864
+SHA256 (R-benchmark-25.R) = d6981df89743d4ac6c032bcb354f33d6f03e17ab35b95e684c07e510eb218923
+SIZE (R-benchmark-25.R) = 13630
diff --git a/math/R-cran-SuppDists/pkg-descr b/math/R-cran-SuppDists/pkg-descr
new file mode 100644
index 00000000000..75d19ec9dfc
--- /dev/null
+++ b/math/R-cran-SuppDists/pkg-descr
@@ -0,0 +1,13 @@
+This port contains ten types of distributions supplementing
+those built into R: Inverse Gauss, Kruskal-Wallis,
+Kendall's Tau, Friedman's chi squared, Spearman's rho,
+maximum F ratio, the Pearson product moment correlation
+coefficient, Johnson distributions, normal scores and
+generalized hypergeometric distributions. In addition,
+two random number generators of George Marsaglia are
+included.
+
+The port is supplemented by an R benchmark based upon the
+work of Grosjean, Steinhaus, et al.
+
+WWW: http://CRAN.R-project.org/web/packages/SuppDists/index.html