summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-DateTime-Format-Excel/Makefile26
-rw-r--r--devel/p5-DateTime-Format-Excel/distinfo1
-rw-r--r--devel/p5-DateTime-Format-Excel/pkg-descr6
-rw-r--r--devel/p5-DateTime-Format-Excel/pkg-plist7
5 files changed, 41 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 2ff4fc073543..b1d06a01967d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -558,6 +558,7 @@
SUBDIR += p5-DateTime-Format-Bork
SUBDIR += p5-DateTime-Format-Builder
SUBDIR += p5-DateTime-Format-DBI
+ SUBDIR += p5-DateTime-Format-Excel
SUBDIR += p5-DateTime-Format-MySQL
SUBDIR += p5-DateTime-Format-Pg
SUBDIR += p5-DateTime-Format-Strptime
diff --git a/devel/p5-DateTime-Format-Excel/Makefile b/devel/p5-DateTime-Format-Excel/Makefile
new file mode 100644
index 000000000000..2dddda69ea1f
--- /dev/null
+++ b/devel/p5-DateTime-Format-Excel/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: p5-DateTime-Format-Excel
+# Date created: 2 july 2003
+# Whom: Mathieu Arnold <m@absolight.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DateTime-Format-Excel
+PORTVERSION= 0.28
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= DateTime
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= m@absolight.net
+COMMENT= Convert between DateTime and Excel dates
+
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
+ ${SITE_PERL}/Test/Pod.pm:${PORTSDIR}/devel/p5-Test-Pod
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= DateTime::Format::Excel.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-DateTime-Format-Excel/distinfo b/devel/p5-DateTime-Format-Excel/distinfo
new file mode 100644
index 000000000000..bc181dbc0be5
--- /dev/null
+++ b/devel/p5-DateTime-Format-Excel/distinfo
@@ -0,0 +1 @@
+MD5 (DateTime-Format-Excel-0.28.tar.gz) = f8c02d537bb3538f7c472faa4b0872a1
diff --git a/devel/p5-DateTime-Format-Excel/pkg-descr b/devel/p5-DateTime-Format-Excel/pkg-descr
new file mode 100644
index 000000000000..a7ea0391f6e3
--- /dev/null
+++ b/devel/p5-DateTime-Format-Excel/pkg-descr
@@ -0,0 +1,6 @@
+Excel uses a different system for its dates than most Unix programs. This
+module allows you to convert between a few of the Excel raw formats and
+DateTime objects, which can then be further converted via any of the other
+DateTime::Format::* modules, or just with DateTime's methods.
+
+WWW: http://datetime.perl.org/
diff --git a/devel/p5-DateTime-Format-Excel/pkg-plist b/devel/p5-DateTime-Format-Excel/pkg-plist
new file mode 100644
index 000000000000..237ba7e9b5dc
--- /dev/null
+++ b/devel/p5-DateTime-Format-Excel/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/DateTime/Format/Excel.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/Excel/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/Excel
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DateTime/Format 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DateTime 2>/dev/null || true