mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Add p5-DateTime-Event-Easter 1.0100,
returns Easter events for DateTime objects. PR: 53979 Submitted by: Mathieu Arnold <m@absolight.net>
This commit is contained in:
parent
82f9f75ce1
commit
931ddc17b8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84283
@ -549,6 +549,7 @@
|
||||
SUBDIR += p5-DateTime-Calendar-Julian
|
||||
SUBDIR += p5-DateTime-Calendar-Mayan
|
||||
SUBDIR += p5-DateTime-Event-Cron
|
||||
SUBDIR += p5-DateTime-Event-Easter
|
||||
SUBDIR += p5-DateTime-LeapSecond
|
||||
SUBDIR += p5-DateTime-Precise
|
||||
SUBDIR += p5-DateTime-Set
|
||||
|
29
devel/p5-DateTime-Event-Easter/Makefile
Normal file
29
devel/p5-DateTime-Event-Easter/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# New ports collection makefile for: p5-DateTime-Event-Easter
|
||||
# Date created: 1 july 2003
|
||||
# Whom: Mathieu Arnold <m@absolight.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= DateTime-Event-Easter
|
||||
PORTVERSION= 1.0100
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= DateTime
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= m@absolight.net
|
||||
COMMENT= Returns Easter events for DateTime objects
|
||||
|
||||
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
|
||||
${SITE_PERL}/DateTime/Calendar/Julian.pm:${PORTSDIR}/devel/p5-DateTime-Calendar-Julian \
|
||||
${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= DateTime::Event::Easter.3
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME:S/00//}
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/p5-DateTime-Event-Easter/distinfo
Normal file
1
devel/p5-DateTime-Event-Easter/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (DateTime-Event-Easter-1.0100.tar.gz) = cf282e5341da41f4ef70b25a749ad566
|
11
devel/p5-DateTime-Event-Easter/pkg-descr
Normal file
11
devel/p5-DateTime-Event-Easter/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
||||
The DateTime::Event::Easter module returns Easter events for DateTime objects.
|
||||
From a given datetime, it can tell you the previous, the following and the
|
||||
closest Easter event. The 'is' method will tell you if the given DateTime is an
|
||||
Easter Event.
|
||||
|
||||
Easter Events can be Palm Sunday, Maundy Thursday, Good Friday, Black Saturday
|
||||
and Easter Sunday. If that's not enough, the module will also accept an offset
|
||||
so you can get the date for Pentecost (49 days after Easter Sunday) by passing
|
||||
49.
|
||||
|
||||
WWW: http://datetime.perl.org/
|
7
devel/p5-DateTime-Event-Easter/pkg-plist
Normal file
7
devel/p5-DateTime-Event-Easter/pkg-plist
Normal file
@ -0,0 +1,7 @@
|
||||
%%SITE_PERL%%/DateTime/Event/Easter.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Event/Easter/.packlist
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Event/Easter
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Event 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/DateTime/Event 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/DateTime 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user