aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-09-21 03:05:58 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-09-21 03:35:06 +0000
commit1ada33d124b58466bdc2b0d6f92c32321d8b31b0 (patch)
treea1ccf21463e7f740c438b634d81051b5af15b693
parent99dc85299b48a637195a175fbfaab1fadfe25409 (diff)
downloadports-1ada33d124b58466bdc2b0d6f92c32321d8b31b0.tar.gz
ports-1ada33d124b58466bdc2b0d6f92c32321d8b31b0.zip
devel/p5-Time-Elapsed: Add p5-Time-Elapsed 0.33
Time::Elapsed transforms the elapsed seconds into a human readable string. It can be used for (for example) rendering uptime values into a human readable form. The resulting string will be an approximation. WWW: https://metacpan.org/dist/Time-Elapsed
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Time-Elapsed/Makefile21
-rw-r--r--devel/p5-Time-Elapsed/distinfo3
-rw-r--r--devel/p5-Time-Elapsed/pkg-descr5
-rw-r--r--devel/p5-Time-Elapsed/pkg-plist12
5 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 171aa75ee4cc..24427f787c23 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3590,6 +3590,7 @@
SUBDIR += p5-Time-Crontab
SUBDIR += p5-Time-Duration
SUBDIR += p5-Time-Duration-Parse
+ SUBDIR += p5-Time-Elapsed
SUBDIR += p5-Time-Format
SUBDIR += p5-Time-HiRes
SUBDIR += p5-Time-Interval
diff --git a/devel/p5-Time-Elapsed/Makefile b/devel/p5-Time-Elapsed/Makefile
new file mode 100644
index 000000000000..ec50e44ce4cc
--- /dev/null
+++ b/devel/p5-Time-Elapsed/Makefile
@@ -0,0 +1,21 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= Time-Elapsed
+PORTVERSION= 0.33
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Transform the elapsed seconds into a human readable string
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Time-Elapsed/distinfo b/devel/p5-Time-Elapsed/distinfo
new file mode 100644
index 000000000000..3826408bcd08
--- /dev/null
+++ b/devel/p5-Time-Elapsed/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1632036820
+SHA256 (Time-Elapsed-0.33.tar.gz) = 5c0a8bb3b3633114c3dec1af0df14a0cd64695bbe4504cf84d3ff10f3a577290
+SIZE (Time-Elapsed-0.33.tar.gz) = 18180
diff --git a/devel/p5-Time-Elapsed/pkg-descr b/devel/p5-Time-Elapsed/pkg-descr
new file mode 100644
index 000000000000..f4db4a90fb27
--- /dev/null
+++ b/devel/p5-Time-Elapsed/pkg-descr
@@ -0,0 +1,5 @@
+Time::Elapsed transforms the elapsed seconds into a human readable string. It
+can be used for (for example) rendering uptime values into a human readable
+form. The resulting string will be an approximation.
+
+WWW: https://metacpan.org/dist/Time-Elapsed
diff --git a/devel/p5-Time-Elapsed/pkg-plist b/devel/p5-Time-Elapsed/pkg-plist
new file mode 100644
index 000000000000..09087f8a04b9
--- /dev/null
+++ b/devel/p5-Time-Elapsed/pkg-plist
@@ -0,0 +1,12 @@
+%%SITE_PERL%%/Time/Elapsed.pm
+%%SITE_PERL%%/Time/Elapsed/Lang/DA.pm
+%%SITE_PERL%%/Time/Elapsed/Lang/DE.pm
+%%SITE_PERL%%/Time/Elapsed/Lang/EN.pm
+%%SITE_PERL%%/Time/Elapsed/Lang/FR.pm
+%%SITE_PERL%%/Time/Elapsed/Lang/TR.pm
+%%PERL5_MAN3%%/Time::Elapsed.3.gz
+%%PERL5_MAN3%%/Time::Elapsed::Lang::DA.3.gz
+%%PERL5_MAN3%%/Time::Elapsed::Lang::DE.3.gz
+%%PERL5_MAN3%%/Time::Elapsed::Lang::EN.3.gz
+%%PERL5_MAN3%%/Time::Elapsed::Lang::FR.3.gz
+%%PERL5_MAN3%%/Time::Elapsed::Lang::TR.3.gz