From 89e9641a419a5dfa13c8e65308721a08b12f5de9 Mon Sep 17 00:00:00 2001 From: Erwin Lansing Date: Sun, 6 Jul 2003 12:44:21 +0000 Subject: Add p5-DateTime-Format-Strptime 1.0302, parse and format strp and strf time patterns. PR: 54013 Submitted by: Mathieu Arnold --- devel/Makefile | 1 + devel/p5-DateTime-Format-Strptime/Makefile | 28 ++++++++++++++++++++++++++++ devel/p5-DateTime-Format-Strptime/distinfo | 1 + devel/p5-DateTime-Format-Strptime/pkg-descr | 6 ++++++ devel/p5-DateTime-Format-Strptime/pkg-plist | 7 +++++++ 5 files changed, 43 insertions(+) create mode 100644 devel/p5-DateTime-Format-Strptime/Makefile create mode 100644 devel/p5-DateTime-Format-Strptime/distinfo create mode 100644 devel/p5-DateTime-Format-Strptime/pkg-descr create mode 100644 devel/p5-DateTime-Format-Strptime/pkg-plist (limited to 'devel') diff --git a/devel/Makefile b/devel/Makefile index b01eb7a562db..8ed7b0e88125 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -555,6 +555,7 @@ SUBDIR += p5-DateTime-Event-Recurrence SUBDIR += p5-DateTime-Event-Sunrise SUBDIR += p5-DateTime-Format-Baby + SUBDIR += p5-DateTime-Format-Strptime SUBDIR += p5-DateTime-LeapSecond SUBDIR += p5-DateTime-Precise SUBDIR += p5-DateTime-Set diff --git a/devel/p5-DateTime-Format-Strptime/Makefile b/devel/p5-DateTime-Format-Strptime/Makefile new file mode 100644 index 000000000000..4bce5dea6def --- /dev/null +++ b/devel/p5-DateTime-Format-Strptime/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: p5-DateTime-Format-Strptime +# Date created: 2 july 2003 +# Whom: Mathieu Arnold +# +# $FreeBSD$ +# + +PORTNAME= DateTime-Format-Strptime +PORTVERSION= 1.0302 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= DateTime +PKGNAMEPREFIX= p5- + +MAINTAINER= m@absolight.net +COMMENT= Parse and format strp and strf time patterns + +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \ + ${SITE_PERL}/DateTime/TimeZone.pm:${PORTSDIR}/devel/p5-DateTime-TimeZone \ + ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime +BUILD_DEPENDS= ${RUN_DEPENDS} + +WRKSRC= ${WRKDIR}/${DISTNAME:S/02//} +PERL_CONFIGURE= yes + +MAN3= DateTime::Format::Strptime.3 + +.include diff --git a/devel/p5-DateTime-Format-Strptime/distinfo b/devel/p5-DateTime-Format-Strptime/distinfo new file mode 100644 index 000000000000..2fceab886f53 --- /dev/null +++ b/devel/p5-DateTime-Format-Strptime/distinfo @@ -0,0 +1 @@ +MD5 (DateTime-Format-Strptime-1.0302.tar.gz) = 7ebd0bc7de54e10be967e29b04e0edf0 diff --git a/devel/p5-DateTime-Format-Strptime/pkg-descr b/devel/p5-DateTime-Format-Strptime/pkg-descr new file mode 100644 index 000000000000..be3d4c614413 --- /dev/null +++ b/devel/p5-DateTime-Format-Strptime/pkg-descr @@ -0,0 +1,6 @@ +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. + +WWW: http://datetime.perl.org/ diff --git a/devel/p5-DateTime-Format-Strptime/pkg-plist b/devel/p5-DateTime-Format-Strptime/pkg-plist new file mode 100644 index 000000000000..f2670cfe44aa --- /dev/null +++ b/devel/p5-DateTime-Format-Strptime/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/DateTime/Format/Strptime.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/Strptime/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/Strptime +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/DateTime/Format 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/DateTime 2>/dev/null || true -- cgit v1.2.3