aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2010-01-08 02:11:32 +0000
committerWen Heping <wen@FreeBSD.org>2010-01-08 02:11:32 +0000
commitb4d5830232b95ab7e173de761a30be19c7716fb7 (patch)
treecb6055224b9d83040434c9b5c29af657da02703c /converters
parentc371e8f8905a952d2e90bcf8cc8bcd4988d368df (diff)
downloadports-b4d5830232b95ab7e173de761a30be19c7716fb7.tar.gz
ports-b4d5830232b95ab7e173de761a30be19c7716fb7.zip
Notes
Diffstat (limited to 'converters')
-rw-r--r--converters/Makefile1
-rw-r--r--converters/p5-Format-Human-Bytes/Makefile21
-rw-r--r--converters/p5-Format-Human-Bytes/distinfo3
-rw-r--r--converters/p5-Format-Human-Bytes/pkg-descr5
-rw-r--r--converters/p5-Format-Human-Bytes/pkg-plist7
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