aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-TimeDate
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1997-09-02 00:05:39 +0800
committerAndreas Klemm <andreas@FreeBSD.org>1997-09-02 00:05:39 +0800
commit5a7fcdc216c1543e5310da7a9c26ae2297141a44 (patch)
tree394181c664598276aef2f1967914920fadc936fc /devel/p5-TimeDate
parent73844a5731036dc431c0af4a1d7a66baa7f63514 (diff)
downloadfreebsd-ports-5a7fcdc216c1543e5310da7a9c26ae2297141a44.tar.gz
freebsd-ports-5a7fcdc216c1543e5310da7a9c26ae2297141a44.tar.zst
freebsd-ports-5a7fcdc216c1543e5310da7a9c26ae2297141a44.zip
New port p5-TimeDate
Required for some MRTG (MultiRouterTrafficGrapher) variant supporting monitoring of a squid proxy cache.
Notes
Notes: svn path=/head/; revision=7748
Diffstat (limited to 'devel/p5-TimeDate')
-rw-r--r--devel/p5-TimeDate/Makefile26
-rw-r--r--devel/p5-TimeDate/distinfo1
-rw-r--r--devel/p5-TimeDate/pkg-comment1
-rw-r--r--devel/p5-TimeDate/pkg-descr19
-rw-r--r--devel/p5-TimeDate/pkg-plist9
5 files changed, 56 insertions, 0 deletions
diff --git a/devel/p5-TimeDate/Makefile b/devel/p5-TimeDate/Makefile
new file mode 100644
index 000000000000..23b71d3b9b21
--- /dev/null
+++ b/devel/p5-TimeDate/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: p5-TimeDate
+# Version required: 1.07
+# Date created: Mon Sep 1 17:03:41 CEST 1997
+# Whom: Andreas Klemm <andreas@klemm.gtn.com>
+#
+# $Id$
+#
+
+DISTNAME= TimeDate-1.07
+PKGNAME= p5-TimeDate-1.07
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Date
+
+MAINTAINER= andreas@FreeBSD.ORG
+
+USE_PERL5= YES
+
+MAN3= Date::Format.3 Date::Parse.3 Time::Zone.3
+
+MANPREFIX= ${PREFIX}/lib/perl5
+
+do-configure:
+ @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/devel/p5-TimeDate/distinfo b/devel/p5-TimeDate/distinfo
new file mode 100644
index 000000000000..9b5912b14eb5
--- /dev/null
+++ b/devel/p5-TimeDate/distinfo
@@ -0,0 +1 @@
+MD5 (TimeDate-1.07.tar.gz) = f0e1347f8e117f32799ac2a375b6263e
diff --git a/devel/p5-TimeDate/pkg-comment b/devel/p5-TimeDate/pkg-comment
new file mode 100644
index 000000000000..5a86118b0317
--- /dev/null
+++ b/devel/p5-TimeDate/pkg-comment
@@ -0,0 +1 @@
+perl5 module containing a better/faster date parser for absolute dates
diff --git a/devel/p5-TimeDate/pkg-descr b/devel/p5-TimeDate/pkg-descr
new file mode 100644
index 000000000000..7e56a1a813b9
--- /dev/null
+++ b/devel/p5-TimeDate/pkg-descr
@@ -0,0 +1,19 @@
+This is the perl5 TimeDate distribution. It requires perl version 5.003
+or later
+
+This distribution replaces my earlier GetDate distribution, which was
+only a date parser. The date parser contained in this distribution
+is far superior to the yacc based parser, and a *lot* fatser.
+
+The parser contained here will only parse absolute dates, if you want a date
+parser that can parse relative dates then take a look at the
+Time modules by David Muir on CPAN.
+
+The file Local.pm.new which is included in this distribution is a patched
+version of Time::Local which comes with perl. It fixes two problems
+
+ - It determines the zone offset based on now rather than epoch
+ - It fixes a problem with looping forever when a year > 1900 is passed in
+
+Please report any bugs/suggestions to <Graham.Barr@tiuk.ti.com>
+Copyright 1996 Graham Barr. All rights reserved.
diff --git a/devel/p5-TimeDate/pkg-plist b/devel/p5-TimeDate/pkg-plist
new file mode 100644
index 000000000000..d2369da8a523
--- /dev/null
+++ b/devel/p5-TimeDate/pkg-plist
@@ -0,0 +1,9 @@
+lib/perl5/man/man3/./Date::Format.3.gz
+lib/perl5/man/man3/./Date::Parse.3.gz
+lib/perl5/man/man3/./Time::Zone.3.gz
+lib/perl5/site_perl/Date/Format.pm
+lib/perl5/site_perl/Date/Language.pm
+lib/perl5/site_perl/Date/Parse.pm
+lib/perl5/site_perl/Time/Zone.pm
+lib/perl5/site_perl/i386-freebsd/auto/TimeDate/.packlist
+@dirrm lib/perl5/site_perl/i386-freebsd/auto/TimeDate