diff --git a/math/Makefile b/math/Makefile index 5d5fe5e3f252..e2dea31cb135 100644 --- a/math/Makefile +++ b/math/Makefile @@ -171,6 +171,7 @@ SUBDIR += p5-Math-BigInt SUBDIR += p5-Math-BigRat SUBDIR += p5-Math-Calc-Units + SUBDIR += p5-Math-Cephes SUBDIR += p5-Math-Combinatorics SUBDIR += p5-Math-ConvexHull SUBDIR += p5-Math-Currency diff --git a/math/p5-Math-Cephes/Makefile b/math/p5-Math-Cephes/Makefile new file mode 100644 index 000000000000..98c33a5c836f --- /dev/null +++ b/math/p5-Math-Cephes/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: Math-Cephes +# Date created: 26 May 2006 +# Whom: Aaron Dalton +# +# $FreeBSD$ +# + +PORTNAME= Math-Cephes +PORTVERSION= 0.42 +CATEGORIES= math perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Math +PKGNAMEPREFIX= p5- + +MAINTAINER= aaron@FreeBSD.org +COMMENT= Perl interface to the cephes math library + +MAN1= pmath.1 +MAN3= Math::Cephes.3 \ + Math::Cephes::Complex.3 \ + Math::Cephes::Fraction.3 \ + Math::Cephes::Matrix.3 \ + Math::Cephes::Polynomial.3 + +PERL_CONFIGURE= yes + +.include diff --git a/math/p5-Math-Cephes/distinfo b/math/p5-Math-Cephes/distinfo new file mode 100644 index 000000000000..badfd367591b --- /dev/null +++ b/math/p5-Math-Cephes/distinfo @@ -0,0 +1,2 @@ +MD5 (Math-Cephes-0.42.tar.gz) = 5f0a9b1e83b55714110a31764b5ede34 +SIZE (Math-Cephes-0.42.tar.gz) = 300977 diff --git a/math/p5-Math-Cephes/pkg-descr b/math/p5-Math-Cephes/pkg-descr new file mode 100644 index 000000000000..9f64c9bce12e --- /dev/null +++ b/math/p5-Math-Cephes/pkg-descr @@ -0,0 +1,11 @@ + This module provides an interface to over 150 functions of the + cephes math library of Stephen Moshier. No functions are exported + by default, but rather must be imported explicitly, as in + + use Math::Cephes qw(sin cos); + + There are a number of export tags defined which allow + importing groups of functions. + +WWW: http://search.cpan.org/dist/Math-Cephes +Author: Randy Kobes diff --git a/math/p5-Math-Cephes/pkg-plist b/math/p5-Math-Cephes/pkg-plist new file mode 100644 index 000000000000..bba282e1fdad --- /dev/null +++ b/math/p5-Math-Cephes/pkg-plist @@ -0,0 +1,16 @@ +bin/pmath +%%SITE_PERL%%/%%PERL_ARCH%%/Math/Cephes.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Math/Cephes.pod +%%SITE_PERL%%/%%PERL_ARCH%%/Math/Cephes/Complex.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Math/Cephes/Fraction.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Math/Cephes/Matrix.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Math/Cephes/Polynomial.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Cephes/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Cephes/Cephes.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Cephes/Cephes.so +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Cephes/libmd/extralibs.ld +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Cephes/libmd +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Cephes +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Math/Cephes +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Math