summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2003-05-19 15:31:58 +0000
committerskv <skv@FreeBSD.org>2003-05-19 15:31:58 +0000
commit8fb2c89aefec4764874edc7b79f7059e4fce06d5 (patch)
treee2be2fbf9928fcedef5629df7994c3855c189a7a
parent3b6a9bbada72c4a156e9d4b7442434a10a98d151 (diff)
downloadFreeBSD-ports-8fb2c89aefec4764874edc7b79f7059e4fce06d5.zip
FreeBSD-ports-8fb2c89aefec4764874edc7b79f7059e4fce06d5.tar.gz
Add p5-Number-Compare 0.01, numeric comparisons.
-rw-r--r--math/Makefile1
-rw-r--r--math/p5-Number-Compare/Makefile24
-rw-r--r--math/p5-Number-Compare/distinfo1
-rw-r--r--math/p5-Number-Compare/pkg-descr15
-rw-r--r--math/p5-Number-Compare/pkg-plist5
5 files changed, 46 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 6689f46..6f59b8a 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -112,6 +112,7 @@
SUBDIR += p5-Math-SimpleVariable
SUBDIR += p5-Math-TrulyRandom
SUBDIR += p5-MatrixReal
+ SUBDIR += p5-Number-Compare
SUBDIR += p5-Roman
SUBDIR += p5-Set-IntSpan
SUBDIR += p5-Set-Window
diff --git a/math/p5-Number-Compare/Makefile b/math/p5-Number-Compare/Makefile
new file mode 100644
index 0000000..9cb5cef
--- /dev/null
+++ b/math/p5-Number-Compare/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: Number-Compare
+# Date created: 19 May 2003
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Number-Compare
+PORTVERSION= 0.01
+CATEGORIES= math perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Number
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Numeric comparisons
+
+BUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+
+PERL_CONFIGURE= yes
+
+MAN3= Number::Compare.3
+
+.include <bsd.port.mk>
diff --git a/math/p5-Number-Compare/distinfo b/math/p5-Number-Compare/distinfo
new file mode 100644
index 0000000..26ce530
--- /dev/null
+++ b/math/p5-Number-Compare/distinfo
@@ -0,0 +1 @@
+MD5 (Number-Compare-0.01.tar.gz) = 519a4434e35033e9bd034d27cd2fd299
diff --git a/math/p5-Number-Compare/pkg-descr b/math/p5-Number-Compare/pkg-descr
new file mode 100644
index 0000000..7f57c1d
--- /dev/null
+++ b/math/p5-Number-Compare/pkg-descr
@@ -0,0 +1,15 @@
+Number::Compare compiles a simple comparison to an anonymous subroutine,
+which you can call with a value to be tested again.
+
+Now this would be very pointless, if Number::Compare didn't understand
+magnitudes.
+
+The target value may use magnitudes of kilobytes (k, ki), megabytes (m,
+mi), or gigabytes (g, gi). Those suffixed with an i use the appropriate
+2**n version in accordance with the IEC standard:
+http://physics.nist.gov/cuu/Units/binary.html
+
+WWW: http://search.cpan.org/dist/Number-Compare/
+
+-- Sergey Skvortsov
+skv@FreeBSD.org
diff --git a/math/p5-Number-Compare/pkg-plist b/math/p5-Number-Compare/pkg-plist
new file mode 100644
index 0000000..fb82f1d
--- /dev/null
+++ b/math/p5-Number-Compare/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Number/Compare/.packlist
+%%SITE_PERL%%/Number/Compare.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Number/Compare
+@unexec rmdir %D/%%SITE_PERL%%/Number 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Number 2>/dev/null || true
OpenPOWER on IntegriCloud