mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Adding port math/p5-Math-Units, a Perl library to perform unit conversion.
Approved by: tobez (implicit)
This commit is contained in:
parent
4fa76fde50
commit
effadb7fdc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=163406
@ -212,6 +212,7 @@
|
||||
SUBDIR += p5-Math-SymbolicX-ParserExtensionFactory
|
||||
SUBDIR += p5-Math-SymbolicX-Statistics-Distributions
|
||||
SUBDIR += p5-Math-TrulyRandom
|
||||
SUBDIR += p5-Math-Units
|
||||
SUBDIR += p5-Math-Vec
|
||||
SUBDIR += p5-Math-VecStat
|
||||
SUBDIR += p5-MatrixReal
|
||||
|
22
math/p5-Math-Units/Makefile
Normal file
22
math/p5-Math-Units/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# New ports collection makefile for: p5-Math-Units
|
||||
# Date created: 25 May 2006
|
||||
# Whom: Aaron Dalton <aaron@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Math-Units
|
||||
PORTVERSION= 1.2
|
||||
CATEGORIES= math perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Math
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= aaron@FreeBSD.org
|
||||
COMMENT= Unit conversion
|
||||
|
||||
MAN3= Math::Units.3
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
math/p5-Math-Units/distinfo
Normal file
3
math/p5-Math-Units/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (Math-Units-1.2.tar.gz) = 5089d07f2042c567759d1c761c40dd98
|
||||
SHA256 (Math-Units-1.2.tar.gz) = a5fbd19bff53cc4c3878434f8f5b4478a3e4f7aad3e4f858ecadf91aad8e4498
|
||||
SIZE (Math-Units-1.2.tar.gz) = 12148
|
17
math/p5-Math-Units/pkg-descr
Normal file
17
math/p5-Math-Units/pkg-descr
Normal file
@ -0,0 +1,17 @@
|
||||
The Math::Units module converts a numeric value in one unit of measurement
|
||||
to some other unit. The units must be compatible, i.e. length can not be
|
||||
converted to volume. If a conversion can not be made an exception is
|
||||
thrown.
|
||||
|
||||
A combination chaining and reduction algorithm is used to perform the most
|
||||
direct unit conversion possible. Units may be written in several different
|
||||
styles. An abbreviation table is used to convert from common long-form
|
||||
unit names to the (more or less) standard abbreviations that the units
|
||||
module uses internally. All multiplicative unit conversions are cached so
|
||||
that future conversions can be performed very quickly.
|
||||
|
||||
Too many units, prefixes and abbreviations are supported to list here. See
|
||||
the source code for a complete listing.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Math-Units
|
||||
Author: Ken Fox
|
5
math/p5-Math-Units/pkg-plist
Normal file
5
math/p5-Math-Units/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
%%SITE_PERL%%/Math/Units.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Units/.packlist
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Units
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math
|
||||
@dirrmtry %%SITE_PERL%%/Math
|
Loading…
Reference in New Issue
Block a user