aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-DateTime-Format-ICal
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2003-07-08 16:47:40 +0800
committererwin <erwin@FreeBSD.org>2003-07-08 16:47:40 +0800
commit8bb88502050025fd21fe43f93fb435e5ce1e81c3 (patch)
treef2e6ec0a8d86ddc546cb9c58e1a533cbf4327dc1 /devel/p5-DateTime-Format-ICal
parentb2339c7a866212f8cab1b6f05841ccf5829333a2 (diff)
downloadfreebsd-ports-gnome-8bb88502050025fd21fe43f93fb435e5ce1e81c3.tar.gz
freebsd-ports-gnome-8bb88502050025fd21fe43f93fb435e5ce1e81c3.tar.zst
freebsd-ports-gnome-8bb88502050025fd21fe43f93fb435e5ce1e81c3.zip
Add p5-DateTime-Format-ICal 0.06,
parse and format ICal datetime and duration strings. PR: 54034 Submitted by: Mathieu Arnold <m@absolight.net>
Diffstat (limited to 'devel/p5-DateTime-Format-ICal')
-rw-r--r--devel/p5-DateTime-Format-ICal/Makefile35
-rw-r--r--devel/p5-DateTime-Format-ICal/distinfo1
-rw-r--r--devel/p5-DateTime-Format-ICal/pkg-descr5
-rw-r--r--devel/p5-DateTime-Format-ICal/pkg-plist3
4 files changed, 44 insertions, 0 deletions
diff --git a/devel/p5-DateTime-Format-ICal/Makefile b/devel/p5-DateTime-Format-ICal/Makefile
new file mode 100644
index 000000000000..905ec9eb746e
--- /dev/null
+++ b/devel/p5-DateTime-Format-ICal/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: p5-DateTime-Format-ICal
+# Date created: 2 july 2003
+# Whom: Mathieu Arnold <m@absolight.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DateTime-Format-ICal
+PORTVERSION= 0.06
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= DateTime
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= m@absolight.net
+COMMENT= Parse and format ICal datetime and duration strings
+
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
+ ${SITE_PERL}/DateTime/TimeZone.pm:${PORTSDIR}/devel/p5-DateTime-TimeZone \
+ ${SITE_PERL}/DateTime/Event/ICal.pm:${PORTSDIR}/devel/p5-DateTime-Event-ICal \
+ ${SITE_PERL}/DateTime/Span.pm:${PORTSDIR}/devel/p5-DateTime-Set \
+ ${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate
+BUILD_DEPENDS= ${RUN_DEPENDS} \
+ ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build
+
+PERL_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+
+# Depends on devel/p5-DateTime-Event-ICal which requires perl >= 5.6
+.if ${PERL_LEVEL} < 500600
+IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-DateTime-Format-ICal/distinfo b/devel/p5-DateTime-Format-ICal/distinfo
new file mode 100644
index 000000000000..bf35e89eb1b7
--- /dev/null
+++ b/devel/p5-DateTime-Format-ICal/distinfo
@@ -0,0 +1 @@
+MD5 (DateTime-Format-ICal-0.06.tar.gz) = ab01acf6df4604262ae1d55d062410c8
diff --git a/devel/p5-DateTime-Format-ICal/pkg-descr b/devel/p5-DateTime-Format-ICal/pkg-descr
new file mode 100644
index 000000000000..50218d61e5ef
--- /dev/null
+++ b/devel/p5-DateTime-Format-ICal/pkg-descr
@@ -0,0 +1,5 @@
+This module understands the ICal date/time and duration formats, as defined in
+RFC 2445. It can be used to parse these formats in order to create the
+appropriate objects.
+
+WWW: http://datetime.perl.org/
diff --git a/devel/p5-DateTime-Format-ICal/pkg-plist b/devel/p5-DateTime-Format-ICal/pkg-plist
new file mode 100644
index 000000000000..5097724c1cf0
--- /dev/null
+++ b/devel/p5-DateTime-Format-ICal/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_PERL%%/DateTime/Format/ICal.pm
+@unexec rmdir %D/%%SITE_PERL%%/DateTime/Format 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DateTime 2>/dev/null || true