aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-DateTime-Set
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-06-29 12:22:49 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-06-29 12:22:49 +0000
commit7e0f869704726f804a11302d7f26a4d4e7e71920 (patch)
treedc19d29af02f7d41fee441a0c53abf605949cab3 /devel/p5-DateTime-Set
parentc6c9b93c878e3d59568ff755bbe413a10045397e (diff)
downloadports-7e0f869704726f804a11302d7f26a4d4e7e71920.tar.gz
ports-7e0f869704726f804a11302d7f26a4d4e7e71920.zip
Notes
Diffstat (limited to 'devel/p5-DateTime-Set')
-rw-r--r--devel/p5-DateTime-Set/Makefile34
-rw-r--r--devel/p5-DateTime-Set/distinfo1
-rw-r--r--devel/p5-DateTime-Set/pkg-descr16
-rw-r--r--devel/p5-DateTime-Set/pkg-plist7
4 files changed, 58 insertions, 0 deletions
diff --git a/devel/p5-DateTime-Set/Makefile b/devel/p5-DateTime-Set/Makefile
new file mode 100644
index 000000000000..a549f4de7599
--- /dev/null
+++ b/devel/p5-DateTime-Set/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: p5-DateTime-Set
+# Date created: 26 june 2003
+# Whom: Mathieu Arnold <m@absolight.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DateTime-Set
+PORTVERSION= 0.08
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= DateTime
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= m@absolight.net
+COMMENT= Datetime sets and set math
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
+ ${SITE_PERL}/Set/Infinite.pm:${PORTSDIR}/devel/p5-Set-Infinite
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= DateTime::Set.3 DateTime::Span.3 \
+ DateTime::SpanSet.3
+
+.include <bsd.port.pre.mk>
+
+# Because p5-Set-Infinite needs 5.6.1
+.if ${PERL_LEVEL} < 500601
+IGNORE="Need at least perl 5.6.1 to build"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-DateTime-Set/distinfo b/devel/p5-DateTime-Set/distinfo
new file mode 100644
index 000000000000..d354246bd3e2
--- /dev/null
+++ b/devel/p5-DateTime-Set/distinfo
@@ -0,0 +1 @@
+MD5 (DateTime-Set-0.08.tar.gz) = 945edd9129d9ffacb8d2d55ae65e5d87
diff --git a/devel/p5-DateTime-Set/pkg-descr b/devel/p5-DateTime-Set/pkg-descr
new file mode 100644
index 000000000000..963d78538987
--- /dev/null
+++ b/devel/p5-DateTime-Set/pkg-descr
@@ -0,0 +1,16 @@
+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".
+
+WWW: http://datetime.perl.org/
diff --git a/devel/p5-DateTime-Set/pkg-plist b/devel/p5-DateTime-Set/pkg-plist
new file mode 100644
index 000000000000..a3d7fd7d869f
--- /dev/null
+++ b/devel/p5-DateTime-Set/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/DateTime/Set.pm
+%%SITE_PERL%%/DateTime/Span.pm
+%%SITE_PERL%%/DateTime/SpanSet.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Set/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Set
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DateTime 2>/dev/null || true