summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-26 05:43:16 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-26 05:43:16 +0000
commite0250d2e229a41aaa9fe19c6288fa53b8ab3cc78 (patch)
tree04c154a2970ff44d621f891533fcd14df1485cb5 /math
parentadd p5-Math-BaseCalc 1.011 (diff)
add p5-Math-Calc-Units 1.02
Human-readable unit-aware calculator PR: 34280 Submitted by: Seamus Venasse <svenasse@polaris.ca>
Notes
Notes: svn path=/head/; revision=61987
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/p5-Math-Calc-Units/Makefile22
-rw-r--r--math/p5-Math-Calc-Units/distinfo1
-rw-r--r--math/p5-Math-Calc-Units/pkg-comment1
-rw-r--r--math/p5-Math-Calc-Units/pkg-descr10
-rw-r--r--math/p5-Math-Calc-Units/pkg-plist24
6 files changed, 59 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index c3d6f680346c..0e0a69e87bd6 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -83,6 +83,7 @@
SUBDIR += p5-Math-Bezier
SUBDIR += p5-Math-BigInt
SUBDIR += p5-Math-BigIntFast
+ SUBDIR += p5-Math-Calc-Units
SUBDIR += p5-Math-Currency
SUBDIR += p5-Math-Expr
SUBDIR += p5-Math-FFT
diff --git a/math/p5-Math-Calc-Units/Makefile b/math/p5-Math-Calc-Units/Makefile
new file mode 100644
index 000000000000..331241f797e7
--- /dev/null
+++ b/math/p5-Math-Calc-Units/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: Math::Calc::Units
+# Date created: 25 Jan 2002
+# Whom: Seamus Venasse <svenasse@polaris.ca>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Math-Calc-Units
+PORTVERSION= 1.02
+CATEGORIES= math perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Math
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= svenasse@polaris.ca
+
+PERL_CONFIGURE= yes
+
+MAN3= Math::Calc::Units.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/math/p5-Math-Calc-Units/distinfo b/math/p5-Math-Calc-Units/distinfo
new file mode 100644
index 000000000000..30a6a2ad9c63
--- /dev/null
+++ b/math/p5-Math-Calc-Units/distinfo
@@ -0,0 +1 @@
+MD5 (Math-Calc-Units-1.02.tar.gz) = 96051781e405492b2065b8113e5b5b9f
diff --git a/math/p5-Math-Calc-Units/pkg-comment b/math/p5-Math-Calc-Units/pkg-comment
new file mode 100644
index 000000000000..363880ddaa4a
--- /dev/null
+++ b/math/p5-Math-Calc-Units/pkg-comment
@@ -0,0 +1 @@
+Human-readable unit-aware calculator
diff --git a/math/p5-Math-Calc-Units/pkg-descr b/math/p5-Math-Calc-Units/pkg-descr
new file mode 100644
index 000000000000..2f56e68d3880
--- /dev/null
+++ b/math/p5-Math-Calc-Units/pkg-descr
@@ -0,0 +1,10 @@
+Math::Calc::Units is a simple calculator that keeps track
+of units. It currently handles combinations of byte sizes
+and duration only, although adding any other
+multiplicative types is easy. Any unknown type is treated
+as a unique user type (with some effort to map English
+plurals to their singular forms).
+
+WWW: http://search.cpan.org/search?dist=Math-Calc-Units
+
+Seamus Venasse <svenasse@polaris.ca>
diff --git a/math/p5-Math-Calc-Units/pkg-plist b/math/p5-Math-Calc-Units/pkg-plist
new file mode 100644
index 000000000000..c63191fc2f46
--- /dev/null
+++ b/math/p5-Math-Calc-Units/pkg-plist
@@ -0,0 +1,24 @@
+bin/ucalc
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Calc/Units/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Math/Calc/Units.pm
+lib/perl5/site_perl/%%PERL_VER%%/Math/Calc/Units/Compute.pm
+lib/perl5/site_perl/%%PERL_VER%%/Math/Calc/Units/Convert.pm
+lib/perl5/site_perl/%%PERL_VER%%/Math/Calc/Units/Convert/Base.pm
+lib/perl5/site_perl/%%PERL_VER%%/Math/Calc/Units/Convert/Base2Metric.pm
+lib/perl5/site_perl/%%PERL_VER%%/Math/Calc/Units/Convert/Byte.pm
+lib/perl5/site_perl/%%PERL_VER%%/Math/Calc/Units/Convert/Combo.pm
+lib/perl5/site_perl/%%PERL_VER%%/Math/Calc/Units/Convert/Date.pm
+lib/perl5/site_perl/%%PERL_VER%%/Math/Calc/Units/Convert/Distance.pm
+lib/perl5/site_perl/%%PERL_VER%%/Math/Calc/Units/Convert/Metric.pm
+lib/perl5/site_perl/%%PERL_VER%%/Math/Calc/Units/Convert/Multi.pm
+lib/perl5/site_perl/%%PERL_VER%%/Math/Calc/Units/Convert/Time.pm
+lib/perl5/site_perl/%%PERL_VER%%/Math/Calc/Units/Grammar.pm
+lib/perl5/site_perl/%%PERL_VER%%/Math/Calc/Units/Grammar.y
+lib/perl5/site_perl/%%PERL_VER%%/Math/Calc/Units/Rank.pm
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Math/Calc/Units/Convert 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Math/Calc/Units 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Math/Calc 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Math 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Calc/Units 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Calc 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math 2>/dev/null || true