diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2014-11-20 20:56:22 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2014-11-20 20:56:22 +0000 |
commit | 66f8d684060a33ceabf17a633a1f03bee6225dd5 (patch) | |
tree | 5ea501abe4d0c34940a8ed4e401bc32fe645961f /databases/p5-Dancer2-Plugin-Database | |
parent | 47c1e4ea52c114233da4e5d93b279dc824b32a13 (diff) |
Notes
Diffstat (limited to 'databases/p5-Dancer2-Plugin-Database')
-rw-r--r-- | databases/p5-Dancer2-Plugin-Database/Makefile | 27 | ||||
-rw-r--r-- | databases/p5-Dancer2-Plugin-Database/distinfo | 2 | ||||
-rw-r--r-- | databases/p5-Dancer2-Plugin-Database/pkg-descr | 10 | ||||
-rw-r--r-- | databases/p5-Dancer2-Plugin-Database/pkg-plist | 3 |
4 files changed, 42 insertions, 0 deletions
diff --git a/databases/p5-Dancer2-Plugin-Database/Makefile b/databases/p5-Dancer2-Plugin-Database/Makefile new file mode 100644 index 000000000000..7b92c66e6802 --- /dev/null +++ b/databases/p5-Dancer2-Plugin-Database/Makefile @@ -0,0 +1,27 @@ +# Created by: Henk van Oers <hvo.pm@xs4all.nl> +# $FreeBSD$ + +PORTNAME= Dancer2-Plugin-Database +PORTVERSION= 2.12 +CATEGORIES= databases perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= perl@FreeBSD.org +COMMENT= Easy database connections for Dancer2 applications + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \ + p5-Dancer2>=0.153002:${PORTSDIR}/www/p5-Dancer2 \ + p5-Dancer-Plugin-Database-Core>=0.07:${PORTSDIR}/databases/p5-Dancer-Plugin-Database-Core +RUN_DEPENDS:= ${BUILD_DEPENDS} +TEST_DEPENDS= p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite \ + p5-Test-Pod>=1.22:${PORTSDIR}/devel/p5-Test-Pod \ + p5-Test-Pod-Coverage>=1.08:${PORTSDIR}/devel/p5-Test-Pod-Coverage + +USES= perl5 +USE_PERL5= configure + +.include <bsd.port.mk> diff --git a/databases/p5-Dancer2-Plugin-Database/distinfo b/databases/p5-Dancer2-Plugin-Database/distinfo new file mode 100644 index 000000000000..b4b26a02edee --- /dev/null +++ b/databases/p5-Dancer2-Plugin-Database/distinfo @@ -0,0 +1,2 @@ +SHA256 (Dancer2-Plugin-Database-2.12.tar.gz) = 21a94f5b41626e6d20a0431b5c848e1abbecb25a9353e3af0209eed453875518 +SIZE (Dancer2-Plugin-Database-2.12.tar.gz) = 16602 diff --git a/databases/p5-Dancer2-Plugin-Database/pkg-descr b/databases/p5-Dancer2-Plugin-Database/pkg-descr new file mode 100644 index 000000000000..227f9591917d --- /dev/null +++ b/databases/p5-Dancer2-Plugin-Database/pkg-descr @@ -0,0 +1,10 @@ +Dancer2::Plugin::Database provides an easy way to obtain a connected +DBI database handle by simply calling the database keyword +within your Dancer2 application. + +Returns a Dancer2::Plugin::Database::Handle object, which is a subclass of DBI's +DBI::db connection handle object, so it does everything you'd expect to do with +DBI, but also adds a few convenience methods. See the documentation for +Dancer2::Plugin::Database::Handle for full details of those. + +WWW: http://search.cpan.org/dist/Dancer2-Plugin-Database/ diff --git a/databases/p5-Dancer2-Plugin-Database/pkg-plist b/databases/p5-Dancer2-Plugin-Database/pkg-plist new file mode 100644 index 000000000000..f1a255527ff4 --- /dev/null +++ b/databases/p5-Dancer2-Plugin-Database/pkg-plist @@ -0,0 +1,3 @@ +%%PERL5_MAN3%%/Dancer2::Plugin::Database.3.gz +%%SITE_PERL%%/Dancer2/Plugin/Database.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Dancer2/Plugin/Database/.packlist |