From 528370885f38fdeac95a5714de9fc2858b60ce35 Mon Sep 17 00:00:00 2001
From: ade <ade@FreeBSD.org>
Date: Fri, 25 Feb 2000 16:34:22 +0000
Subject: p5-Date-Calc consists of a C library and a Perl module (which uses
 the C library, internally) for all kinds of date calculations based on the
 Gregorian calendar (the one used in all western countries today), thereby
 complying with all relevant norms and standards: ISO/R 2015-1971, DIN 1355
 and, to some extent, ISO 8601 (where applicable).

PR:		16979
Submitted by:	Brad Hendrickse <bradh@uunet.co.za>
---
 devel/Makefile                 |  1 +
 devel/p5-Date-Calc/Makefile    | 25 +++++++++++++++++++++++++
 devel/p5-Date-Calc/distinfo    |  1 +
 devel/p5-Date-Calc/pkg-comment |  1 +
 devel/p5-Date-Calc/pkg-descr   | 11 +++++++++++
 devel/p5-Date-Calc/pkg-plist   |  5 +++++
 6 files changed, 44 insertions(+)
 create mode 100644 devel/p5-Date-Calc/Makefile
 create mode 100644 devel/p5-Date-Calc/distinfo
 create mode 100644 devel/p5-Date-Calc/pkg-comment
 create mode 100644 devel/p5-Date-Calc/pkg-descr
 create mode 100644 devel/p5-Date-Calc/pkg-plist

diff --git a/devel/Makefile b/devel/Makefile
index a17cf074641b..77818e3361d6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -126,6 +126,7 @@
     SUBDIR += p5-Curses
     SUBDIR += p5-Data-Flow
     SUBDIR += p5-Data-ShowTable
+    SUBDIR += p5-Date-Calc
     SUBDIR += p5-Date-Manip
     SUBDIR += p5-Devel-DProf
     SUBDIR += p5-Devel-Peek
diff --git a/devel/p5-Date-Calc/Makefile b/devel/p5-Date-Calc/Makefile
new file mode 100644
index 000000000000..7419ca201c54
--- /dev/null
+++ b/devel/p5-Date-Calc/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for:	p5-Date-Calc
+# Version required:                     4.3
+# Date created:				25 February 2000
+# Whom:	      				Brad Hendrickse <bradh@uunet.co.za>
+#
+# $FreeBSD$
+#
+
+DISTNAME=       Date-Calc-4.3
+PKGNAME=	p5-Date-Calc-4.3
+CATEGORIES=	devel perl5
+MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR=	Date
+
+MAINTAINER=	bradh@uunet.co.za
+
+USE_PERL5=	YES
+
+MAN3=		Date::Calc.3
+MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
+
+do-configure:
+		@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Date-Calc/distinfo b/devel/p5-Date-Calc/distinfo
new file mode 100644
index 000000000000..9e08e9dd9400
--- /dev/null
+++ b/devel/p5-Date-Calc/distinfo
@@ -0,0 +1 @@
+MD5 (Date-Calc-4.3.tar.gz) = da96f2286bb05b33b01801bc2a424e82
diff --git a/devel/p5-Date-Calc/pkg-comment b/devel/p5-Date-Calc/pkg-comment
new file mode 100644
index 000000000000..67e34d4b27d9
--- /dev/null
+++ b/devel/p5-Date-Calc/pkg-comment
@@ -0,0 +1 @@
+Gregorian calendar date calculations
diff --git a/devel/p5-Date-Calc/pkg-descr b/devel/p5-Date-Calc/pkg-descr
new file mode 100644
index 000000000000..77386a6d4a52
--- /dev/null
+++ b/devel/p5-Date-Calc/pkg-descr
@@ -0,0 +1,11 @@
+This package consists of a C library and a Perl module (which uses
+the C library, internally) for all kinds of date calculations based
+on the Gregorian calendar (the one used in all western countries today),
+thereby complying with all relevant norms and standards: ISO/R 2015-1971,
+DIN 1355 and, to some extent, ISO 8601 (where applicable).
+
+WWW: http://www.engelschall.com/u/sb/download/
+
+--
+Brad Hendrickse
+bradh@uunet.co.za
diff --git a/devel/p5-Date-Calc/pkg-plist b/devel/p5-Date-Calc/pkg-plist
new file mode 100644
index 000000000000..d125b4dce329
--- /dev/null
+++ b/devel/p5-Date-Calc/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Calc/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Calc/Calc.so
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Calc/Calc.bs
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Date/Calc.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Calc
-- 
cgit