mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
This module offers a set of DBI-specific exception classes.
Essentially it allows try {} catch{} within perl for database errors. PR: ports/87491 Submitted by: Rod Taylor <ports@rbt.ca>
This commit is contained in:
parent
735d21c741
commit
9909d8c4e7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=145969
@ -209,6 +209,7 @@
|
||||
SUBDIR += p5-DBZ_File
|
||||
SUBDIR += p5-DWH_File
|
||||
SUBDIR += p5-Data-Page
|
||||
SUBDIR += p5-Exception-Class-DBI
|
||||
SUBDIR += p5-GDBM
|
||||
SUBDIR += p5-GraphViz-DBI
|
||||
SUBDIR += p5-Ima-DBI
|
||||
|
26
databases/p5-Exception-Class-DBI/Makefile
Normal file
26
databases/p5-Exception-Class-DBI/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# New ports collection makefile for: p5-Exception-Class
|
||||
# Date created: 15 October 2005
|
||||
# Whom: Rod Taylor <ports@rbt.ca>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Exception-Class-DBI
|
||||
PORTVERSION= 0.92
|
||||
CATEGORIES= databases perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Exception
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= ports@rbt.ca
|
||||
COMMENT= DBI Exception objects
|
||||
|
||||
BUILD_DEPENDS= ${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \
|
||||
${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
PERL_MODBUILD= yes
|
||||
|
||||
MAN3= Exception::Class::DBI.3
|
||||
|
||||
.include <bsd.port.mk>
|
2
databases/p5-Exception-Class-DBI/distinfo
Normal file
2
databases/p5-Exception-Class-DBI/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (Exception-Class-DBI-0.92.tar.gz) = 7b8032fdf31ccab88d19d1446c6fe741
|
||||
SIZE (Exception-Class-DBI-0.92.tar.gz) = 10056
|
8
databases/p5-Exception-Class-DBI/pkg-descr
Normal file
8
databases/p5-Exception-Class-DBI/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
This module offers a set of DBI-specific exception classes. They
|
||||
inherit from Exception::Class, the base class for all exception
|
||||
objects created by the Exception::Class module from the CPAN.
|
||||
Exception::Class::DBI itself offers a single class method, handler(),
|
||||
that returns a code reference appropriate for passing to the DBI
|
||||
HandleError attribute.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Exception-Class-DBI/
|
3
databases/p5-Exception-Class-DBI/pkg-plist
Normal file
3
databases/p5-Exception-Class-DBI/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
%%SITE_PERL%%/Exception/Class/DBI.pm
|
||||
@unexec rmdir %D/%%%SITE_PERL%%/Exception/Class 2>/dev/null || true
|
||||
@unexec rmdir %D/%%%SITE_PERL%%/Exception 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user