summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim <jim@FreeBSD.org>2000-10-31 18:39:27 +0000
committerjim <jim@FreeBSD.org>2000-10-31 18:39:27 +0000
commit678f0b2816d5686c74906432beb666986fef3ef3 (patch)
tree15353aad1023508cca66e8af6d9229774a15585c
parenta5d94ad1ef8fc6dc008ead7c4cd7a75848fb92b0 (diff)
downloadFreeBSD-ports-678f0b2816d5686c74906432beb666986fef3ef3.zip
FreeBSD-ports-678f0b2816d5686c74906432beb666986fef3ef3.tar.gz
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>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Time-Period/Makefile27
-rw-r--r--devel/p5-Time-Period/distinfo1
-rw-r--r--devel/p5-Time-Period/pkg-comment1
-rw-r--r--devel/p5-Time-Period/pkg-descr9
-rw-r--r--devel/p5-Time-Period/pkg-plist3
6 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 129c86b..6892d8a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -239,6 +239,7 @@
SUBDIR += p5-Tie-DB_FileLock
SUBDIR += p5-Time
SUBDIR += p5-Time-HiRes
+ SUBDIR += p5-Time-Period
SUBDIR += p5-TimeDate
SUBDIR += p5-TraceFuncs
SUBDIR += patch
diff --git a/devel/p5-Time-Period/Makefile b/devel/p5-Time-Period/Makefile
new file mode 100644
index 0000000..6797abe
--- /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 0000000..c2f206a
--- /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 0000000..b991b58
--- /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 0000000..02505c9
--- /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 0000000..5b5ba79
--- /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
OpenPOWER on IntegriCloud