From 490aef763b929cc2088bcb521e5d474ac7644f7a Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Fri, 18 Jul 2008 20:42:17 +0000 Subject: [PATCH] Convenient way to use dynamic subclassing. This plugin implements methodics described in "Dynamic Sub-classing DBIx::Class proxy classes" in DBIx::Class::Manual::Cookbook. WWW: http://search.cpan.org/dist/DBIx-Class-DynamicSubclass/ PR: ports/125618 Submitted by: Vladimir Timofeev --- databases/Makefile | 1 + .../p5-DBIx-Class-DynamicSubclass/Makefile | 24 +++++++++++++++++++ .../p5-DBIx-Class-DynamicSubclass/distinfo | 3 +++ .../p5-DBIx-Class-DynamicSubclass/pkg-descr | 5 ++++ .../p5-DBIx-Class-DynamicSubclass/pkg-plist | 8 +++++++ 5 files changed, 41 insertions(+) create mode 100644 databases/p5-DBIx-Class-DynamicSubclass/Makefile create mode 100644 databases/p5-DBIx-Class-DynamicSubclass/distinfo create mode 100644 databases/p5-DBIx-Class-DynamicSubclass/pkg-descr create mode 100644 databases/p5-DBIx-Class-DynamicSubclass/pkg-plist diff --git a/databases/Makefile b/databases/Makefile index c1d3d4c4d944..1ce7332ac192 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -266,6 +266,7 @@ SUBDIR += p5-DBIx-Browse SUBDIR += p5-DBIx-Class SUBDIR += p5-DBIx-Class-DigestColumns + SUBDIR += p5-DBIx-Class-DynamicSubclass SUBDIR += p5-DBIx-Class-EncodeColumns SUBDIR += p5-DBIx-Class-Loader SUBDIR += p5-DBIx-Class-Schema-Loader diff --git a/databases/p5-DBIx-Class-DynamicSubclass/Makefile b/databases/p5-DBIx-Class-DynamicSubclass/Makefile new file mode 100644 index 000000000000..d7e09b818f52 --- /dev/null +++ b/databases/p5-DBIx-Class-DynamicSubclass/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: p5-DBIx-Class-DynamicSubclass +# Date created: 2008-07-15 +# Whom: Vladimir Timofeev +# +# $FreeBSD$ +# + +PORTNAME= DBIx-Class-DynamicSubclass +PORTVERSION= 0.03 +CATEGORIES= databases perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= vovkasm@gmail.com +COMMENT= Use dynamic subclassing with DBIx::Class + +RUN_DEPENDS= p5-DBIx-Class>=0.07003:${PORTSDIR}/databases/p5-DBIx-Class +BUILD_DEPENDS= ${RUN_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= DBIx::Class::DynamicSubclass.3 + +.include diff --git a/databases/p5-DBIx-Class-DynamicSubclass/distinfo b/databases/p5-DBIx-Class-DynamicSubclass/distinfo new file mode 100644 index 000000000000..bd41c36893ed --- /dev/null +++ b/databases/p5-DBIx-Class-DynamicSubclass/distinfo @@ -0,0 +1,3 @@ +MD5 (DBIx-Class-DynamicSubclass-0.03.tar.gz) = eb1146f2c15b5dd75830fdabb5f37b22 +SHA256 (DBIx-Class-DynamicSubclass-0.03.tar.gz) = 7e47b88f6514529db1931fbdb506137069e34a4d436bfd30315628c6a8ab8161 +SIZE (DBIx-Class-DynamicSubclass-0.03.tar.gz) = 20749 diff --git a/databases/p5-DBIx-Class-DynamicSubclass/pkg-descr b/databases/p5-DBIx-Class-DynamicSubclass/pkg-descr new file mode 100644 index 000000000000..9640c3e501f9 --- /dev/null +++ b/databases/p5-DBIx-Class-DynamicSubclass/pkg-descr @@ -0,0 +1,5 @@ +Convenient way to use dynamic subclassing. This plugin implements +methodics described in "Dynamic Sub-classing DBIx::Class proxy classes" +in DBIx::Class::Manual::Cookbook. + +WWW: http://search.cpan.org/dist/DBIx-Class-DynamicSubclass/ diff --git a/databases/p5-DBIx-Class-DynamicSubclass/pkg-plist b/databases/p5-DBIx-Class-DynamicSubclass/pkg-plist new file mode 100644 index 000000000000..c3cc2755e4d9 --- /dev/null +++ b/databases/p5-DBIx-Class-DynamicSubclass/pkg-plist @@ -0,0 +1,8 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/DBIx/Class/DynamicSubclass.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class/DynamicSubclass/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class/DynamicSubclass +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx +@dirrmtry %%SITE_PERL%%/DBIx/Class +@dirrmtry %%SITE_PERL%%/DBIx