diff options
author | Jim Mock <jim@FreeBSD.org> | 2000-10-31 18:39:27 +0000 |
---|---|---|
committer | Jim Mock <jim@FreeBSD.org> | 2000-10-31 18:39:27 +0000 |
commit | f8da7aba3f73d807cb9b7b3f48892875673f3bad (patch) | |
tree | 033f1c896480cf41318b43db7782c41acb13c7c9 /devel/p5-Time-Period | |
parent | Import of p5-Mon. (diff) |
Import of p5-Time-Period.
This is a perl5 module that contains code to deal with time periods.
Submitted by: Nick Esborn <nick@netdot.net>
Notes
Notes:
svn path=/head/; revision=34506
Diffstat (limited to 'devel/p5-Time-Period')
-rw-r--r-- | devel/p5-Time-Period/Makefile | 27 | ||||
-rw-r--r-- | devel/p5-Time-Period/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Time-Period/pkg-comment | 1 | ||||
-rw-r--r-- | devel/p5-Time-Period/pkg-descr | 9 | ||||
-rw-r--r-- | devel/p5-Time-Period/pkg-plist | 3 |
5 files changed, 41 insertions, 0 deletions
diff --git a/devel/p5-Time-Period/Makefile b/devel/p5-Time-Period/Makefile new file mode 100644 index 000000000000..6797abe89895 --- /dev/null +++ b/devel/p5-Time-Period/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: p5-Time-Period +# Date created: October 30th, 2000 +# Whom: Nicholas Esborn <nick@netdot.net> +# +# $FreeBSD$ +# + +PORTNAME= Time-Period +PORTVERSION= 1.20 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Time +PKGNAMEPREFIX= p5- +DISTNAME= Period-${PORTVERSION} + +MAINTAINER= nick@netdot.net + +USE_PERL5= YES + +MAN3= Time::Period.3 + +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +do-configure: + @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + +.include <bsd.port.mk> diff --git a/devel/p5-Time-Period/distinfo b/devel/p5-Time-Period/distinfo new file mode 100644 index 000000000000..c2f206a2146f --- /dev/null +++ b/devel/p5-Time-Period/distinfo @@ -0,0 +1 @@ +MD5 (Period-1.20.tar.gz) = 63b073af8ec96e7fa48801cd6fcccdd1 diff --git a/devel/p5-Time-Period/pkg-comment b/devel/p5-Time-Period/pkg-comment new file mode 100644 index 000000000000..b991b585509c --- /dev/null +++ b/devel/p5-Time-Period/pkg-comment @@ -0,0 +1 @@ +A perl module that contains code to deal with time periods diff --git a/devel/p5-Time-Period/pkg-descr b/devel/p5-Time-Period/pkg-descr new file mode 100644 index 000000000000..02505c931a46 --- /dev/null +++ b/devel/p5-Time-Period/pkg-descr @@ -0,0 +1,9 @@ +Period.pm is a Perl module that contains code to deal with time periods. +Currently, there is only a function in this module. That function is +called inPeriod(). + +inPeriod() determines if a given time is within a given time period. +It will return 1 if it is, 0 if not, and -1 if either the time or the +period passed to it were malformed. The time is specified in non-leap +year seconds past January 1, 1970, as per the time() function. The period +is a string which is of the form described in Period's man page. diff --git a/devel/p5-Time-Period/pkg-plist b/devel/p5-Time-Period/pkg-plist new file mode 100644 index 000000000000..5b5ba7910812 --- /dev/null +++ b/devel/p5-Time-Period/pkg-plist @@ -0,0 +1,3 @@ +lib/perl5/site_perl/%%PERL_VER%%/Time/Period.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Time/Period/.packlist +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Time/Period |