summaryrefslogtreecommitdiff
path: root/devel/p5-Error
diff options
context:
space:
mode:
authorcjs <cjs@pkgsrc.org>2002-03-07 12:01:59 +0000
committercjs <cjs@pkgsrc.org>2002-03-07 12:01:59 +0000
commit11dafe625424a3929c401ff6af90680b42f5fd99 (patch)
tree9283e02195117e571461fa3c92d4b071af337796 /devel/p5-Error
parent6df76feda64207a7c2512879b5e4b95cb0150f56 (diff)
downloadpkgsrc-11dafe625424a3929c401ff6af90680b42f5fd99.tar.gz
Add Perl Error module. (For try/throw/catch-style exceptions.)
Diffstat (limited to 'devel/p5-Error')
-rw-r--r--devel/p5-Error/DESCR9
-rw-r--r--devel/p5-Error/Makefile19
-rw-r--r--devel/p5-Error/PLIST1
-rw-r--r--devel/p5-Error/distinfo4
4 files changed, 33 insertions, 0 deletions
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