ports/67068: [NEW PORT] devel/p5-Date-Easter: Calculates Easter for any given year
Lars Thegler
lars at thegler.dk
Sun May 23 10:10:28 UTC 2004
>Number: 67068
>Category: ports
>Synopsis: [NEW PORT] devel/p5-Date-Easter: Calculates Easter for any given year
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun May 23 03:10:28 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Lars Thegler
>Release: FreeBSD 4.10-BETA i386
>Organization:
>Environment:
System: FreeBSD dask.thegler.dk 4.10-BETA FreeBSD 4.10-BETA #3: Mon Apr 12 17:02:50 CEST 2004
>Description:
Calculates Easter for a given year. Yes, Date::Manip already has
code in it to do this. But Date::Manip is very big, and rather slow.
I needed something faster and smaller, and did not need all that
other stuff.
WWW: http://search.cpan.org/dist/Date-Easter/
Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
--- p5-Date-Easter-1.14.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# p5-Date-Easter
# p5-Date-Easter/Makefile
# p5-Date-Easter/distinfo
# p5-Date-Easter/files
# p5-Date-Easter/files/5.005-t::02orthodox.t
# p5-Date-Easter/files/5.005-t::01gregorian.t
# p5-Date-Easter/files/5.005-t::00basics.t
# p5-Date-Easter/pkg-descr
# p5-Date-Easter/pkg-plist
#
echo c - p5-Date-Easter
mkdir -p p5-Date-Easter > /dev/null 2>&1
echo x - p5-Date-Easter/Makefile
sed 's/^X//' >p5-Date-Easter/Makefile << 'END-of-p5-Date-Easter/Makefile'
X# New ports collection makefile for: p5-Date-Easter
X# Date created: Sun May 23 11:36:48 CEST 2004
X# Whom: Lars Thegler <lars at thegler.dk>
X#
X# $FreeBSD$
X
XPORTNAME= Date-Easter
XPORTVERSION= 1.14
XCATEGORIES= devel perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR= Date
XPKGNAMEPREFIX= p5-
X
XMAINTAINER= lars at thegler.dk
XCOMMENT= Calculates Easter for any given year
X
XPERL_CONFIGURE= yes
X
XMAN3= Date::Easter.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} <= 500503
XEXTRA_PATCHES= ${PATCHDIR}/5.005-t::00basics.t \
X ${PATCHDIR}/5.005-t::01gregorian.t \
X ${PATCHDIR}/5.005-t::02orthodox.t
X
X# make PREFIX-clean under perl 5.005_03
Xpost-configure:
X ${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Date-Easter/Makefile
echo x - p5-Date-Easter/distinfo
sed 's/^X//' >p5-Date-Easter/distinfo << 'END-of-p5-Date-Easter/distinfo'
XMD5 (Date-Easter-1.14.tar.gz) = 9a6e8aa50ffdc1958dc3d9585e22422f
XSIZE (Date-Easter-1.14.tar.gz) = 5857
END-of-p5-Date-Easter/distinfo
echo c - p5-Date-Easter/files
mkdir -p p5-Date-Easter/files > /dev/null 2>&1
echo x - p5-Date-Easter/files/5.005-t::02orthodox.t
sed 's/^X//' >p5-Date-Easter/files/5.005-t::02orthodox.t << 'END-of-p5-Date-Easter/files/5.005-t::02orthodox.t'
X--- t/02orthodox.t.orig Sun May 23 09:54:16 2004
X+++ t/02orthodox.t Sun May 23 09:54:51 2004
X@@ -1,4 +1,4 @@
X-use Test::More qw(no_plan);
X+use Test::More tests => 13;
X
X BEGIN { use_ok( 'Date::Easter' ); }
X
END-of-p5-Date-Easter/files/5.005-t::02orthodox.t
echo x - p5-Date-Easter/files/5.005-t::01gregorian.t
sed 's/^X//' >p5-Date-Easter/files/5.005-t::01gregorian.t << 'END-of-p5-Date-Easter/files/5.005-t::01gregorian.t'
X--- t/01gregorian.t.orig Sun May 23 09:54:11 2004
X+++ t/01gregorian.t Sun May 23 09:54:40 2004
X@@ -1,4 +1,4 @@
X-use Test::More qw(no_plan);
X+use Test::More tests => 13;
X
X BEGIN { use_ok( 'Date::Easter' ); }
X
END-of-p5-Date-Easter/files/5.005-t::01gregorian.t
echo x - p5-Date-Easter/files/5.005-t::00basics.t
sed 's/^X//' >p5-Date-Easter/files/5.005-t::00basics.t << 'END-of-p5-Date-Easter/files/5.005-t::00basics.t'
X--- t/00basics.t.orig Sun May 23 09:54:04 2004
X+++ t/00basics.t Sun May 23 09:54:30 2004
X@@ -1,4 +1,4 @@
X-use Test::More qw(no_plan);
X+use Test::More tests => 1;
X
X BEGIN { use_ok( 'Date::Easter' ); }
X
END-of-p5-Date-Easter/files/5.005-t::00basics.t
echo x - p5-Date-Easter/pkg-descr
sed 's/^X//' >p5-Date-Easter/pkg-descr << 'END-of-p5-Date-Easter/pkg-descr'
XCalculates Easter for a given year. Yes, Date::Manip already has
Xcode in it to do this. But Date::Manip is very big, and rather slow.
XI needed something faster and smaller, and did not need all that
Xother stuff.
X
XWWW: http://search.cpan.org/dist/Date-Easter/
END-of-p5-Date-Easter/pkg-descr
echo x - p5-Date-Easter/pkg-plist
sed 's/^X//' >p5-Date-Easter/pkg-plist << 'END-of-p5-Date-Easter/pkg-plist'
X%%SITE_PERL%%/Date/Easter.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Date/Easter/.packlist
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Date/Easter
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Date 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/Date/Easter 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/Date 2>/dev/null || true
END-of-p5-Date-Easter/pkg-plist
exit
--- p5-Date-Easter-1.14.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list