summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorjfitz <jfitz@FreeBSD.org>1996-10-24 13:46:37 +0000
committerjfitz <jfitz@FreeBSD.org>1996-10-24 13:46:37 +0000
commite13f72e712a002694df4f01296bbb2c5317681e9 (patch)
tree7a0dcbebd2aa3a1be6e0b770cbcae84d8b93be2b /devel
parent4a5cb9cd865e93350662793e7414e1c01b4fca77 (diff)
downloadFreeBSD-ports-e13f72e712a002694df4f01296bbb2c5317681e9.zip
FreeBSD-ports-e13f72e712a002694df4f01296bbb2c5317681e9.tar.gz
perl5 module to install die() and warn() handlers.
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Religion/Makefile34
-rw-r--r--devel/p5-Religion/distinfo1
-rw-r--r--devel/p5-Religion/pkg-comment1
-rw-r--r--devel/p5-Religion/pkg-descr18
-rw-r--r--devel/p5-Religion/pkg-plist4
5 files changed, 58 insertions, 0 deletions
diff --git a/devel/p5-Religion/Makefile b/devel/p5-Religion/Makefile
new file mode 100644
index 0000000..26ccc55
--- /dev/null
+++ b/devel/p5-Religion/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: p5-Religion
+# Version required: 1.04
+# Date created: October 24th 1996
+# Whom: James FitzGibbon <jfitz@FreeBSD.org>
+#
+# $Id: Makefile,v 1.2 1996/10/24 09:58:34 jfitz Exp $
+#
+
+DISTNAME= Religion-1.04
+PKGNAME= p5-Religion-1.04
+CATEGORIES+= devel
+MASTER_SITES= ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/Religion/ \
+ ftp://ftp.cdrom.com/pub/perl/CPAN/modules/by-module/Religion/ \
+ ftp://ftp.cis.ufl.edu/pub/perl/CPAN/modules/by-module/Religion/ \
+ ftp://ftp.leo.org/pub/comp/programming/languages/perl/CPAN/modules/by-module/Religion/ \
+ ftp://ftp.demon.co.uk/pub/mirrors/perl/CPAN/modules/by-module/Religion/ \
+ ftp://ftp.lab.kdd.co.jp/lang/perl/CPAN/modules/by-module/Religion/
+
+MAINTAINER= jfitz@FreeBSD.ORG
+
+BUILD_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5
+RUN_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5
+
+do-configure:
+ @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
+
+post-install:
+.if !defined(NOMANCOMPRESS)
+ @ for file in Religion; do \
+ gzip -9nf ${PREFIX}/lib/perl5/man/man3/$$file.3; \
+ done
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Religion/distinfo b/devel/p5-Religion/distinfo
new file mode 100644
index 0000000..7fedf4c
--- /dev/null
+++ b/devel/p5-Religion/distinfo
@@ -0,0 +1 @@
+MD5 (Religion-1.04.tar.gz) = 9e5c6edfbfc224c677089a3946bb7e27
diff --git a/devel/p5-Religion/pkg-comment b/devel/p5-Religion/pkg-comment
new file mode 100644
index 0000000..3e5c8eb
--- /dev/null
+++ b/devel/p5-Religion/pkg-comment
@@ -0,0 +1 @@
+perl5 module to install die() and warn() handlers.
diff --git a/devel/p5-Religion/pkg-descr b/devel/p5-Religion/pkg-descr
new file mode 100644
index 0000000..9033ea4
--- /dev/null
+++ b/devel/p5-Religion/pkg-descr
@@ -0,0 +1,18 @@
+This is a second go at a module to simplify installing die() and warn()
+handlers, and to make such handlers easier to write and control.
+
+For most people, this just means that if use use Religion; then you'll get
+noticably better error reporting from warn() and die(). This is especially
+useful if you are using eval().
+
+Religion provides four classes, WarnHandler, DieHandler, WarnPreHandler, and
+DiePreHandler, that when you construct them return closures that can be
+stored in variables that in turn get invoked by $SIG{__DIE__} and
+$SIG{__WARN__}. Note that if Religion is in use, you should not modify
+$SIG{__DIE__} or $SIG{__WARN__}, unless you are careful about invoking
+chaining to the old handler.
+
+Religion also provides a TraceBack function, which is used by a DieHandler
+after you die() to give a better handle on the current scope of your
+situation, and provide information about where you were, which might
+influence where you want to go next, either returning back to where
diff --git a/devel/p5-Religion/pkg-plist b/devel/p5-Religion/pkg-plist
new file mode 100644
index 0000000..71d1359
--- /dev/null
+++ b/devel/p5-Religion/pkg-plist
@@ -0,0 +1,4 @@
+lib/perl5/man/man3/Religion.3.gz
+lib/perl5/site_perl/Religion.pm
+lib/perl5/site_perl/i386-freebsd/auto/Religion/.packlist
+@dirrm lib/perl5/site_perl/i386-freebsd/auto/Religion
OpenPOWER on IntegriCloud