diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2003-05-19 15:31:58 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2003-05-19 15:31:58 +0000 |
commit | 538dcb6911b42d731bdbb13d0331eb4eeb842650 (patch) | |
tree | 768aa3c984829edfc8ac1d8c3e2d630efdda51be /math/p5-Number-Compare | |
parent | * Upgrade to 002. (diff) |
Add p5-Number-Compare 0.01, numeric comparisons.
Notes
Notes:
svn path=/head/; revision=81398
Diffstat (limited to 'math/p5-Number-Compare')
-rw-r--r-- | math/p5-Number-Compare/Makefile | 24 | ||||
-rw-r--r-- | math/p5-Number-Compare/distinfo | 1 | ||||
-rw-r--r-- | math/p5-Number-Compare/pkg-descr | 15 | ||||
-rw-r--r-- | math/p5-Number-Compare/pkg-plist | 5 |
4 files changed, 45 insertions, 0 deletions
diff --git a/math/p5-Number-Compare/Makefile b/math/p5-Number-Compare/Makefile new file mode 100644 index 000000000000..9cb5cef8a0cd --- /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 000000000000..26ce530001a8 --- /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 000000000000..7f57c1db8105 --- /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 000000000000..fb82f1d203a6 --- /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 |