aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Time-Local
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Time-Local')
-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
4 files changed, 37 insertions, 0 deletions
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