diff options
author | Wen Heping <wen@FreeBSD.org> | 2014-10-01 15:50:33 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2014-10-01 15:50:33 +0000 |
commit | 64b717d8a1b37d7b090ad935a8f0e168a887e9e3 (patch) | |
tree | 299347a633c562b7bd5f55aa6f26cdeeb588144d | |
parent | c553ae64887129ba3d5f6998950bed781d4f37c5 (diff) | |
download | ports-64b717d8a1b37d7b090ad935a8f0e168a887e9e3.tar.gz ports-64b717d8a1b37d7b090ad935a8f0e168a887e9e3.zip |
Notes
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/p5-Dancer2-Plugin-DBIC/Makefile | 24 | ||||
-rw-r--r-- | databases/p5-Dancer2-Plugin-DBIC/distinfo | 2 | ||||
-rw-r--r-- | databases/p5-Dancer2-Plugin-DBIC/pkg-descr | 7 | ||||
-rw-r--r-- | databases/p5-Dancer2-Plugin-DBIC/pkg-plist | 5 |
5 files changed, 39 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 1af4c0a34c97..085badac2998 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -394,6 +394,7 @@ SUBDIR += p5-Dancer-Plugin-Database-Core SUBDIR += p5-Dancer-Plugin-Redis SUBDIR += p5-Dancer-Session-Memcached + SUBDIR += p5-Dancer2-Plugin-DBIC SUBDIR += p5-Data-Page SUBDIR += p5-Data-Pageset SUBDIR += p5-Exception-Class-DBI diff --git a/databases/p5-Dancer2-Plugin-DBIC/Makefile b/databases/p5-Dancer2-Plugin-DBIC/Makefile new file mode 100644 index 000000000000..0cc491e7425f --- /dev/null +++ b/databases/p5-Dancer2-Plugin-DBIC/Makefile @@ -0,0 +1,24 @@ +# Created by: <hvo.pm@xs4all.nl> +# $FreeBSD$ + +PORTNAME= Dancer2-Plugin-DBIC +PORTVERSION= 0.0006 +CATEGORIES= databases perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= hvo.pm@xs4all.nl +COMMENT= DBIx::Class interface for Dancer2 applications + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-DBIx-Class>=0:${PORTSDIR}/databases/p5-DBIx-Class\ + p5-DBIx-Class-Schema-Loader>=0.07002:${PORTSDIR}/databases/p5-DBIx-Class-Schema-Loader\ + p5-Dancer2>=0.150000:${PORTSDIR}/www/p5-Dancer2 +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USES= perl5 +USE_PERL5= configure + +.include <bsd.port.mk> diff --git a/databases/p5-Dancer2-Plugin-DBIC/distinfo b/databases/p5-Dancer2-Plugin-DBIC/distinfo new file mode 100644 index 000000000000..36d433d7d2f1 --- /dev/null +++ b/databases/p5-Dancer2-Plugin-DBIC/distinfo @@ -0,0 +1,2 @@ +SHA256 (Dancer2-Plugin-DBIC-0.0006.tar.gz) = a2b7510f55b1356f77023b09b60b46ecf8a7f070e762be3869e09619a2bd3e45 +SIZE (Dancer2-Plugin-DBIC-0.0006.tar.gz) = 16124 diff --git a/databases/p5-Dancer2-Plugin-DBIC/pkg-descr b/databases/p5-Dancer2-Plugin-DBIC/pkg-descr new file mode 100644 index 000000000000..ab9f60bcf636 --- /dev/null +++ b/databases/p5-Dancer2-Plugin-DBIC/pkg-descr @@ -0,0 +1,7 @@ +This plugin makes it very easy to create Dancer2 applications that +interface with databases. It automatically exports the keyword `schema` +which returns a DBIx::Class::Schema object. You just need to configure +your database connection information. For performance, schema objects +are cached in memory and are lazy loaded the first time they are accessed. + +WWW: https://github.com/ironcamel/Dancer2-Plugin-DBIC diff --git a/databases/p5-Dancer2-Plugin-DBIC/pkg-plist b/databases/p5-Dancer2-Plugin-DBIC/pkg-plist new file mode 100644 index 000000000000..405dc53bc164 --- /dev/null +++ b/databases/p5-Dancer2-Plugin-DBIC/pkg-plist @@ -0,0 +1,5 @@ +%%PERL5_MAN3%%/Dancer2::Plugin::DBIC.3.gz +%%SITE_PERL%%/Dancer2/Plugin/DBIC.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Dancer2/Plugin/DBIC/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Dancer2/Plugin/DBIC +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Dancer2/Plugin |