aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-TimeDate
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1997-09-02 00:05:39 +0800
committerandreas <andreas@FreeBSD.org>1997-09-02 00:05:39 +0800
commita30c44bc94e8684f98a5f5641abf2805603c1510 (patch)
tree5f0290db4435f37155ae169092cf59c9de108ea0 /devel/p5-TimeDate
parentdb10d453bf04c6c5afb9afe5aec128c01766adca (diff)
downloadfreebsd-ports-gnome-a30c44bc94e8684f98a5f5641abf2805603c1510.tar.gz
freebsd-ports-gnome-a30c44bc94e8684f98a5f5641abf2805603c1510.tar.zst
freebsd-ports-gnome-a30c44bc94e8684f98a5f5641abf2805603c1510.zip
New port p5-TimeDate
Required for some MRTG (MultiRouterTrafficGrapher) variant supporting monitoring of a squid proxy cache.
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