diff --git a/databases/p5-CGI-Application-Plugin-DBH/Makefile b/databases/p5-CGI-Application-Plugin-DBH/Makefile new file mode 100644 index 00000000000..1fd0241968e --- /dev/null +++ b/databases/p5-CGI-Application-Plugin-DBH/Makefile @@ -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 diff --git a/databases/p5-CGI-Application-Plugin-DBH/distinfo b/databases/p5-CGI-Application-Plugin-DBH/distinfo new file mode 100644 index 00000000000..22feb2bf9f1 --- /dev/null +++ b/databases/p5-CGI-Application-Plugin-DBH/distinfo @@ -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 diff --git a/databases/p5-CGI-Application-Plugin-DBH/pkg/DESCR b/databases/p5-CGI-Application-Plugin-DBH/pkg/DESCR new file mode 100644 index 00000000000..9e86f85f79b --- /dev/null +++ b/databases/p5-CGI-Application-Plugin-DBH/pkg/DESCR @@ -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. diff --git a/databases/p5-CGI-Application-Plugin-DBH/pkg/PLIST b/databases/p5-CGI-Application-Plugin-DBH/pkg/PLIST new file mode 100644 index 00000000000..021d6fc06de --- /dev/null +++ b/databases/p5-CGI-Application-Plugin-DBH/pkg/PLIST @@ -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