Port details |
- p5-Number-Format-Metric Format number with metric prefix
- 0.60 textproc =2 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
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- 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:
|
Number of commits found: 4
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.60 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.60 20 Jul 2022 14:23:14 |
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 ) |
0.60 05 Nov 2021 08:18:09 |
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: 4
|