Ever showed 12345678 bytes to the user instead of just saying 11MB?
This module returns you a printable string which is more readable by humans than a simple bytecount. WWW: http://search.cpan.org/dist/Format-Human-Bytes/ PR: ports/141108 Submitted by: Cezary Morga <cm@therek.net>
This commit is contained in:
parent
c371e8f890
commit
b4d5830232
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247373
@ -67,6 +67,7 @@
|
||||
SUBDIR += p5-Encode-JIS2K
|
||||
SUBDIR += p5-Encode-compat
|
||||
SUBDIR += p5-Encoding-FixLatin
|
||||
SUBDIR += p5-Format-Human-Bytes
|
||||
SUBDIR += p5-JSON
|
||||
SUBDIR += p5-JSON-XS-VersionOneAndTwo
|
||||
SUBDIR += p5-JSON1
|
||||
|
21
converters/p5-Format-Human-Bytes/Makefile
Normal file
21
converters/p5-Format-Human-Bytes/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# New ports collection makefile for: p5-Format-Human-Bytes
|
||||
# Date created: November 28th 2009
|
||||
# Whom: Cezary Morga <cm@therek.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Format-Human-Bytes
|
||||
PORTVERSION= 0.04
|
||||
CATEGORIES= converters perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= cm@therek.net
|
||||
COMMENT= Perl module to format a bytecount and make it human readable
|
||||
|
||||
PERL_CONFIGURE= YES
|
||||
|
||||
MAN3= Format::Human::Bytes.3
|
||||
|
||||
.include <bsd.port.mk>
|
3
converters/p5-Format-Human-Bytes/distinfo
Normal file
3
converters/p5-Format-Human-Bytes/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (Format-Human-Bytes-0.04.tar.gz) = d29701e4f1ac0914d11fb10bfbb5350a
|
||||
SHA256 (Format-Human-Bytes-0.04.tar.gz) = 4b521798e1fdc30e9cb7dd3c99bf1cbd8e51443792ab8015690172be96e63d68
|
||||
SIZE (Format-Human-Bytes-0.04.tar.gz) = 23322
|
5
converters/p5-Format-Human-Bytes/pkg-descr
Normal file
5
converters/p5-Format-Human-Bytes/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
Ever showed 12345678 bytes to the user instead of just saying 11MB?
|
||||
This module returns you a printable string which is more readable
|
||||
by humans than a simple bytecount.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Format-Human-Bytes/
|
7
converters/p5-Format-Human-Bytes/pkg-plist
Normal file
7
converters/p5-Format-Human-Bytes/pkg-plist
Normal file
@ -0,0 +1,7 @@
|
||||
%%SITE_PERL%%/Format/Human/Bytes.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Format/Human/Bytes/.packlist
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Format/Human/Bytes
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Format/Human
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Format
|
||||
@dirrmtry %%SITE_PERL%%/Format/Human
|
||||
@dirrmtry %%SITE_PERL%%/Format
|
Loading…
Reference in New Issue
Block a user