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:
Wen Heping 2010-01-08 02:11:32 +00:00
parent c371e8f890
commit b4d5830232
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247373
5 changed files with 37 additions and 0 deletions

View File

@ -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

View 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>

View 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

View 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/

View 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