aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2003-07-02 02:10:29 +0800
committererwin <erwin@FreeBSD.org>2003-07-02 02:10:29 +0800
commit75971517cf972f7c6ca997880453a81966ab579b (patch)
tree8705bc0321fae24766fc6fc4a11fc680a0c634d8 /devel
parent9ee8b2680ab429129a9ec13dd460fce8837743d5 (diff)
downloadfreebsd-ports-gnome-75971517cf972f7c6ca997880453a81966ab579b.tar.gz
freebsd-ports-gnome-75971517cf972f7c6ca997880453a81966ab579b.tar.zst
freebsd-ports-gnome-75971517cf972f7c6ca997880453a81966ab579b.zip
Add p5-Time-Local 1.07,
efficiently compute time from local and GMT time. PR: 53960 Submitted by: Mathieu Arnold <m@absolight.net>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Time-Local/Makefile23
-rw-r--r--devel/p5-Time-Local/distinfo1
-rw-r--r--devel/p5-Time-Local/pkg-descr8
-rw-r--r--devel/p5-Time-Local/pkg-plist5
5 files changed, 38 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 8968e5669dc9..7343e03cc9ce 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -716,6 +716,7 @@
SUBDIR += p5-Tie-IxHash
SUBDIR += p5-Time-Duration
SUBDIR += p5-Time-HiRes
+ SUBDIR += p5-Time-Local
SUBDIR += p5-Time-Object
SUBDIR += p5-Time-Period
SUBDIR += p5-Time-Piece
diff --git a/devel/p5-Time-Local/Makefile b/devel/p5-Time-Local/Makefile
new file mode 100644
index 000000000000..2f69ca982bdf
--- /dev/null
+++ b/devel/p5-Time-Local/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: p5-Time-Local
+# Date created: 1 july 2003
+# Whom: Mathieu Arnold <m@absolight.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Time-Local
+PORTVERSION= 1.07
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Time
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= m@absolight.net
+COMMENT= Efficiently compute time from local and GMT time
+
+PERL_CONFIGURE= yes
+CONFIGURE_ARGS+= INSTALLDIRS='site'
+
+MAN3= Time::Local.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Time-Local/distinfo b/devel/p5-Time-Local/distinfo
new file mode 100644
index 000000000000..b7b20fe5f95a
--- /dev/null
+++ b/devel/p5-Time-Local/distinfo
@@ -0,0 +1 @@
+MD5 (Time-Local-1.07.tar.gz) = 6f9e4d0b938d8063f2e5e7643123576c
diff --git a/devel/p5-Time-Local/pkg-descr b/devel/p5-Time-Local/pkg-descr
new file mode 100644
index 000000000000..e5681972aae2
--- /dev/null
+++ b/devel/p5-Time-Local/pkg-descr
@@ -0,0 +1,8 @@
+These routines are the inverse of built-in perl functions localtime() and
+gmtime(). They accept a date as a six-element array, and return the
+corresponding time(2) value in seconds since the system epoch (Midnight,
+January 1, 1970 UTC on Unix, for example). This value can be positive or
+negative, though POSIX only requires support for positive values, so dates
+before the system's epoch may not work on all operating systems.
+
+WWW: http://search.cpan.org/dist/Time-Local/
diff --git a/devel/p5-Time-Local/pkg-plist b/devel/p5-Time-Local/pkg-plist
new file mode 100644
index 000000000000..0f68465e5934
--- /dev/null
+++ b/devel/p5-Time-Local/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Time/Local.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Time/Local/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Time/Local
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Time 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Time 2>/dev/null || true