From 0a7658528a645106f2d817b121de906da1764a61 Mon Sep 17 00:00:00 2001 From: cjs Date: Thu, 7 Mar 2002 12:01:59 +0000 Subject: Add Perl Error module. (For try/throw/catch-style exceptions.) --- devel/p5-Error/DESCR | 9 +++++++++ devel/p5-Error/Makefile | 19 +++++++++++++++++++ devel/p5-Error/PLIST | 1 + devel/p5-Error/distinfo | 4 ++++ 4 files changed, 33 insertions(+) create mode 100644 devel/p5-Error/DESCR create mode 100644 devel/p5-Error/Makefile create mode 100644 devel/p5-Error/PLIST create mode 100644 devel/p5-Error/distinfo (limited to 'devel/p5-Error') diff --git a/devel/p5-Error/DESCR b/devel/p5-Error/DESCR new file mode 100644 index 00000000000..bffee46bfeb --- /dev/null +++ b/devel/p5-Error/DESCR @@ -0,0 +1,9 @@ +Error - Error/exception handling in an OO-ish way (using try/catch/etc.) + +The Error package provides two interfaces. Firstly Error provides +a procedural interface to exception handling. Secondly Error is a +base class for errors/exceptions that can either be thrown, for +subsequent catch, or can simply be recorded. + +Errors in the class Error should not be thrown directly, but the +user should throw errors from a sub-class of Error diff --git a/devel/p5-Error/Makefile b/devel/p5-Error/Makefile new file mode 100644 index 00000000000..6dd48923eef --- /dev/null +++ b/devel/p5-Error/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1 2002/03/07 12:01:59 cjs Exp $ + +DISTNAME= Error-0.15 +PKGNAME= p5-${DISTNAME} +SVR4_PKGNAME= p5err +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Error/} + +MAINTAINER= cjs@netbsd.org +COMMENT= Perl extension module for try/throw/catch exception handling. + +USE_BUILDLINK_ONLY= YES +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Error/.packlist + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + +.include "../../lang/perl5/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Error/PLIST b/devel/p5-Error/PLIST new file mode 100644 index 00000000000..54c54201254 --- /dev/null +++ b/devel/p5-Error/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1 2002/03/07 12:01:59 cjs Exp $ diff --git a/devel/p5-Error/distinfo b/devel/p5-Error/distinfo new file mode 100644 index 00000000000..95ac9b3db96 --- /dev/null +++ b/devel/p5-Error/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1 2002/03/07 12:01:59 cjs Exp $ + +SHA1 (Error-0.15.tar.gz) = 1546c6fee042a24c2b7a5d283946213498786419 +Size (Error-0.15.tar.gz) = 8188 bytes -- cgit v1.2.3