summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2001-09-11 10:23:36 +0000
committerMichael Haro <mharo@FreeBSD.org>2001-09-11 10:23:36 +0000
commita0a09ba404fd9c04e6cd3df0333c7078fb51f72a (patch)
tree9a19c66e9cd987f1baad9a96645177f161d5ac06 /math
parentAdd perl Data::Buffer module. (diff)
Add Math::Pari, a Perl interface to famous library PARI for
numerical/scientific/number-theoretic calculations.
Notes
Notes: svn path=/head/; revision=47654
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/p5-Math-Pari/Makefile24
-rw-r--r--math/p5-Math-Pari/distinfo1
-rw-r--r--math/p5-Math-Pari/files/patch-makefile11
-rw-r--r--math/p5-Math-Pari/pkg-comment1
-rw-r--r--math/p5-Math-Pari/pkg-descr6
-rw-r--r--math/p5-Math-Pari/pkg-plist10
7 files changed, 54 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 26d565c74832..1ef612afe389 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -72,6 +72,7 @@
SUBDIR += p5-Math-GMP
SUBDIR += p5-Math-Interpolate
SUBDIR += p5-Math-Logic
+ SUBDIR += p5-Math-Pari
SUBDIR += p5-Math-Random
SUBDIR += p5-Math-Random-MT
SUBDIR += p5-MatrixReal
diff --git a/math/p5-Math-Pari/Makefile b/math/p5-Math-Pari/Makefile
new file mode 100644
index 000000000000..8b21f278dcc0
--- /dev/null
+++ b/math/p5-Math-Pari/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: p5-Math-Pari
+# Date created: Tue Sep 11 02:08:49 PDT 2001
+# Whom: Michael Haro <mharo@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Math-Pari
+PORTVERSION= 2.001804
+CATEGORIES= math perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Math
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= mharo@FreeBSD.org
+
+BUILD_DEPENDS= pari:${PORTSDIR}/math/pari:configure
+
+PERL_CONFIGURE= yes
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Math::Pari.3 Math::libPARI.3
+
+.include <bsd.port.mk>
diff --git a/math/p5-Math-Pari/distinfo b/math/p5-Math-Pari/distinfo
new file mode 100644
index 000000000000..db0c7c6f6731
--- /dev/null
+++ b/math/p5-Math-Pari/distinfo
@@ -0,0 +1 @@
+MD5 (Math-Pari-2.001804.tar.gz) = 97efb50e754b9e121d37707ac2fa42a2
diff --git a/math/p5-Math-Pari/files/patch-makefile b/math/p5-Math-Pari/files/patch-makefile
new file mode 100644
index 000000000000..db1da876e65a
--- /dev/null
+++ b/math/p5-Math-Pari/files/patch-makefile
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig Tue Sep 11 02:52:45 2001
++++ Makefile.PL Tue Sep 11 02:53:18 2001
+@@ -4,7 +4,7 @@
+ use File::Copy 'copy';
+
+ # Uncomment and change this line if I fail to find it
+-# $paridir = "..";
++$paridir = "../../../pari/work/pari-2.1.1";
+
+ unless (-t STDOUT) { # Better reports if run with redirections
+ my $odef = select STDERR;
diff --git a/math/p5-Math-Pari/pkg-comment b/math/p5-Math-Pari/pkg-comment
new file mode 100644
index 000000000000..4a6d74be433d
--- /dev/null
+++ b/math/p5-Math-Pari/pkg-comment
@@ -0,0 +1 @@
+PARI - numerical/scientific/number-theoretic calculations
diff --git a/math/p5-Math-Pari/pkg-descr b/math/p5-Math-Pari/pkg-descr
new file mode 100644
index 000000000000..ad572553c596
--- /dev/null
+++ b/math/p5-Math-Pari/pkg-descr
@@ -0,0 +1,6 @@
+This package is a Perl interface to famous library PARI for
+numerical/scientific/number-theoretic calculations. It allows use of most
+PARI functions as Perl functions, and (almost) seamless merging of PARI
+and Perl data.
+
+-- Michael
diff --git a/math/p5-Math-Pari/pkg-plist b/math/p5-Math-Pari/pkg-plist
new file mode 100644
index 000000000000..75b56d54fb94
--- /dev/null
+++ b/math/p5-Math-Pari/pkg-plist
@@ -0,0 +1,10 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/Pari.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/comp_funcs.pl
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/foncpari.pl
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/libPARI.pod
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Pari/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Pari/Pari.bs
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Pari/Pari.so
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Pari
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math