aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-DateTime-HiRes
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2003-10-04 00:06:40 +0800
committermat <mat@FreeBSD.org>2003-10-04 00:06:40 +0800
commitf43a1ea8df6dee57d78b7847822212ca2ad0db24 (patch)
tree38bda53265dc1bf5dcd884b13262fb2ea1ea2461 /devel/p5-DateTime-HiRes
parentd253232428c7ae72a770cd1b68d570c28cd5c4e0 (diff)
downloadfreebsd-ports-graphics-f43a1ea8df6dee57d78b7847822212ca2ad0db24.tar.gz
freebsd-ports-graphics-f43a1ea8df6dee57d78b7847822212ca2ad0db24.tar.zst
freebsd-ports-graphics-f43a1ea8df6dee57d78b7847822212ca2ad0db24.zip
p5-DateTime-HiRes 0.01,
This module enables you to generate DateTime objects that represent the current time with sub-second resolution.
Diffstat (limited to 'devel/p5-DateTime-HiRes')
-rw-r--r--devel/p5-DateTime-HiRes/Makefile27
-rw-r--r--devel/p5-DateTime-HiRes/distinfo1
-rw-r--r--devel/p5-DateTime-HiRes/pkg-descr4
-rw-r--r--devel/p5-DateTime-HiRes/pkg-plist3
4 files changed, 35 insertions, 0 deletions
diff --git a/devel/p5-DateTime-HiRes/Makefile b/devel/p5-DateTime-HiRes/Makefile
new file mode 100644
index 00000000000..78058e846c1
--- /dev/null
+++ b/devel/p5-DateTime-HiRes/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: p5-DateTime-HiRes
+# Date created: 3 october 2003
+# Whom: mat
+#
+# $FreeBSD$
+#
+
+PORTNAME= DateTime-HiRes
+PORTVERSION= 0.01
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= DateTime
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= mat@FreeBSD.org
+COMMENT= Create DateTime objects with sub-second current time resolution
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
+ ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= DateTime::HiRes.3
+
+.include "../../devel/p5-Module-Build/inc.build.mk"
+.include <bsd.port.mk>
diff --git a/devel/p5-DateTime-HiRes/distinfo b/devel/p5-DateTime-HiRes/distinfo
new file mode 100644
index 00000000000..656f89e8f1c
--- /dev/null
+++ b/devel/p5-DateTime-HiRes/distinfo
@@ -0,0 +1 @@
+MD5 (DateTime-HiRes-0.01.tar.gz) = a0142640bd0b0e56d08e635ed382eb84
diff --git a/devel/p5-DateTime-HiRes/pkg-descr b/devel/p5-DateTime-HiRes/pkg-descr
new file mode 100644
index 00000000000..8dae9d3361f
--- /dev/null
+++ b/devel/p5-DateTime-HiRes/pkg-descr
@@ -0,0 +1,4 @@
+This module enables you to generate DateTime objects that represent the current
+time with sub-second resolution.
+
+WWW: http://datetime.perl.org/
diff --git a/devel/p5-DateTime-HiRes/pkg-plist b/devel/p5-DateTime-HiRes/pkg-plist
new file mode 100644
index 00000000000..8a271a363ec
--- /dev/null
+++ b/devel/p5-DateTime-HiRes/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_PERL%%/DateTime/HiRes.pm
+%%SITE_PERL%%/DateTime/HiRes.pod
+@unexec rmdir %D/%%SITE_PERL%%/DateTime 2>/dev/null || true