From 28ad2f5531e54897a08465e331bcf89939f9a476 Mon Sep 17 00:00:00 2001 From: pgollucci Date: Tue, 16 Nov 2010 03:04:20 +0000 Subject: [PATCH] This module provides a perl interface to the DCDFLIB. See the section on DCDFLIB for more information. Functions are available for 7 continuous distributions (Beta, Chi-square, F, Gamma, Normal, Poisson and T-distribution) and for two discrete distributions (Binomial and Negative Binomial). Optional non-centrality parameters are available for the Chi-square, F and T-distributions. Cumulative probabilities are available for all 9 distributions and quantile functions are available for the 7 continuous distributions. WWW: http://search.cpan.org/dist/Math-CDF/ PR: ports/152204 Submitted by: Gea-Suan Lin --- math/Makefile | 1 + math/p5-Math-CDF/Makefile | 21 +++++++++++++++++++++ math/p5-Math-CDF/distinfo | 2 ++ math/p5-Math-CDF/pkg-descr | 12 ++++++++++++ math/p5-Math-CDF/pkg-plist | 9 +++++++++ 5 files changed, 45 insertions(+) create mode 100644 math/p5-Math-CDF/Makefile create mode 100644 math/p5-Math-CDF/distinfo create mode 100644 math/p5-Math-CDF/pkg-descr create mode 100644 math/p5-Math-CDF/pkg-plist diff --git a/math/Makefile b/math/Makefile index 58e54da87e21..3c5a60f79973 100644 --- a/math/Makefile +++ b/math/Makefile @@ -326,6 +326,7 @@ SUBDIR += p5-Math-BigInt-GMP SUBDIR += p5-Math-BigInt-Pari SUBDIR += p5-Math-BigRat + SUBDIR += p5-Math-CDF SUBDIR += p5-Math-Calc-Units SUBDIR += p5-Math-Cephes SUBDIR += p5-Math-Combinatorics diff --git a/math/p5-Math-CDF/Makefile b/math/p5-Math-CDF/Makefile new file mode 100644 index 000000000000..cd556b8f3f66 --- /dev/null +++ b/math/p5-Math-CDF/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: p5-Math-CDF +# Date created: 2010-11-13 +# Whom: Gea-Suan Lin +# +# $FreeBSD$ +# + +PORTNAME= Math-CDF +PORTVERSION= 0.1 +CATEGORIES= math perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= gslin@gslin.org +COMMENT= Generate probabilities and quantiles from several statistical probability functions + +PERL_CONFIGURE= yes + +MAN3= Math::CDF.3 + +.include diff --git a/math/p5-Math-CDF/distinfo b/math/p5-Math-CDF/distinfo new file mode 100644 index 000000000000..7799eea7e667 --- /dev/null +++ b/math/p5-Math-CDF/distinfo @@ -0,0 +1,2 @@ +SHA256 (Math-CDF-0.1.tar.gz) = 7896bf250835ce47dcc813cb8cf9dc576c5455de42e822dcd7d8d3fef2125565 +SIZE (Math-CDF-0.1.tar.gz) = 65855 diff --git a/math/p5-Math-CDF/pkg-descr b/math/p5-Math-CDF/pkg-descr new file mode 100644 index 000000000000..a0af8b373d0b --- /dev/null +++ b/math/p5-Math-CDF/pkg-descr @@ -0,0 +1,12 @@ +This module provides a perl interface to the DCDFLIB. See the section +on DCDFLIB for more information. + +Functions are available for 7 continuous distributions (Beta, +Chi-square, F, Gamma, Normal, Poisson and T-distribution) and for two +discrete distributions (Binomial and Negative Binomial). Optional +non-centrality parameters are available for the Chi-square, F and +T-distributions. Cumulative probabilities are available for all 9 +distributions and quantile functions are available for the 7 +continuous distributions. + +WWW: http://search.cpan.org/dist/Math-CDF/ diff --git a/math/p5-Math-CDF/pkg-plist b/math/p5-Math-CDF/pkg-plist new file mode 100644 index 000000000000..e915e59f8955 --- /dev/null +++ b/math/p5-Math-CDF/pkg-plist @@ -0,0 +1,9 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/%%PERL_ARCH%%/Math/CDF.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/CDF/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/CDF/CDF.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/CDF/CDF.so +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/CDF/autosplit.ix +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/CDF +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Math