Add p5-DateTime-Format-HTTP 0.35

This module provides functions that deal the date formats used by the HTTP
protocol (and then some more).

PR:		54187
Submitted by:	mat
Approved by:	demon (mentor)
This commit is contained in:
Mathieu Arnold 2003-08-19 10:57:34 +00:00
parent 8187eb918d
commit d61d3045ff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87286
5 changed files with 53 additions and 0 deletions

View file

@ -563,6 +563,7 @@
SUBDIR += p5-DateTime-Format-DateManip
SUBDIR += p5-DateTime-Format-Epoch
SUBDIR += p5-DateTime-Format-Excel
SUBDIR += p5-DateTime-Format-HTTP
SUBDIR += p5-DateTime-Format-ICal
SUBDIR += p5-DateTime-Format-ISO8601
SUBDIR += p5-DateTime-Format-Mail

View file

@ -0,0 +1,40 @@
# New ports collection makefile for: p5-DateTime-Format-HTTP
# Date created: 7 july 2003
# Whom: Mathieu Arnold <mat@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= DateTime-Format-HTTP
PORTVERSION= 0.35
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DateTime
PKGNAMEPREFIX= p5-
MAINTAINER= mat@FreeBSD.org
COMMENT= HTTP date conversion routines
BUILD_DEPENDS= ${RUN_DEPENDS} \
${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
${SITE_PERL}/Test/Pod.pm:${PORTSDIR}/devel/p5-Test-Pod \
${SITE_PERL}/HTTP/Date.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/File/Find/Rule.pm:${PORTSDIR}/devel/p5-File-Find-Rule
PERL_CONFIGURE= yes
MAN3= DateTime::Format::HTTP.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} <= 500600
RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
.endif
.if ${PERL_LEVEL} < 500600
post-patch:
@${PERL} -pi -e '$$_ = "" if /use warnings/;' \
${WRKSRC}/lib/DateTime/Format/HTTP.pm
.endif
.include <bsd.port.post.mk>

View file

@ -0,0 +1 @@
MD5 (DateTime-Format-HTTP-0.35.tar.gz) = 43e7a44bad1c6c4e0385c58caf9f36f9

View file

@ -0,0 +1,4 @@
This module provides functions that deal the date formats used by the HTTP
protocol (and then some more).
WWW: http://datetime.perl.org/

View file

@ -0,0 +1,7 @@
%%SITE_PERL%%/DateTime/Format/HTTP.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/HTTP/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/HTTP
@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