1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Add p5-DateTime-Format-MySQL 0.03,

parse and format MySQL dates and
times.

PR:		54028
Submitted by:	Mathieu Arnold <m@absolight.net>
This commit is contained in:
Erwin Lansing 2003-07-07 08:07:19 +00:00
parent 4020c357c0
commit fb000b5e02
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84366
5 changed files with 36 additions and 0 deletions

View File

@ -558,6 +558,7 @@
SUBDIR += p5-DateTime-Format-Bork
SUBDIR += p5-DateTime-Format-Builder
SUBDIR += p5-DateTime-Format-DBI
SUBDIR += p5-DateTime-Format-MySQL
SUBDIR += p5-DateTime-Format-Pg
SUBDIR += p5-DateTime-Format-Strptime
SUBDIR += p5-DateTime-LeapSecond

View File

@ -0,0 +1,25 @@
# New ports collection makefile for: p5-DateTime-Format-MySQL
# Date created: 2 july 2003
# Whom: Mathieu Arnold <m@absolight.net>
#
# $FreeBSD$
#
PORTNAME= DateTime-Format-MySQL
PORTVERSION= 0.03
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DateTime
PKGNAMEPREFIX= p5-
MAINTAINER= m@absolight.net
COMMENT= Parse and format MySQL dates and times
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
${SITE_PERL}/DateTime/Format/Builder.pm:${PORTSDIR}/devel/p5-DateTime-Format-Builder
BUILD_DEPENDS= ${RUN_DEPENDS} \
${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build
PERL_CONFIGURE= yes
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (DateTime-Format-MySQL-0.03.tar.gz) = 787963146a22c7ea2697f2fef4e851cb

View File

@ -0,0 +1,6 @@
This module understands the formats used by MySQL for its DATE, DATETIME, TIME,
and TIMESTAMP data types. It can be used to parse these formats in order to
create DateTime objects, and it can take a DateTime object and produce a string
representing it in the MySQL format.
WWW: http://datetime.perl.org/

View File

@ -0,0 +1,3 @@
%%SITE_PERL%%/DateTime/Format/MySQL.pm
@unexec rmdir %D/%%SITE_PERL%%/DateTime/Format 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/DateTime 2>/dev/null || true