textproc/p5-Number-Format-Metric 0.60 FreeBSD
Format number with metric prefix
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
02a19ab64f- License
- ART10, GPLv1+
- Categories
- textproc, perl5
- Package size
- 7.7 KiB, 12.7 KiB installed
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"
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/p5-Number-Format-Metric | 0.60 |
| DragonFly | textproc/p5-Number-Format-Metric | 0.60 |
Install
Binary package:
pkg install p5-Number-Format-Metric
From the ports tree:
cd /usr/ports/textproc/p5-Number-Format-Metric/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Number-Format-Metric>0:textproc/p5-Number-Format-Metric
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.60 | 0.60 | 0.60 | 0.60 | 0.60 |
| FreeBSD:14:quarterly | 0.60 | 0.60 | n/a | 0.60 | 0.60 |
| FreeBSD:15:latest | 0.60 | 0.60 | n/a | 0.60 | 0.60 |
| FreeBSD:15:quarterly | 0.60 | 0.60 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.60 | 0.60 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Number/Format/Metric.pm
- %%PERL5_MAN3%%/Number::Format::Metric.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Number-Format-Metric-0.60.tar.gz | 13772 | f46c5c32f2979dcecc8fbaf054eb17adb6dd306d4be9db98397bde706857bbb3 |
Master sites 1
- CPAN