import p5-CGI-Application-Plugin-DBH
CGI::Application::Plugin::DBH adds easy access to a DBI database handle to your CGI::Application modules. Lazy loading is used to prevent a database connection from being made if the dbh method is not called during the request. In other words, the database connection is not created until it is actually needed. from Mikolaj Kucharski
This commit is contained in:
parent
ac8a01a745
commit
13e92b3ab0
25
databases/p5-CGI-Application-Plugin-DBH/Makefile
Normal file
25
databases/p5-CGI-Application-Plugin-DBH/Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2009/02/06 22:03:51 simon Exp $
|
||||
|
||||
COMMENT = easy DBI access
|
||||
|
||||
MODULES = cpan
|
||||
|
||||
DISTNAME = CGI-Application-Plugin-DBH-4.00
|
||||
CATEGORIES = databases www
|
||||
|
||||
# perl
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM = Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
CONFIGURE_STYLE = modbuild
|
||||
|
||||
RUN_DEPENDS = ::databases/p5-DBI \
|
||||
::www/p5-CGI-Application
|
||||
|
||||
REGRESS_DEPENDS = ::databases/p5-DBD-Mock
|
||||
|
||||
MAKE_ENV += TEST_POD=1
|
||||
|
||||
.include <bsd.port.mk>
|
5
databases/p5-CGI-Application-Plugin-DBH/distinfo
Normal file
5
databases/p5-CGI-Application-Plugin-DBH/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (CGI-Application-Plugin-DBH-4.00.tar.gz) = nPsa1SX0VVP9ciH1JKW/GQ==
|
||||
RMD160 (CGI-Application-Plugin-DBH-4.00.tar.gz) = K5Q8+7Wfr5CFm4AdtRT+l/9OMmg=
|
||||
SHA1 (CGI-Application-Plugin-DBH-4.00.tar.gz) = QdS0WHrlnntVGKdlgxcsUBqmIas=
|
||||
SHA256 (CGI-Application-Plugin-DBH-4.00.tar.gz) = 9zQW050Cl7k2BY3WnlIGDjyW3G7FqWZ6s/keC1CQM3g=
|
||||
SIZE (CGI-Application-Plugin-DBH-4.00.tar.gz) = 6702
|
5
databases/p5-CGI-Application-Plugin-DBH/pkg/DESCR
Normal file
5
databases/p5-CGI-Application-Plugin-DBH/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
CGI::Application::Plugin::DBH adds easy access to a DBI database handle
|
||||
to your CGI::Application modules. Lazy loading is used to prevent a
|
||||
database connection from being made if the dbh method is not called
|
||||
during the request. In other words, the database connection is not
|
||||
created until it is actually needed.
|
4
databases/p5-CGI-Application-Plugin-DBH/pkg/PLIST
Normal file
4
databases/p5-CGI-Application-Plugin-DBH/pkg/PLIST
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/02/06 22:03:51 simon Exp $
|
||||
${P5SITE}/CGI/Application/Plugin/
|
||||
${P5SITE}/CGI/Application/Plugin/DBH.pm
|
||||
@man man/man3p/CGI::Application::Plugin::DBH.3p
|
Loading…
x
Reference in New Issue
Block a user