diff options
author | wen <wen@FreeBSD.org> | 2010-01-08 10:11:32 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2010-01-08 10:11:32 +0800 |
commit | 48bd55f203068dfe33f9c2945230cb795b7268f5 (patch) | |
tree | 19a188f3e69f7c3adb8465bf9be6354440c89408 /converters | |
parent | a6a99659ce9e87a8694063b138eaa187a664e8ea (diff) | |
download | freebsd-ports-gnome-48bd55f203068dfe33f9c2945230cb795b7268f5.tar.gz freebsd-ports-gnome-48bd55f203068dfe33f9c2945230cb795b7268f5.tar.zst freebsd-ports-gnome-48bd55f203068dfe33f9c2945230cb795b7268f5.zip |
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>
Diffstat (limited to 'converters')
-rw-r--r-- | converters/Makefile | 1 | ||||
-rw-r--r-- | converters/p5-Format-Human-Bytes/Makefile | 21 | ||||
-rw-r--r-- | converters/p5-Format-Human-Bytes/distinfo | 3 | ||||
-rw-r--r-- | converters/p5-Format-Human-Bytes/pkg-descr | 5 | ||||
-rw-r--r-- | converters/p5-Format-Human-Bytes/pkg-plist | 7 |
5 files changed, 37 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile index ab30862962ef..df49b239f075 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -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 diff --git a/converters/p5-Format-Human-Bytes/Makefile b/converters/p5-Format-Human-Bytes/Makefile new file mode 100644 index 000000000000..b001495b99ef --- /dev/null +++ b/converters/p5-Format-Human-Bytes/Makefile @@ -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> diff --git a/converters/p5-Format-Human-Bytes/distinfo b/converters/p5-Format-Human-Bytes/distinfo new file mode 100644 index 000000000000..cdd1bebadeef --- /dev/null +++ b/converters/p5-Format-Human-Bytes/distinfo @@ -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 diff --git a/converters/p5-Format-Human-Bytes/pkg-descr b/converters/p5-Format-Human-Bytes/pkg-descr new file mode 100644 index 000000000000..9651ae75b319 --- /dev/null +++ b/converters/p5-Format-Human-Bytes/pkg-descr @@ -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/ diff --git a/converters/p5-Format-Human-Bytes/pkg-plist b/converters/p5-Format-Human-Bytes/pkg-plist new file mode 100644 index 000000000000..c5c48bf9637e --- /dev/null +++ b/converters/p5-Format-Human-Bytes/pkg-plist @@ -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 |