diff options
author | mat <mat@FreeBSD.org> | 2003-10-04 01:18:04 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2003-10-04 01:18:04 +0800 |
commit | 2a5a3f21242c764a71cb6877d0c5c3e24eada086 (patch) | |
tree | 1c80ff8fbfbe155c65fff7b270397c721511b38d /devel | |
parent | 4e7d75de9a3c218a0e8d2cc55de299b3faee6aea (diff) | |
download | freebsd-ports-gnome-2a5a3f21242c764a71cb6877d0c5c3e24eada086.tar.gz freebsd-ports-gnome-2a5a3f21242c764a71cb6877d0c5c3e24eada086.tar.zst freebsd-ports-gnome-2a5a3f21242c764a71cb6877d0c5c3e24eada086.zip |
Add p5-DateTime-Fiscal-Year 0.02,
Calculate the day or week of the Fiscal Year with an arbitrary start date.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-DateTime-Fiscal-Year/Makefile | 26 | ||||
-rw-r--r-- | devel/p5-DateTime-Fiscal-Year/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-DateTime-Fiscal-Year/pkg-descr | 9 | ||||
-rw-r--r-- | devel/p5-DateTime-Fiscal-Year/pkg-plist | 3 |
5 files changed, 40 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 1cffeedc7779..12ac213c3a5a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -580,6 +580,7 @@ SUBDIR += p5-DateTime-Event-NameDay SUBDIR += p5-DateTime-Event-Recurrence SUBDIR += p5-DateTime-Event-Sunrise + SUBDIR += p5-DateTime-Fiscal-Year SUBDIR += p5-DateTime-Format-Baby SUBDIR += p5-DateTime-Format-Bork SUBDIR += p5-DateTime-Format-Builder diff --git a/devel/p5-DateTime-Fiscal-Year/Makefile b/devel/p5-DateTime-Fiscal-Year/Makefile new file mode 100644 index 000000000000..8a0f49b576e5 --- /dev/null +++ b/devel/p5-DateTime-Fiscal-Year/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: p5-DateTime-Fiscal-Year +# Date created: 3 october 2003 +# Whom: mat +# +# $FreeBSD$ +# + +PORTNAME= DateTime-Fiscal-Year +PORTVERSION= 0.02 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= DateTime +PKGNAMEPREFIX= p5- + +MAINTAINER= mat@FreeBSD.org +COMMENT= Calculate the day or week of the Fiscal Year with an arbitrary start date + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= DateTime::Fiscal::Year.3 + +.include "../../devel/p5-Module-Build/inc.build.mk" +.include <bsd.port.mk> diff --git a/devel/p5-DateTime-Fiscal-Year/distinfo b/devel/p5-DateTime-Fiscal-Year/distinfo new file mode 100644 index 000000000000..c8987d947f99 --- /dev/null +++ b/devel/p5-DateTime-Fiscal-Year/distinfo @@ -0,0 +1 @@ +MD5 (DateTime-Fiscal-Year-0.02.tar.gz) = 6d574822bbcd87fc67518966bcd1fb7a diff --git a/devel/p5-DateTime-Fiscal-Year/pkg-descr b/devel/p5-DateTime-Fiscal-Year/pkg-descr new file mode 100644 index 000000000000..b27a48eb8a6f --- /dev/null +++ b/devel/p5-DateTime-Fiscal-Year/pkg-descr @@ -0,0 +1,9 @@ +This module allows you to calulate the day, week, period or quarter of a date +in a fiscal year, given a start date and either a target date or number of +periods and target date. This is often needed in business, where the fiscal +year begins and ends on different days than the calendar year. This module is +based on the Gregorian calendar. Using other DT calendar objects will return +results, but the behavior is unpredicatable for calendars that have more than +365 or 366 days. + +WWW: http://datetime.perl.org/ diff --git a/devel/p5-DateTime-Fiscal-Year/pkg-plist b/devel/p5-DateTime-Fiscal-Year/pkg-plist new file mode 100644 index 000000000000..987c386cd5b7 --- /dev/null +++ b/devel/p5-DateTime-Fiscal-Year/pkg-plist @@ -0,0 +1,3 @@ +%%SITE_PERL%%/DateTime/Fiscal/Year.pm +@dirrm %%SITE_PERL%%/DateTime/Fiscal 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/DateTime 2>/dev/null || true |