aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-DateTime-Format-DateManip
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-07-07 08:34:12 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-07-07 08:34:12 +0000
commit0a997cadbe5946d567f8c64425d91aa0d5f93cd3 (patch)
tree30d174ad2eaa13786f3e1ae2c701ca5f5a11f8f6 /devel/p5-DateTime-Format-DateManip
parent38abf8685353c8ee4990e90b35bc0bca28b7f843 (diff)
downloadports-0a997cadbe5946d567f8c64425d91aa0d5f93cd3.tar.gz
ports-0a997cadbe5946d567f8c64425d91aa0d5f93cd3.zip
Notes
Diffstat (limited to 'devel/p5-DateTime-Format-DateManip')
-rw-r--r--devel/p5-DateTime-Format-DateManip/Makefile33
-rw-r--r--devel/p5-DateTime-Format-DateManip/distinfo1
-rw-r--r--devel/p5-DateTime-Format-DateManip/pkg-descr5
-rw-r--r--devel/p5-DateTime-Format-DateManip/pkg-plist3
4 files changed, 42 insertions, 0 deletions
diff --git a/devel/p5-DateTime-Format-DateManip/Makefile b/devel/p5-DateTime-Format-DateManip/Makefile
new file mode 100644
index 000000000000..fa07f7c4be2e
--- /dev/null
+++ b/devel/p5-DateTime-Format-DateManip/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: p5-DateTime-Format-DateManip
+# Date created: 2 july 2003
+# Whom: Mathieu Arnold <m@absolight.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DateTime-Format-DateManip
+PORTVERSION= 0.01
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= DateTime
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= m@absolight.net
+COMMENT= Convert Date::Manip dates and durations to DateTimes and vice versa
+
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
+ ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
+ ${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip
+BUILD_DEPENDS= ${RUN_DEPENDS} \
+ ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build
+
+PERL_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+post-patch:
+ ${PERL} -pi -e '$$_ = "" if /^use bytes;/' ${WRKSRC}/lib/DateTime/Format/DateManip.pm
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-DateTime-Format-DateManip/distinfo b/devel/p5-DateTime-Format-DateManip/distinfo
new file mode 100644
index 000000000000..c959aecf7bd8
--- /dev/null
+++ b/devel/p5-DateTime-Format-DateManip/distinfo
@@ -0,0 +1 @@
+MD5 (DateTime-Format-DateManip-0.01.tar.gz) = d3f6f5346c18102fd4641e8ef61d1ea1
diff --git a/devel/p5-DateTime-Format-DateManip/pkg-descr b/devel/p5-DateTime-Format-DateManip/pkg-descr
new file mode 100644
index 000000000000..d3f4abaec48d
--- /dev/null
+++ b/devel/p5-DateTime-Format-DateManip/pkg-descr
@@ -0,0 +1,5 @@
+DateTime::Format::DateManip is a class that knows how to convert between
+Date::Manip dates and durations and DateTime and DateTime::Duration objects.
+Recurrences are note yet supported.
+
+WWW: http://datetime.perl.org/
diff --git a/devel/p5-DateTime-Format-DateManip/pkg-plist b/devel/p5-DateTime-Format-DateManip/pkg-plist
new file mode 100644
index 000000000000..f2543c923d9a
--- /dev/null
+++ b/devel/p5-DateTime-Format-DateManip/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_PERL%%/DateTime/Format/DateManip.pm
+@unexec rmdir %D/%%SITE_PERL%%/DateTime/Format 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DateTime 2>/dev/null || true