diff options
author | foxfair <foxfair@FreeBSD.org> | 2003-09-06 10:30:34 +0800 |
---|---|---|
committer | foxfair <foxfair@FreeBSD.org> | 2003-09-06 10:30:34 +0800 |
commit | 157525833ed28ce0c29027aeb62d2f163642ca82 (patch) | |
tree | 900bb881e47a8d84e0698106161d463097683a4d | |
parent | ffd771ceb2a6f82e2b79f08c33326d2ad5e324cf (diff) | |
download | freebsd-ports-gnome-157525833ed28ce0c29027aeb62d2f163642ca82.tar.gz freebsd-ports-gnome-157525833ed28ce0c29027aeb62d2f163642ca82.tar.zst freebsd-ports-gnome-157525833ed28ce0c29027aeb62d2f163642ca82.zip |
Import p5-Math-Round. Math::Round is a Perl module. It supplies functions to
round numbers, both positive and negative, in various ways. This may seem like
an odd thing to write a whole module for, but rounding can sometimes be
a little tricky, so I thought some people might find this useful.
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/p5-Math-Round/Makefile | 22 | ||||
-rw-r--r-- | math/p5-Math-Round/distinfo | 1 | ||||
-rw-r--r-- | math/p5-Math-Round/pkg-descr | 7 | ||||
-rw-r--r-- | math/p5-Math-Round/pkg-plist | 7 |
5 files changed, 38 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index d073215844f2..bd1b306d5554 100644 --- a/math/Makefile +++ b/math/Makefile @@ -115,6 +115,7 @@ SUBDIR += p5-Math-Pari SUBDIR += p5-Math-Random SUBDIR += p5-Math-Random-MT + SUBDIR += p5-Math-Round SUBDIR += p5-Math-SimpleVariable SUBDIR += p5-Math-TrulyRandom SUBDIR += p5-MatrixReal diff --git a/math/p5-Math-Round/Makefile b/math/p5-Math-Round/Makefile new file mode 100644 index 000000000000..10364275bd2c --- /dev/null +++ b/math/p5-Math-Round/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: p5-Math-Round +# Date created: 04 Sep 2003 +# Whom: Foxfair Hu <foxfair@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Math-Round +PORTVERSION= 0.05 +CATEGORIES= math perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Math +PKGNAMEPREFIX= p5- + +MAINTAINER= ports@FreeBSD.org +COMMENT= Perl extension for rounding numbers + +PERL_CONFIGURE= yes + +MAN3= Math::Round.3 + +.include <bsd.port.mk> diff --git a/math/p5-Math-Round/distinfo b/math/p5-Math-Round/distinfo new file mode 100644 index 000000000000..c2f368dbad54 --- /dev/null +++ b/math/p5-Math-Round/distinfo @@ -0,0 +1 @@ +MD5 (Math-Round-0.05.tar.gz) = ef35f988b32be4af3b3ccee131ece87f diff --git a/math/p5-Math-Round/pkg-descr b/math/p5-Math-Round/pkg-descr new file mode 100644 index 000000000000..e343317a63d4 --- /dev/null +++ b/math/p5-Math-Round/pkg-descr @@ -0,0 +1,7 @@ +Math::Round is a Perl module. It supplies functions to round numbers, +both positive and negative, in various ways. This may seem like an +odd thing to write a whole module for, but rounding can sometimes be +a little tricky, so I thought some people might find this useful. + +WWW: http://search.cpan.org/dist/Math-Round/ + diff --git a/math/p5-Math-Round/pkg-plist b/math/p5-Math-Round/pkg-plist new file mode 100644 index 000000000000..df2ad7f0d3d6 --- /dev/null +++ b/math/p5-Math-Round/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/auto/Math/Round/autosplit.ix +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Round/.packlist +%%SITE_PERL%%/Math/Round.pm +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Round +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Math 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math 2>/dev/null || true |