diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2003-07-07 08:07:19 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2003-07-07 08:07:19 +0000 |
commit | fb000b5e023f42ba456cd8f07ee72afdc29c2307 (patch) | |
tree | 7206c7e75d0f6a344eb8f3231ab2ba1898df8b62 /devel | |
parent | o Fix two vulnerabilities. (diff) |
Add p5-DateTime-Format-MySQL 0.03,
parse and format MySQL dates and
times.
PR: 54028
Submitted by: Mathieu Arnold <m@absolight.net>
Notes
Notes:
svn path=/head/; revision=84366
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-DateTime-Format-MySQL/Makefile | 25 | ||||
-rw-r--r-- | devel/p5-DateTime-Format-MySQL/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-DateTime-Format-MySQL/pkg-descr | 6 | ||||
-rw-r--r-- | devel/p5-DateTime-Format-MySQL/pkg-plist | 3 |
5 files changed, 36 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 6cb255d7756b..2ff4fc073543 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/p5-DateTime-Format-MySQL/Makefile b/devel/p5-DateTime-Format-MySQL/Makefile new file mode 100644 index 000000000000..d7136e99561b --- /dev/null +++ b/devel/p5-DateTime-Format-MySQL/Makefile @@ -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> diff --git a/devel/p5-DateTime-Format-MySQL/distinfo b/devel/p5-DateTime-Format-MySQL/distinfo new file mode 100644 index 000000000000..128fa8d9ae76 --- /dev/null +++ b/devel/p5-DateTime-Format-MySQL/distinfo @@ -0,0 +1 @@ +MD5 (DateTime-Format-MySQL-0.03.tar.gz) = 787963146a22c7ea2697f2fef4e851cb diff --git a/devel/p5-DateTime-Format-MySQL/pkg-descr b/devel/p5-DateTime-Format-MySQL/pkg-descr new file mode 100644 index 000000000000..838d319c79b4 --- /dev/null +++ b/devel/p5-DateTime-Format-MySQL/pkg-descr @@ -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/ diff --git a/devel/p5-DateTime-Format-MySQL/pkg-plist b/devel/p5-DateTime-Format-MySQL/pkg-plist new file mode 100644 index 000000000000..c9e216ccc9fa --- /dev/null +++ b/devel/p5-DateTime-Format-MySQL/pkg-plist @@ -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 |