mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Add p5-CGI-Application-Plugin-DBH, a module for easy DBI access from CGI::Application
PR: 89835 Submitted by: Espen Tagestad <espen@tagestad.no>
This commit is contained in:
parent
95c56ed200
commit
b97c9968cc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150649
5 changed files with 50 additions and 0 deletions
|
@ -464,6 +464,7 @@
|
||||||
SUBDIR += p5-Bundle-Sledge
|
SUBDIR += p5-Bundle-Sledge
|
||||||
SUBDIR += p5-CGI-Ajax
|
SUBDIR += p5-CGI-Ajax
|
||||||
SUBDIR += p5-CGI-Application
|
SUBDIR += p5-CGI-Application
|
||||||
|
SUBDIR += p5-CGI-Application-Plugin-DBH
|
||||||
SUBDIR += p5-CGI-Application-Plugin-ValidateRM
|
SUBDIR += p5-CGI-Application-Plugin-ValidateRM
|
||||||
SUBDIR += p5-CGI-Application-ValidateRM
|
SUBDIR += p5-CGI-Application-ValidateRM
|
||||||
SUBDIR += p5-CGI-ArgChecker
|
SUBDIR += p5-CGI-ArgChecker
|
||||||
|
|
35
www/p5-CGI-Application-Plugin-DBH/Makefile
Normal file
35
www/p5-CGI-Application-Plugin-DBH/Makefile
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
# New ports collection makefile for: CGI::Application::Plugin::DBH
|
||||||
|
# Date created: 02 December 2005
|
||||||
|
# Whom: Espen Tagestad <espen@tagestad.no>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= CGI-Application-Plugin-DBH
|
||||||
|
PORTVERSION= 4.00
|
||||||
|
CATEGORIES= www perl5
|
||||||
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||||
|
MASTER_SITE_SUBDIR= CGI
|
||||||
|
PKGNAMEPREFIX= p5-
|
||||||
|
|
||||||
|
MAINTAINER= espen@tagestad.no
|
||||||
|
COMMENT= Easy DBI access from CGI::Application
|
||||||
|
|
||||||
|
BUILD_DEPENDS= ${SITE_PERL}/CGI/Application.pm:${PORTSDIR}/www/p5-CGI-Application \
|
||||||
|
${SITE_PERL}/CGI/Carp.pm:${PORTSDIR}/www/p5-CGI-modules \
|
||||||
|
${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
|
||||||
|
${SITE_PERL}/DBD/Mock.pm:${PORTSDIR}/databases/p5-DBD-Mock
|
||||||
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||||
|
|
||||||
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||||
|
PERL_MODBUILD= yes
|
||||||
|
|
||||||
|
MAN3= CGI::Application::Plugin::DBH.3
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if ${PERL_LEVEL} < 500806
|
||||||
|
IGNORE= needs Perl 5.8.6 or above (lang/perl5.8)
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.include <bsd.port.post.mk>
|
3
www/p5-CGI-Application-Plugin-DBH/distinfo
Normal file
3
www/p5-CGI-Application-Plugin-DBH/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
MD5 (CGI-Application-Plugin-DBH-4.00.tar.gz) = 9cfb1ad525f45553fd7221f524a5bf19
|
||||||
|
SHA256 (CGI-Application-Plugin-DBH-4.00.tar.gz) = f73416d39d0297b936058dd69e52060e3c96dc6ec5a9667ab3f91e0b50903378
|
||||||
|
SIZE (CGI-Application-Plugin-DBH-4.00.tar.gz) = 6702
|
9
www/p5-CGI-Application-Plugin-DBH/pkg-descr
Normal file
9
www/p5-CGI-Application-Plugin-DBH/pkg-descr
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
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.
|
||||||
|
|
||||||
|
WWW: http://search.cpan.org/dist/CGI-Application-Plugin-DBH/
|
||||||
|
|
||||||
|
- Espen Tagestad
|
||||||
|
espen@tagestad.no
|
2
www/p5-CGI-Application-Plugin-DBH/pkg-plist
Normal file
2
www/p5-CGI-Application-Plugin-DBH/pkg-plist
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
%%SITE_PERL%%/CGI/Application/Plugin/DBH.pm
|
||||||
|
@unexec rmdir %D/%%SITE_PERL%%/CGI/Application/Plugin 2>/dev/null || true
|
Loading…
Add table
Reference in a new issue