From 64fb3679bd2e640fb80ff757ce8498c821efadd1 Mon Sep 17 00:00:00 2001 From: Lars Balker Rasmussen Date: Sun, 29 Mar 2009 16:42:33 +0000 Subject: [PATCH] New port databases/p5-DBIx-Class-DateTime-Epoch: This module automatically inflates/deflates DateTime objects corresponding to applicable columns. Columns may also be defined to specify their nature, such as columns representing a creation time (set at time of insertion) or a modification time (set at time of every update). --- databases/Makefile | 1 + .../p5-DBIx-Class-DateTime-Epoch/Makefile | 25 +++++++++++++++++++ .../p5-DBIx-Class-DateTime-Epoch/distinfo | 3 +++ .../p5-DBIx-Class-DateTime-Epoch/pkg-descr | 7 ++++++ .../p5-DBIx-Class-DateTime-Epoch/pkg-plist | 9 +++++++ 5 files changed, 45 insertions(+) create mode 100644 databases/p5-DBIx-Class-DateTime-Epoch/Makefile create mode 100644 databases/p5-DBIx-Class-DateTime-Epoch/distinfo create mode 100644 databases/p5-DBIx-Class-DateTime-Epoch/pkg-descr create mode 100644 databases/p5-DBIx-Class-DateTime-Epoch/pkg-plist diff --git a/databases/Makefile b/databases/Makefile index 73b1f3b8d36a..1d0c3f20e7aa 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -291,6 +291,7 @@ SUBDIR += p5-DBIx-Browse SUBDIR += p5-DBIx-Class SUBDIR += p5-DBIx-Class-AsFdat + SUBDIR += p5-DBIx-Class-DateTime-Epoch SUBDIR += p5-DBIx-Class-DigestColumns SUBDIR += p5-DBIx-Class-DynamicSubclass SUBDIR += p5-DBIx-Class-EncodeColumns diff --git a/databases/p5-DBIx-Class-DateTime-Epoch/Makefile b/databases/p5-DBIx-Class-DateTime-Epoch/Makefile new file mode 100644 index 000000000000..04eb87a30faa --- /dev/null +++ b/databases/p5-DBIx-Class-DateTime-Epoch/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: databases/p5-DBIx-Class-DateTime-Epoch +# Date created: 29 Mar 2009 +# Whom: Lars Balker Rasmussen +# +# $FreeBSD$ +# + +PORTNAME= DBIx-Class-DateTime-Epoch +PORTVERSION= 0.03 +CATEGORIES= databases perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= lbr@FreeBSD.org +COMMENT= Automatic inflation/deflation of epoch-based DateTime objects + +RUN_DEPENDS= p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \ + p5-DBIx-Class>=0:${PORTSDIR}/databases/p5-DBIx-Class +BUILD_DEPENDS= ${RUN_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= DBIx::Class::DateTime::Epoch.3 + +.include diff --git a/databases/p5-DBIx-Class-DateTime-Epoch/distinfo b/databases/p5-DBIx-Class-DateTime-Epoch/distinfo new file mode 100644 index 000000000000..627e012ee5d4 --- /dev/null +++ b/databases/p5-DBIx-Class-DateTime-Epoch/distinfo @@ -0,0 +1,3 @@ +MD5 (DBIx-Class-DateTime-Epoch-0.03.tar.gz) = 09506b137eee4050c8283dafbd3a98bb +SHA256 (DBIx-Class-DateTime-Epoch-0.03.tar.gz) = 4e47b99ef3f118169a530558b8293e940eff7dcf7cab865046b1f2c4bd454558 +SIZE (DBIx-Class-DateTime-Epoch-0.03.tar.gz) = 2938 diff --git a/databases/p5-DBIx-Class-DateTime-Epoch/pkg-descr b/databases/p5-DBIx-Class-DateTime-Epoch/pkg-descr new file mode 100644 index 000000000000..834d176d996e --- /dev/null +++ b/databases/p5-DBIx-Class-DateTime-Epoch/pkg-descr @@ -0,0 +1,7 @@ +This module automatically inflates/deflates DateTime objects +corresponding to applicable columns. Columns may also be +defined to specify their nature, such as columns representing a +creation time (set at time of insertion) or a modification time +(set at time of every update). + +WWW: http://search.cpan.org/dist/DBIx-Class-DateTime-Epoch/ diff --git a/databases/p5-DBIx-Class-DateTime-Epoch/pkg-plist b/databases/p5-DBIx-Class-DateTime-Epoch/pkg-plist new file mode 100644 index 000000000000..391d6fe32677 --- /dev/null +++ b/databases/p5-DBIx-Class-DateTime-Epoch/pkg-plist @@ -0,0 +1,9 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class/DateTime/Epoch/.packlist +%%SITE_PERL%%/DBIx/Class/DateTime/Epoch.pm +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class/DateTime/Epoch +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class/DateTime +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx +@dirrmtry %%SITE_PERL%%/DBIx/Class/DateTime +@dirrmtry %%SITE_PERL%%/DBIx/Class +@dirrmtry %%SITE_PERL%%/DBIx