Port details |
- p5-Number-Format-Metric Format number with metric prefix
- 0.60 textproc
=0 Version of this port present on the latest quarterly branch. - Maintainer: vvelox@vvelox.net
 - Port Added: 2021-11-05 08:21:05
- Last Update: 2022-07-20 14:23:14
- Commit Hash: 5cf7e35
- Also Listed In: perl5
- License: ART10 GPLv1+
- Description:
- Format number with metric prefix.
format_metric(14 , {base=>10}); # => "14"
format_metric(12000 , {base=> 2, precision=>1}); # => "11.7K"
format_metric(12000 , {base=>10, precision=>1}); # => "11.7Ki"
format_metric(-0.0017, {base=>10}); # => "1.7m"
WWW: https://metacpan.org/dist/Number-Format-Metric
- SVNWeb : git : Homepage
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Number-Format-Metric>0:textproc/p5-Number-Format-Metric
- To install the port:
- cd /usr/ports/textproc/p5-Number-Format-Metric/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/p5-Number-Format-Metric
- pkg install p5-Number-Format-Metric
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Number-Format-Metric
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1633971826
SHA256 (Number-Format-Metric-0.60.tar.gz) = f46c5c32f2979dcecc8fbaf054eb17adb6dd306d4be9db98397bde706857bbb3
SIZE (Number-Format-Metric-0.60.tar.gz) = 13772
- Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- devel/p5-Data-Unixish
- for Run
-
- devel/p5-Data-Unixish
- Configuration Options:
- No options to configure
- Options name:
- textproc_p5-Number-Format-Metric
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 2
Commit History - (may be incomplete: see SVNWeb link above for full details) |
Date | By | Description |
20 Jul 2022 14:23:14 0.60 |
Tobias C. Berner (tcberner)  |
textproc: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Choe, Cheng-Dae" whitekid
* -
* <glewis@FreeBSD.org>
* <koshy@india.hp.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron Straup Cope
* Aaron Straup Cope <ascope@cpan.org>
* Ache
* Adam Herzog <adam@herzogdesigns.com>
* Adam Weinberger <adamw@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
05 Nov 2021 08:18:09 0.60 |
Yasuhiro Kimura (yasu)  Author: Zane C. Bowers-Hadley |
textproc/p5-Number-Format-Metric: Add new port
Format number with metric prefix.
format_metric(14 , {base=>10}); # => "14"
format_metric(12000 , {base=> 2, precision=>1}); # => "11.7K"
format_metric(12000 , {base=>10, precision=>1}); # => "11.7Ki"
format_metric(-0.0017, {base=>10}); # => "1.7m"
PR: 259078
MFH: 2021Q4 (required to fix missing dependency issue) |
Number of commits found: 2
|