mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
Add p5-Math-GMP 1.01, perl module that provides an interface to the GMP
library.
This commit is contained in:
parent
5163c29eab
commit
ed2622e738
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36724
@ -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
|
||||
|
23
math/p5-Math-GMP/Makefile
Normal file
23
math/p5-Math-GMP/Makefile
Normal file
@ -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>
|
1
math/p5-Math-GMP/distinfo
Normal file
1
math/p5-Math-GMP/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (Math-GMP-1.01.tar.gz) = 2e21088e84013b307705ce8f5e1dbe73
|
19
math/p5-Math-GMP/files/patch-Makefile.PL
Normal file
19
math/p5-Math-GMP/files/patch-Makefile.PL
Normal file
@ -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',
|
1
math/p5-Math-GMP/pkg-comment
Normal file
1
math/p5-Math-GMP/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Perl module that provides an interface to the GMP library
|
6
math/p5-Math-GMP/pkg-descr
Normal file
6
math/p5-Math-GMP/pkg-descr
Normal file
@ -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
|
6
math/p5-Math-GMP/pkg-plist
Normal file
6
math/p5-Math-GMP/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user