aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-11-02 14:24:46 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-11-02 14:24:46 +0000
commita0582a0efbd8971c31e04b167291845f74cc0639 (patch)
treed8ae1c6e1f33968c751ff6fbf680198c1c466c13 /math
parentc8fef18a38dac53de105eaf0a6128934c0caddfe (diff)
downloadports-a0582a0efbd8971c31e04b167291845f74cc0639.tar.gz
ports-a0582a0efbd8971c31e04b167291845f74cc0639.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/p5-Math-Polynomial-Solve/Makefile28
-rw-r--r--math/p5-Math-Polynomial-Solve/distinfo3
-rw-r--r--math/p5-Math-Polynomial-Solve/p5-Math-Polynomial-Solve-2.10.tbzbin0 -> 15772 bytes
-rw-r--r--math/p5-Math-Polynomial-Solve/pkg-descr13
-rw-r--r--math/p5-Math-Polynomial-Solve/pkg-plist8
6 files changed, 53 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 01c8103b5257..991d0382c80f 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -210,6 +210,7 @@
SUBDIR += p5-Math-Logic
SUBDIR += p5-Math-Matrix
SUBDIR += p5-Math-Pari
+ SUBDIR += p5-Math-Polynomial-Solve
SUBDIR += p5-Math-Random
SUBDIR += p5-Math-Random-MT
SUBDIR += p5-Math-Random-MT-Auto
diff --git a/math/p5-Math-Polynomial-Solve/Makefile b/math/p5-Math-Polynomial-Solve/Makefile
new file mode 100644
index 000000000000..47395d32f58c
--- /dev/null
+++ b/math/p5-Math-Polynomial-Solve/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-Math-Polynomial-Solve
+# Date created: 2006-10-23
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Math-Polynomial-Solve
+PORTVERSION= 2.10
+CATEGORIES= math
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= Math
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Find the roots of polynomial equations
+
+PERL_CONFIGURE= yes
+
+MAN3= Math::Polynomial::Solve.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires Perl 5.6.0 or newer. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/math/p5-Math-Polynomial-Solve/distinfo b/math/p5-Math-Polynomial-Solve/distinfo
new file mode 100644
index 000000000000..07782b8ab8fc
--- /dev/null
+++ b/math/p5-Math-Polynomial-Solve/distinfo
@@ -0,0 +1,3 @@
+MD5 (Math-Polynomial-Solve-2.10.tar.gz) = 1b8bfe442e52141659f51d9dd6bc81aa
+SHA256 (Math-Polynomial-Solve-2.10.tar.gz) = ce5190253ddcc4a63d54a6f2d4808d49769e982e520d7a4b748ccc4c2d0dac7a
+SIZE (Math-Polynomial-Solve-2.10.tar.gz) = 13549
diff --git a/math/p5-Math-Polynomial-Solve/p5-Math-Polynomial-Solve-2.10.tbz b/math/p5-Math-Polynomial-Solve/p5-Math-Polynomial-Solve-2.10.tbz
new file mode 100644
index 000000000000..d7fd493cc90b
--- /dev/null
+++ b/math/p5-Math-Polynomial-Solve/p5-Math-Polynomial-Solve-2.10.tbz
Binary files differ
diff --git a/math/p5-Math-Polynomial-Solve/pkg-descr b/math/p5-Math-Polynomial-Solve/pkg-descr
new file mode 100644
index 000000000000..a8c5129af97d
--- /dev/null
+++ b/math/p5-Math-Polynomial-Solve/pkg-descr
@@ -0,0 +1,13 @@
+This package supplies a set of functions that find the roots of
+polynomials. Polynomials up to the quartic may be solved directly by
+numerical formulae. Polynomials of fifth and higher powers will be
+solved by an iterative method, as there are no general solutions for
+fifth and higher powers.
+
+The linear, quadratic, cubic, and quartic *_roots() functions all
+expect to have a non-zero value for the $a term.
+
+If the constant term is zero then the first value returned in the list
+of answers will always be zero, for all functions.
+
+WWW: http://search.cpan.org/dist/Math-Polynomial-Solve/
diff --git a/math/p5-Math-Polynomial-Solve/pkg-plist b/math/p5-Math-Polynomial-Solve/pkg-plist
new file mode 100644
index 000000000000..e935aba1db07
--- /dev/null
+++ b/math/p5-Math-Polynomial-Solve/pkg-plist
@@ -0,0 +1,8 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Polynomial/Solve/.packlist
+%%SITE_PERL%%/Math/Polynomial/Solve.pm
+@dirrmtry %%SITE_PERL%%/Math/Polynomial
+@dirrmtry %%SITE_PERL%%/Math
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Polynomial/Solve
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Polynomial
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math