aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2009-04-28 20:30:43 +0800
committerlth <lth@FreeBSD.org>2009-04-28 20:30:43 +0800
commita9c4ee458cf086b8bae2e5fbc5af882af63bcbdf (patch)
treeac6047274ad78429ae2c55fb4dde98536b8bc598
parenta16d796ccc949a638e347f6a9db7f8acab3d380f (diff)
downloadfreebsd-ports-gnome-a9c4ee458cf086b8bae2e5fbc5af882af63bcbdf.tar.gz
freebsd-ports-gnome-a9c4ee458cf086b8bae2e5fbc5af882af63bcbdf.tar.zst
freebsd-ports-gnome-a9c4ee458cf086b8bae2e5fbc5af882af63bcbdf.zip
Add p5-DBIx-Class-TimeStamp 0.08, DBIx::Class extension to handle date
and time based fields.
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-DBIx-Class-TimeStamp/Makefile30
-rw-r--r--databases/p5-DBIx-Class-TimeStamp/distinfo3
-rw-r--r--databases/p5-DBIx-Class-TimeStamp/pkg-descr4
-rw-r--r--databases/p5-DBIx-Class-TimeStamp/pkg-plist7
5 files changed, 45 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 15594c4bdb3d..1abf2c53ee8b 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -305,6 +305,7 @@
SUBDIR += p5-DBIx-Class-Loader
SUBDIR += p5-DBIx-Class-ResultSet-RecursiveUpdate
SUBDIR += p5-DBIx-Class-Schema-Loader
+ SUBDIR += p5-DBIx-Class-TimeStamp
SUBDIR += p5-DBIx-Class-UUIDColumns
SUBDIR += p5-DBIx-Class-Validation
SUBDIR += p5-DBIx-Class-WebForm
diff --git a/databases/p5-DBIx-Class-TimeStamp/Makefile b/databases/p5-DBIx-Class-TimeStamp/Makefile
new file mode 100644
index 000000000000..b564cef68337
--- /dev/null
+++ b/databases/p5-DBIx-Class-TimeStamp/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: databases/p5-DBIx-Class-TimeStamp
+# Date created: 28 April 2009
+# Whom: Lars Thegler <lth@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DBIx-Class-TimeStamp
+PORTVERSION= 0.08
+CATEGORIES= databases perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= DBIx
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= DBIx::Class extension to handle date and time based fields
+
+RUN_DEPENDS= p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
+ p5-DBIx-Class>=0:${PORTSDIR}/databases/p5-DBIx-Class \
+ p5-DBIx-Class-DynamicDefault>=0:${PORTSDIR}/databases/p5-DBIx-Class-DynamicDefault
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= DBIx::Class::TimeStamp.3
+
+post-patch:
+ ${PERL} -pi -e '$$_="" if /auto_install/' ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/databases/p5-DBIx-Class-TimeStamp/distinfo b/databases/p5-DBIx-Class-TimeStamp/distinfo
new file mode 100644
index 000000000000..c7f6e7c0e58e
--- /dev/null
+++ b/databases/p5-DBIx-Class-TimeStamp/distinfo
@@ -0,0 +1,3 @@
+MD5 (DBIx-Class-TimeStamp-0.08.tar.gz) = 33a4621ddffa497469ef5c4839da8f0d
+SHA256 (DBIx-Class-TimeStamp-0.08.tar.gz) = a53add9ee3b42d8d9e27797083a99b5a5119cb716dde2f9da1c1dee47baae3aa
+SIZE (DBIx-Class-TimeStamp-0.08.tar.gz) = 24214
diff --git a/databases/p5-DBIx-Class-TimeStamp/pkg-descr b/databases/p5-DBIx-Class-TimeStamp/pkg-descr
new file mode 100644
index 000000000000..145c559a4d97
--- /dev/null
+++ b/databases/p5-DBIx-Class-TimeStamp/pkg-descr
@@ -0,0 +1,4 @@
+Works in conjunction with InflateColumn::DateTime to automatically set update
+and create date and time based fields in a table.
+
+WWW: http://search.cpan.org/dist/DBIx-Class-TimeStamp
diff --git a/databases/p5-DBIx-Class-TimeStamp/pkg-plist b/databases/p5-DBIx-Class-TimeStamp/pkg-plist
new file mode 100644
index 000000000000..7961ca4ecfc3
--- /dev/null
+++ b/databases/p5-DBIx-Class-TimeStamp/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/DBIx/Class/TimeStamp.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class/TimeStamp/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class/TimeStamp
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx
+@dirrmtry %%SITE_PERL%%/DBIx/Class
+@dirrmtry %%SITE_PERL%%/DBIx