aboutsummaryrefslogtreecommitdiffstats
path: root/math/p5-Math-Round
diff options
context:
space:
mode:
authorfoxfair <foxfair@FreeBSD.org>2003-09-06 10:30:34 +0800
committerfoxfair <foxfair@FreeBSD.org>2003-09-06 10:30:34 +0800
commit157525833ed28ce0c29027aeb62d2f163642ca82 (patch)
tree900bb881e47a8d84e0698106161d463097683a4d /math/p5-Math-Round
parentffd771ceb2a6f82e2b79f08c33326d2ad5e324cf (diff)
downloadfreebsd-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.
Diffstat (limited to 'math/p5-Math-Round')
-rw-r--r--math/p5-Math-Round/Makefile22
-rw-r--r--math/p5-Math-Round/distinfo1
-rw-r--r--math/p5-Math-Round/pkg-descr7
-rw-r--r--math/p5-Math-Round/pkg-plist7
4 files changed, 37 insertions, 0 deletions
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