diff options
author | mat <mat@FreeBSD.org> | 2013-08-22 22:41:50 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2013-08-22 22:41:50 +0800 |
commit | e1d431f884912cb4f96258b9ab9f123a184991f5 (patch) | |
tree | 0734e82c3371a965e9188837ec247766c8a6dd7d /databases | |
parent | a3145dd998d3bbb2de362d2a8921c373f2381fb1 (diff) | |
download | freebsd-ports-graphics-e1d431f884912cb4f96258b9ab9f123a184991f5.tar.gz freebsd-ports-graphics-e1d431f884912cb4f96258b9ab9f123a184991f5.tar.zst freebsd-ports-graphics-e1d431f884912cb4f96258b9ab9f123a184991f5.zip |
Add virtual columns to DBIx::Class schemata
PR: ports/180306
Submitted by: Anes Mukhametov <anes@anes.su>
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/p5-DBIx-Class-VirtualColumns/Makefile | 24 | ||||
-rw-r--r-- | databases/p5-DBIx-Class-VirtualColumns/distinfo | 2 | ||||
-rw-r--r-- | databases/p5-DBIx-Class-VirtualColumns/pkg-descr | 11 | ||||
-rw-r--r-- | databases/p5-DBIx-Class-VirtualColumns/pkg-plist | 4 |
5 files changed, 42 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 9678eab4b25..c48ea261f12 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -370,6 +370,7 @@ SUBDIR += p5-DBIx-Class-Tree SUBDIR += p5-DBIx-Class-Tree-NestedSet SUBDIR += p5-DBIx-Class-UUIDColumns + SUBDIR += p5-DBIx-Class-VirtualColumns SUBDIR += p5-DBIx-Class-WebForm SUBDIR += p5-DBIx-Connector SUBDIR += p5-DBIx-ContextualFetch diff --git a/databases/p5-DBIx-Class-VirtualColumns/Makefile b/databases/p5-DBIx-Class-VirtualColumns/Makefile new file mode 100644 index 00000000000..831340037f2 --- /dev/null +++ b/databases/p5-DBIx-Class-VirtualColumns/Makefile @@ -0,0 +1,24 @@ +# Created by: Anes Mukhametov <anes@anes.su> +# $FreeBSD$ + +PORTNAME= DBIx-Class-VirtualColumns +PORTVERSION= 1.03 +CATEGORIES= databases perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= anes@anes.su +COMMENT= Add virtual columns to DBIx::Class schemata + +BUILD_DEPENDS= p5-DBIx-Class>=0:${PORTSDIR}/databases/p5-DBIx-Class \ + p5-Class-C3-XS>=0.02:${PORTSDIR}/devel/p5-Class-C3-XS \ + p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite \ + p5-Test-Pod>=0:${PORTSDIR}/devel/p5-Test-Pod +RUN_DEPENDS= p5-DBIx-Class>=0:${PORTSDIR}/databases/p5-DBIx-Class + +USES= perl5 +USE_PERL5= configure + +MAN3= DBIx::Class::VirtualColumns.3 + +.include <bsd.port.mk> diff --git a/databases/p5-DBIx-Class-VirtualColumns/distinfo b/databases/p5-DBIx-Class-VirtualColumns/distinfo new file mode 100644 index 00000000000..4e9145bc4f5 --- /dev/null +++ b/databases/p5-DBIx-Class-VirtualColumns/distinfo @@ -0,0 +1,2 @@ +SHA256 (DBIx-Class-VirtualColumns-1.03.tar.gz) = 9100b23764f0463c0276e47a1a976c81cea2c353f661edb24973918bf2f5d4a9 +SIZE (DBIx-Class-VirtualColumns-1.03.tar.gz) = 30510 diff --git a/databases/p5-DBIx-Class-VirtualColumns/pkg-descr b/databases/p5-DBIx-Class-VirtualColumns/pkg-descr new file mode 100644 index 00000000000..664d1e3bb96 --- /dev/null +++ b/databases/p5-DBIx-Class-VirtualColumns/pkg-descr @@ -0,0 +1,11 @@ +This module allows to specify 'virtual columns' in DBIx::Class schema +classes. Virtual columns behave almost like regular columns but are not +stored in the database. They may be used to store temporary information +in the DBIx::Class::Row object and without introducting an additional +interface. + +Most DBIx::Class methods like "set_column", "set_columns", "get_column", +"get_columns", "column_info", ... will work with regular as well as +virtual columns. + +WWW: http://search.cpan.org/dist/DBIx-Class-VirtualColumns/ diff --git a/databases/p5-DBIx-Class-VirtualColumns/pkg-plist b/databases/p5-DBIx-Class-VirtualColumns/pkg-plist new file mode 100644 index 00000000000..000a93bfdc5 --- /dev/null +++ b/databases/p5-DBIx-Class-VirtualColumns/pkg-plist @@ -0,0 +1,4 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/DBIx/Class/VirtualColumns.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class/VirtualColumns/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class/VirtualColumns |