diff options
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/p5-DBIx-Class-InflateColumn-FS/Makefile | 28 | ||||
-rw-r--r-- | databases/p5-DBIx-Class-InflateColumn-FS/distinfo | 2 | ||||
-rw-r--r-- | databases/p5-DBIx-Class-InflateColumn-FS/pkg-descr | 16 | ||||
-rw-r--r-- | databases/p5-DBIx-Class-InflateColumn-FS/pkg-plist | 6 |
5 files changed, 53 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 844ee024b08c..827bceb7096f 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -350,6 +350,7 @@ SUBDIR += p5-DBIx-Class-EncodedColumn SUBDIR += p5-DBIx-Class-Fixtures SUBDIR += p5-DBIx-Class-FrozenColumns + SUBDIR += p5-DBIx-Class-InflateColumn-FS SUBDIR += p5-DBIx-Class-InflateColumn-IP SUBDIR += p5-DBIx-Class-IntrospectableM2M SUBDIR += p5-DBIx-Class-Loader 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 |