summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2005-01-26 16:19:41 +0000
committercube <cube@pkgsrc.org>2005-01-26 16:19:41 +0000
commitce1a33ddd79301db10ed8b5baf27e3b28b246762 (patch)
treeda79789d14017b90cd9c9b2e86e892ddcf9457dd /time
parent498959280c38a9db07cb103ed055ffb35e9c9b71 (diff)
downloadpkgsrc-ce1a33ddd79301db10ed8b5baf27e3b28b246762.tar.gz
Initial import of p5-DateTime-Set, version 0.19, into the NetBSD Packages
Collection. DateTime::Set is a module for date/time sets. It can be used to handle two different types of sets. The first is a fixed set of predefined datetime objects. For example, if we wanted to create a set of dates containing the birthdays of people in our family. The second type of set that it can handle is one based on the idea of a recurrence, such as "every Wednesday", or "noon on the 15th day of every month". This type of set can have fixed starting and ending datetimes, but neither is required. So our "every Wednesday set" could be "every Wednesday from the beginning of time until the end of time", or "every Wednesday after 2003-03-05 until the end of time", or "every Wednesday between 2003-03-05 and 2004-01-07".
Diffstat (limited to 'time')
-rw-r--r--time/p5-DateTime-Set/DESCR14
-rw-r--r--time/p5-DateTime-Set/Makefile19
-rw-r--r--time/p5-DateTime-Set/PLIST1
-rw-r--r--time/p5-DateTime-Set/distinfo4
4 files changed, 38 insertions, 0 deletions
diff --git a/time/p5-DateTime-Set/DESCR b/time/p5-DateTime-Set/DESCR
new file mode 100644
index 00000000000..b316970dccf
--- /dev/null
+++ b/time/p5-DateTime-Set/DESCR
@@ -0,0 +1,14 @@
+DateTime::Set is a module for date/time sets. It can be used to handle two
+different types of sets.
+
+The first is a fixed set of predefined datetime objects. For example, if we
+wanted to create a set of dates containing the birthdays of people in our
+family.
+
+The second type of set that it can handle is one based on the idea of a
+recurrence, such as "every Wednesday", or "noon on the 15th day of every
+month". This type of set can have fixed starting and ending datetimes, but
+neither is required. So our "every Wednesday set" could be "every Wednesday
+from the beginning of time until the end of time", or "every Wednesday after
+2003-03-05 until the end of time", or "every Wednesday between 2003-03-05 and
+2004-01-07".
diff --git a/time/p5-DateTime-Set/Makefile b/time/p5-DateTime-Set/Makefile
new file mode 100644
index 00000000000..09b6abe5128
--- /dev/null
+++ b/time/p5-DateTime-Set/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/01/26 16:19:41 cube Exp $
+
+DISTNAME= DateTime-Set-0.19
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= time perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DateTime/}
+
+MAINTAINER= cube@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/DateTime-Set/
+COMMENT= Perl module for date/time sets and ranges
+
+DEPENDS+= p5-DateTime>=0.12:../../time/p5-DateTime
+DEPENDS+= p5-Set-Infinite>=0.59:../../math/p5-Set-Infinite
+
+USE_BUILDLINK3= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/DateTime/Set/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/p5-DateTime-Set/PLIST b/time/p5-DateTime-Set/PLIST
new file mode 100644
index 00000000000..58037823352
--- /dev/null
+++ b/time/p5-DateTime-Set/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/26 16:19:41 cube Exp $
diff --git a/time/p5-DateTime-Set/distinfo b/time/p5-DateTime-Set/distinfo
new file mode 100644
index 00000000000..a1dac4d8b79
--- /dev/null
+++ b/time/p5-DateTime-Set/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/01/26 16:19:41 cube Exp $
+
+SHA1 (DateTime-Set-0.19.tar.gz) = 6eb33dc61e1d0432c681decd25e6535f50c79147
+Size (DateTime-Set-0.19.tar.gz) = 39591 bytes