summaryrefslogtreecommitdiff
path: root/databases/p5-DBIx-Class-InflateColumn-FS
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2011-04-13 08:54:11 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2011-04-13 08:54:11 +0000
commit2b42431f30f092a5c6399ab956828295570eaaae (patch)
tree3726a03d4140e8d4b04c83d8995b9faccc504e81 /databases/p5-DBIx-Class-InflateColumn-FS
parent- Limit the BROKENness to only CURRENT (diff)
Provides inflation to a Path::Class::File object allowing file system
storage of BLOBS. The storage path is specified with fs_column_path. Each file receives a unique name, so the storage for all FS columns can share the same path. Within the path specified by fs_column_path, files are stored in sub-directories based on the first 2 characters of the unique file names. Up to 256 sub-directories will be created, as needed. Override _fs_column_dirs in a derived class to change this behavior. fs_new_on_update will create a new file name if the file has been updated. WWW: http://search.cpan.org/dist/DBIx-Class-InflateColumn-FS/
Notes
Notes: svn path=/head/; revision=272665
Diffstat (limited to 'databases/p5-DBIx-Class-InflateColumn-FS')
-rw-r--r--databases/p5-DBIx-Class-InflateColumn-FS/Makefile28
-rw-r--r--databases/p5-DBIx-Class-InflateColumn-FS/distinfo2
-rw-r--r--databases/p5-DBIx-Class-InflateColumn-FS/pkg-descr16
-rw-r--r--databases/p5-DBIx-Class-InflateColumn-FS/pkg-plist6
4 files changed, 52 insertions, 0 deletions
diff --git a/databases/p5-DBIx-Class-InflateColumn-FS/Makefile b/databases/p5-DBIx-Class-InflateColumn-FS/Makefile
new file mode 100644
index 000000000000..a3be518039d4
--- /dev/null
+++ b/databases/p5-DBIx-Class-InflateColumn-FS/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: DBIx::Class::InflateColumn::FS
+# Date created: 18 Mar 2011
+# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DBIx-Class-InflateColumn-FS
+PORTVERSION= 0.01007
+CATEGORIES= databases perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= kuriyama@FreeBSD.org
+COMMENT= Perl extension to {in,de}flate columns to Path::Class::File objects
+
+RUN_DEPENDS= \
+ p5-DBIx-Class>=0.08:${PORTSDIR}/databases/p5-DBIx-Class \
+ p5-DBIx-Class-UUIDColumns>=0.02005:${PORTSDIR}/databases/p5-DBIx-Class-UUIDColumns \
+ p5-Path-Class>0:${PORTSDIR}/devel/p5-Path-Class
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= DBIx::Class::InflateColumn::FS.3 \
+ DBIx::Class::InflateColumn::FS::ResultSet.3
+
+.include <bsd.port.mk>
diff --git a/databases/p5-DBIx-Class-InflateColumn-FS/distinfo b/databases/p5-DBIx-Class-InflateColumn-FS/distinfo
new file mode 100644
index 000000000000..80924bd9e92f
--- /dev/null
+++ b/databases/p5-DBIx-Class-InflateColumn-FS/distinfo
@@ -0,0 +1,2 @@
+SHA256 (DBIx-Class-InflateColumn-FS-0.01007.tar.gz) = a1f0042ac8092823808a2d5358a907f95973426a9b869efbc0492d915eefbfb2
+SIZE (DBIx-Class-InflateColumn-FS-0.01007.tar.gz) = 31302
diff --git a/databases/p5-DBIx-Class-InflateColumn-FS/pkg-descr b/databases/p5-DBIx-Class-InflateColumn-FS/pkg-descr
new file mode 100644
index 000000000000..cdc84335f031
--- /dev/null
+++ b/databases/p5-DBIx-Class-InflateColumn-FS/pkg-descr
@@ -0,0 +1,16 @@
+Provides inflation to a Path::Class::File object allowing file system
+storage of BLOBS.
+
+The storage path is specified with fs_column_path. Each file receives
+a unique name, so the storage for all FS columns can share the same
+path.
+
+Within the path specified by fs_column_path, files are stored in
+sub-directories based on the first 2 characters of the unique file
+names. Up to 256 sub-directories will be created, as needed. Override
+_fs_column_dirs in a derived class to change this behavior.
+
+fs_new_on_update will create a new file name if the file has been
+updated.
+
+WWW: http://search.cpan.org/dist/DBIx-Class-InflateColumn-FS/
diff --git a/databases/p5-DBIx-Class-InflateColumn-FS/pkg-plist b/databases/p5-DBIx-Class-InflateColumn-FS/pkg-plist
new file mode 100644
index 000000000000..d0da5d75440b
--- /dev/null
+++ b/databases/p5-DBIx-Class-InflateColumn-FS/pkg-plist
@@ -0,0 +1,6 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class/InflateColumn/FS/.packlist
+%%SITE_PERL%%/DBIx/Class/InflateColumn/FS.pm
+%%SITE_PERL%%/DBIx/Class/InflateColumn/FS/ResultSet.pm
+@dirrm %%SITE_PERL%%/DBIx/Class/InflateColumn/FS
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class/InflateColumn/FS
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class/InflateColumn