diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2003-07-06 10:03:45 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2003-07-06 10:03:45 +0000 |
commit | 931ddc17b8e1ff6d5cd8f1a3fabc8533025c2f00 (patch) | |
tree | e8bb146e486800447f41cf08c19caa5f4f857e10 /devel | |
parent | Update to 1.0.1. (diff) |
Add p5-DateTime-Event-Easter 1.0100,
returns Easter events for
DateTime objects.
PR: 53979
Submitted by: Mathieu Arnold <m@absolight.net>
Notes
Notes:
svn path=/head/; revision=84283
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-DateTime-Event-Easter/Makefile | 29 | ||||
-rw-r--r-- | devel/p5-DateTime-Event-Easter/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-DateTime-Event-Easter/pkg-descr | 11 | ||||
-rw-r--r-- | devel/p5-DateTime-Event-Easter/pkg-plist | 7 |
5 files changed, 49 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 00257300a83f..bcfcc6a5f24e 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/p5-DateTime-Event-Easter/Makefile b/devel/p5-DateTime-Event-Easter/Makefile new file mode 100644 index 000000000000..b25e229c94ee --- /dev/null +++ b/devel/p5-DateTime-Event-Easter/Makefile @@ -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> diff --git a/devel/p5-DateTime-Event-Easter/distinfo b/devel/p5-DateTime-Event-Easter/distinfo new file mode 100644 index 000000000000..d5bfbdbffe9e --- /dev/null +++ b/devel/p5-DateTime-Event-Easter/distinfo @@ -0,0 +1 @@ +MD5 (DateTime-Event-Easter-1.0100.tar.gz) = cf282e5341da41f4ef70b25a749ad566 diff --git a/devel/p5-DateTime-Event-Easter/pkg-descr b/devel/p5-DateTime-Event-Easter/pkg-descr new file mode 100644 index 000000000000..de5f541ca25f --- /dev/null +++ b/devel/p5-DateTime-Event-Easter/pkg-descr @@ -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/ diff --git a/devel/p5-DateTime-Event-Easter/pkg-plist b/devel/p5-DateTime-Event-Easter/pkg-plist new file mode 100644 index 000000000000..06e6abd16e61 --- /dev/null +++ b/devel/p5-DateTime-Event-Easter/pkg-plist @@ -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 |