Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2021 03:48:36 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1ada33d124b5 - main - devel/p5-Time-Elapsed: Add p5-Time-Elapsed 0.33
Message-ID:  <202109210348.18L3mack017003@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1ada33d124b58466bdc2b0d6f92c32321d8b31b0

commit 1ada33d124b58466bdc2b0d6f92c32321d8b31b0
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-09-21 03:05:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-09-21 03:35:06 +0000

    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
---
 devel/Makefile                  |  1 +
 devel/p5-Time-Elapsed/Makefile  | 21 +++++++++++++++++++++
 devel/p5-Time-Elapsed/distinfo  |  3 +++
 devel/p5-Time-Elapsed/pkg-descr |  5 +++++
 devel/p5-Time-Elapsed/pkg-plist | 12 ++++++++++++
 5 files changed, 42 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109210348.18L3mack017003>