Port details on branch 2022Q2 |
- p5-Number-Format-Metric Format number with metric prefix
- 0.60 textproc =0 0.60Version of this port present on the latest quarterly branch.
- Maintainer: vvelox@vvelox.net
- Port Added: 2021-11-05 08:21:05
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/dist/Number-Format-Metric
- 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"
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- 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:
|