summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2005-03-03 19:19:32 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2005-03-03 19:19:32 +0000
commit9e1721c68f45f7c6f63018fed354420671ccb1e9 (patch)
treec441eb7518173933052c91c59756ccaa18c98e08 /math
parentFix build if WITH_SA_EXIM is defined. (diff)
Add p5-Math-BigRat 0.14, arbitrary big rational numbers.
Notes
Notes: svn path=/head/; revision=130283
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/p5-Math-BigRat/Makefile28
-rw-r--r--math/p5-Math-BigRat/distinfo2
-rw-r--r--math/p5-Math-BigRat/pkg-descr4
-rw-r--r--math/p5-Math-BigRat/pkg-plist4
5 files changed, 39 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index d9664f6ad827..ecd8d1e10fa7 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -143,6 +143,7 @@
SUBDIR += p5-Math-Bezier-Convert
SUBDIR += p5-Math-BigInt
SUBDIR += p5-Math-BigIntFast
+ SUBDIR += p5-Math-BigRat
SUBDIR += p5-Math-Calc-Units
SUBDIR += p5-Math-Currency
SUBDIR += p5-Math-Derivative
diff --git a/math/p5-Math-BigRat/Makefile b/math/p5-Math-BigRat/Makefile
new file mode 100644
index 000000000000..6c5353f30bfc
--- /dev/null
+++ b/math/p5-Math-BigRat/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: Math-BigRat
+# Date created: 03 March 2005
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Math-BigRat
+PORTVERSION= 0.14
+CATEGORIES= math perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Math
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Arbitrary big rational numbers
+
+BUILD_DEPENDS= ${SITE_PERL}/Math/BigInt.pm:${PORTSDIR}/math/p5-Math-BigInt
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Math::BigRat.3
+
+post-patch:
+ @${PERL} -pi -e '$$_="" if m/INSTALLDIRS/;' ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/math/p5-Math-BigRat/distinfo b/math/p5-Math-BigRat/distinfo
new file mode 100644
index 000000000000..0e3f54c0a5f3
--- /dev/null
+++ b/math/p5-Math-BigRat/distinfo
@@ -0,0 +1,2 @@
+MD5 (Math-BigRat-0.14.tar.gz) = 19825f58e24f1544e507ecc1beb30ce1
+SIZE (Math-BigRat-0.14.tar.gz) = 33778
diff --git a/math/p5-Math-BigRat/pkg-descr b/math/p5-Math-BigRat/pkg-descr
new file mode 100644
index 000000000000..9779e034e687
--- /dev/null
+++ b/math/p5-Math-BigRat/pkg-descr
@@ -0,0 +1,4 @@
+Math::BigRat complements Math::BigInt and Math::BigFloat by providing
+support for arbitrary big rational numbers.
+
+WWW: http://search.cpan.org/dist/Math-BigRat/
diff --git a/math/p5-Math-BigRat/pkg-plist b/math/p5-Math-BigRat/pkg-plist
new file mode 100644
index 000000000000..0c75ee2cb3ab
--- /dev/null
+++ b/math/p5-Math-BigRat/pkg-plist
@@ -0,0 +1,4 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math-BigRat/.packlist
+%%SITE_PERL%%/Math/BigRat.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math-BigRat
+@unexec rmdir %D/%%SITE_PERL%%/Math 2>/dev/null || true