Add databases/p5-Mojo-Pg, a PostgreSQL integration for Mojolicious.

This commit is contained in:
Adam Weinberger 2015-02-21 16:30:34 +00:00
parent 4f48657633
commit ae2170cacf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379534
5 changed files with 46 additions and 0 deletions

View file

@ -416,6 +416,7 @@
SUBDIR += p5-MR-Tarantool
SUBDIR += p5-Memcached-libmemcached
SUBDIR += p5-Metadata
SUBDIR += p5-Mojo-Pg
SUBDIR += p5-MongoDB
SUBDIR += p5-MySQL-Diff
SUBDIR += p5-Net-Async-CassandraCQL

View file

@ -0,0 +1,23 @@
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= Mojo-Pg
PORTVERSION= 1.10
CATEGORIES= databases www perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:SRI
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= PostgreSQL integration for p5-Mojolicious
LICENSE= ART20
BUILD_DEPENDS= p5-Mojolicious>=5.81:${PORTSDIR}/www/p5-Mojolicious \
p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (Mojo-Pg-1.10.tar.gz) = d276e47b160ea347820a0397b3e4dfaa4fb652de70b09b1be06854f5802d18b6
SIZE (Mojo-Pg-1.10.tar.gz) = 20094

View file

@ -0,0 +1,8 @@
Mojo::Pg is a tiny wrapper around DBD::Pg that makes PostgreSQL a lot of fun to
use with the Mojolicious real-time web framework.
Database handles are cached automatically, so they can be reused transparently
to increase performance. And you can handle connection timeouts gracefully by
holding on to them only for short amounts of time.
WWW: http://mojolicio.us/perldoc/Mojo/Pg

View file

@ -0,0 +1,12 @@
%%SITE_PERL%%/Mojo/Pg.pm
%%SITE_PERL%%/Mojo/Pg/Database.pm
%%SITE_PERL%%/Mojo/Pg/Migrations.pm
%%SITE_PERL%%/Mojo/Pg/PubSub.pm
%%SITE_PERL%%/Mojo/Pg/Results.pm
%%SITE_PERL%%/Mojo/Pg/Transaction.pm
%%PERL5_MAN3%%/Mojo::Pg.3.gz
%%PERL5_MAN3%%/Mojo::Pg::Database.3.gz
%%PERL5_MAN3%%/Mojo::Pg::Migrations.3.gz
%%PERL5_MAN3%%/Mojo::Pg::PubSub.3.gz
%%PERL5_MAN3%%/Mojo::Pg::Results.3.gz
%%PERL5_MAN3%%/Mojo::Pg::Transaction.3.gz