summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2006-06-07 11:46:16 +0000
committerabs <abs@pkgsrc.org>2006-06-07 11:46:16 +0000
commit3584f5778b0bbb86eed3852ef37bb5dfa35a94e7 (patch)
treeb2b3a23febf1905db42efdba5ae04f5c5a644197 /time
parent5284f6793a964e3068a899d33603cd2ab3923e6f (diff)
downloadpkgsrc-3584f5778b0bbb86eed3852ef37bb5dfa35a94e7.tar.gz
Added time/p5-DateTime-Format-Strptime-1.0700
This module implements most of strptime(3), the POSIX function that is the reverse of strftime(3), for DateTime. While strftime takes a DateTime and a pattern and returns a string, strptime takes a string and a pattern and returns the DateTime object associated.
Diffstat (limited to 'time')
-rw-r--r--time/p5-DateTime-Format-Strptime/DESCR4
-rw-r--r--time/p5-DateTime-Format-Strptime/Makefile17
-rw-r--r--time/p5-DateTime-Format-Strptime/PLIST1
-rw-r--r--time/p5-DateTime-Format-Strptime/distinfo5
4 files changed, 27 insertions, 0 deletions
diff --git a/time/p5-DateTime-Format-Strptime/DESCR b/time/p5-DateTime-Format-Strptime/DESCR
new file mode 100644
index 00000000000..c6391f568fb
--- /dev/null
+++ b/time/p5-DateTime-Format-Strptime/DESCR
@@ -0,0 +1,4 @@
+This module implements most of strptime(3), the POSIX function that
+is the reverse of strftime(3), for DateTime. While strftime takes
+a DateTime and a pattern and returns a string, strptime takes a
+string and a pattern and returns the DateTime object associated.
diff --git a/time/p5-DateTime-Format-Strptime/Makefile b/time/p5-DateTime-Format-Strptime/Makefile
new file mode 100644
index 00000000000..7bc01720289
--- /dev/null
+++ b/time/p5-DateTime-Format-Strptime/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/06/07 11:46:16 abs Exp $
+
+DISTNAME= DateTime-Format-Strptime-1.0700
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= time perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DateTime/}
+
+MAINTAINER= abs@NetBSD.org
+HOMEPAGE= http://search.cpan.org/~rickm/DateTime-Format-Strptime/
+COMMENT= Parse and format strp and strf time patterns
+
+DEPENDS+= p5-DateTime>=0.14:../../time/p5-DateTime
+
+PERL5_PACKLIST= auto/DateTime/Format/Strptime/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/p5-DateTime-Format-Strptime/PLIST b/time/p5-DateTime-Format-Strptime/PLIST
new file mode 100644
index 00000000000..4ac21e396dc
--- /dev/null
+++ b/time/p5-DateTime-Format-Strptime/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/06/07 11:46:16 abs Exp $
diff --git a/time/p5-DateTime-Format-Strptime/distinfo b/time/p5-DateTime-Format-Strptime/distinfo
new file mode 100644
index 00000000000..3a25ae36da6
--- /dev/null
+++ b/time/p5-DateTime-Format-Strptime/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/06/07 11:46:16 abs Exp $
+
+SHA1 (DateTime-Format-Strptime-1.0700.tar.gz) = 28791945de321a8f3230ac81b644c488ec440d2e
+RMD160 (DateTime-Format-Strptime-1.0700.tar.gz) = 8f8b1fc94a50676dd202e477d888d5e260189c7b
+Size (DateTime-Format-Strptime-1.0700.tar.gz) = 26324 bytes