aboutsummaryrefslogtreecommitdiffstats
path: root/math/p5-Math-GMP
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-01-04 07:40:35 +0800
committerwill <will@FreeBSD.org>2001-01-04 07:40:35 +0800
commitee2a46e64389336902aaef27b40695eb6d563197 (patch)
tree68c697a330ac14b9bfe2668e2d887c521cf839a2 /math/p5-Math-GMP
parent738f9c229b84f8c69ecd49754f526bd2d9603095 (diff)
downloadfreebsd-ports-gnome-ee2a46e64389336902aaef27b40695eb6d563197.tar.gz
freebsd-ports-gnome-ee2a46e64389336902aaef27b40695eb6d563197.tar.zst
freebsd-ports-gnome-ee2a46e64389336902aaef27b40695eb6d563197.zip
Add p5-Math-GMP 1.01, perl module that provides an interface to the GMP
library.
Diffstat (limited to 'math/p5-Math-GMP')
-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
6 files changed, 56 insertions, 0 deletions
diff --git a/math/p5-Math-GMP/Makefile b/math/p5-Math-GMP/Makefile
new file mode 100644
index 000000000000..2304195beda7
--- /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 000000000000..192df1978cbd
--- /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 000000000000..7508a1ff62f3
--- /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 000000000000..0dd3a87e916a
--- /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 000000000000..4f2624b4e692
--- /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 000000000000..a6f7c1cc2f70
--- /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