From d5febf090e2769258a4ef7f209206ef4ac48afa7 Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Sat, 5 Jan 2019 20:10:47 +0000 Subject: [PATCH] devel/p5-Time-Moment-Role-TimeZone: create port This role provides convenience methods to return a new Time::Moment object adjusted according to a DateTime::TimeZone/DateTime::TimeZone::Tzfile compatible time zone object, as in "TIME ZONES" in Time::Moment. WWW: https://metacpan.org/release/Time-Moment-Role-TimeZone PR: 229340 Submitted by: Tomohiro Hosaka --- devel/Makefile | 1 + devel/p5-Time-Moment-Role-TimeZone/Makefile | 28 ++++++++++++++++++++ devel/p5-Time-Moment-Role-TimeZone/distinfo | 3 +++ devel/p5-Time-Moment-Role-TimeZone/pkg-descr | 5 ++++ 4 files changed, 37 insertions(+) create mode 100644 devel/p5-Time-Moment-Role-TimeZone/Makefile create mode 100644 devel/p5-Time-Moment-Role-TimeZone/distinfo create mode 100644 devel/p5-Time-Moment-Role-TimeZone/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index b5d201bd7b69..95843eca67ad 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3706,6 +3706,7 @@ SUBDIR += p5-Time-Local SUBDIR += p5-Time-Mock SUBDIR += p5-Time-Moment + SUBDIR += p5-Time-Moment-Role-TimeZone SUBDIR += p5-Time-Object SUBDIR += p5-Time-Out SUBDIR += p5-Time-ParseDate diff --git a/devel/p5-Time-Moment-Role-TimeZone/Makefile b/devel/p5-Time-Moment-Role-TimeZone/Makefile new file mode 100644 index 000000000000..46f40d8d166f --- /dev/null +++ b/devel/p5-Time-Moment-Role-TimeZone/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= Time-Moment-Role-TimeZone +PORTVERSION= 0.002 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR=CPAN:DBOOK +PKGNAMEPREFIX= p5- + +MAINTAINER= bokutin@bokut.in +COMMENT= Adjust Time::Moment with time zone objects + +LICENSE= ART20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= p5-Role-Tiny>=2.000001:devel/p5-Role-Tiny \ + p5-Time-Moment>=0.18:devel/p5-Time-Moment +TEST_DEPENDS= p5-Test-Needs>=0:devel/p5-Test-Needs + +USES= perl5 + +NO_ARCH= yes +USE_PERL5= configure + +PLIST_FILES= ${SITE_PERL}/Time/Moment/Role/TimeZone.pm \ + ${SITE_MAN3_REL}/Time::Moment::Role::TimeZone.3.gz + +.include diff --git a/devel/p5-Time-Moment-Role-TimeZone/distinfo b/devel/p5-Time-Moment-Role-TimeZone/distinfo new file mode 100644 index 000000000000..91598c370230 --- /dev/null +++ b/devel/p5-Time-Moment-Role-TimeZone/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1530016527 +SHA256 (Time-Moment-Role-TimeZone-0.002.tar.gz) = e5fae1d549cc0e5d6bafa7d8c9a3c41f9c137290cf9c3c097a7ca5760b1b6078 +SIZE (Time-Moment-Role-TimeZone-0.002.tar.gz) = 16564 diff --git a/devel/p5-Time-Moment-Role-TimeZone/pkg-descr b/devel/p5-Time-Moment-Role-TimeZone/pkg-descr new file mode 100644 index 000000000000..e8c6bbcfdb50 --- /dev/null +++ b/devel/p5-Time-Moment-Role-TimeZone/pkg-descr @@ -0,0 +1,5 @@ +This role provides convenience methods to return a new Time::Moment object +adjusted according to a DateTime::TimeZone/DateTime::TimeZone::Tzfile +compatible time zone object, as in "TIME ZONES" in Time::Moment. + +WWW: https://metacpan.org/release/Time-Moment-Role-TimeZone