aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2001-09-11 18:23:36 +0800
committermharo <mharo@FreeBSD.org>2001-09-11 18:23:36 +0800
commitcb2dd804aef2301bd3eca66ba7b710571820496d (patch)
tree7f49c2a9b0d5f149669e9f8cd30ceab3334a38b1 /math
parentdf803159e5388de18c42eca52bc8f9d90bb8d752 (diff)
downloadfreebsd-ports-gnome-cb2dd804aef2301bd3eca66ba7b710571820496d.tar.gz
freebsd-ports-gnome-cb2dd804aef2301bd3eca66ba7b710571820496d.tar.zst
freebsd-ports-gnome-cb2dd804aef2301bd3eca66ba7b710571820496d.zip
Add Math::Pari, a Perl interface to famous library PARI for
numerical/scientific/number-theoretic calculations.
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