summaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-01-03 23:40:35 +0000
committerwill <will@FreeBSD.org>2001-01-03 23:40:35 +0000
commitee2a46e64389336902aaef27b40695eb6d563197 (patch)
tree68c697a330ac14b9bfe2668e2d887c521cf839a2 /math
parent738f9c229b84f8c69ecd49754f526bd2d9603095 (diff)
downloadFreeBSD-ports-ee2a46e64389336902aaef27b40695eb6d563197.zip
FreeBSD-ports-ee2a46e64389336902aaef27b40695eb6d563197.tar.gz
Add p5-Math-GMP 1.01, perl module that provides an interface to the GMP
library.
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/p5-Math-GMP/Makefile23
-rw-r--r--math/p5-Math-GMP/distinfo1
-rw-r--r--math/p5-Math-GMP/files/patch-Makefile.PL19
-rw-r--r--math/p5-Math-GMP/pkg-comment1
-rw-r--r--math/p5-Math-GMP/pkg-descr6
-rw-r--r--math/p5-Math-GMP/pkg-plist6
7 files changed, 57 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 1655fa2..8b0cf70 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -54,6 +54,7 @@
SUBDIR += p5-Math-Expr
SUBDIR += p5-Math-Financial
SUBDIR += p5-Math-FixedPrecision
+ SUBDIR += p5-Math-GMP
SUBDIR += p5-Math-Logic
SUBDIR += p5-MatrixReal
SUBDIR += p5-Set-IntSpan
diff --git a/math/p5-Math-GMP/Makefile b/math/p5-Math-GMP/Makefile
new file mode 100644
index 0000000..2304195
--- /dev/null
+++ b/math/p5-Math-GMP/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: Math-GMP
+# Date created: Wed Jan 3 11:09:25 2001
+# Whom: will
+#
+# $FreeBSD$
+#
+
+PORTNAME= Math-GMP
+PORTVERSION= 1.01
+CATEGORIES= math perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Math
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@FreeBSD.org
+
+USE_PERL5= yes
+PERL_CONFIGURE= yes
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Math::GMP.3
+
+.include <bsd.port.mk>
diff --git a/math/p5-Math-GMP/distinfo b/math/p5-Math-GMP/distinfo
new file mode 100644
index 0000000..192df19
--- /dev/null
+++ b/math/p5-Math-GMP/distinfo
@@ -0,0 +1 @@
+MD5 (Math-GMP-1.01.tar.gz) = 2e21088e84013b307705ce8f5e1dbe73
diff --git a/math/p5-Math-GMP/files/patch-Makefile.PL b/math/p5-Math-GMP/files/patch-Makefile.PL
new file mode 100644
index 0000000..7508a1f
--- /dev/null
+++ b/math/p5-Math-GMP/files/patch-Makefile.PL
@@ -0,0 +1,19 @@
+--- Makefile.PL Sat Sep 18 22:48:14 1999
++++ Makefile.PL.new Wed Jan 3 11:14:11 2001
+@@ -6,6 +6,8 @@
+ my $tar = (grep { -x "$_/tar" } @paths)[0] . "/tar";
+ my $gzip = (grep { -x "$_/gzip" } @paths)[0] . "/gzip";
+
++# FreeBSD has GMP in the base system
++if ("" ne "" ) {
+ my $cmd = "$gzip -dc gmp-2.0.2.tar.gz | $tar xf -";
+ system $cmd unless -d 'gmp-2.0.2';
+ die "tar extraction of gmp-2.0.2.tar.gz failed" unless -d 'gmp-2.0.2';
+@@ -13,6 +15,7 @@
+ chdir 'gmp-2.0.2';
+ system "./configure --prefix=../gmp && make && make install";
+ chdir '..';
++}
+
+ WriteMakefile(
+ 'NAME' => 'Math::GMP',
diff --git a/math/p5-Math-GMP/pkg-comment b/math/p5-Math-GMP/pkg-comment
new file mode 100644
index 0000000..0dd3a87
--- /dev/null
+++ b/math/p5-Math-GMP/pkg-comment
@@ -0,0 +1 @@
+Perl module that provides an interface to the GMP library
diff --git a/math/p5-Math-GMP/pkg-descr b/math/p5-Math-GMP/pkg-descr
new file mode 100644
index 0000000..4f2624b
--- /dev/null
+++ b/math/p5-Math-GMP/pkg-descr
@@ -0,0 +1,6 @@
+Math::GMP is a perl interface to the high-speed arbitrary size integer
+math library libgmp (GNU MP lib).
+
+Author: Chip Turner <chip@zfx.com>
+
+--will
diff --git a/math/p5-Math-GMP/pkg-plist b/math/p5-Math-GMP/pkg-plist
new file mode 100644
index 0000000..a6f7c1c
--- /dev/null
+++ b/math/p5-Math-GMP/pkg-plist
@@ -0,0 +1,6 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/GMP.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/GMP/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/GMP/GMP.bs
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/GMP/GMP.so
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/GMP/autosplit.ix
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/GMP
OpenPOWER on IntegriCloud