diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2003-10-16 10:20:59 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2003-10-16 10:20:59 +0000 |
commit | 70ccd4341130ea88b59fdebd292204a0cc527068 (patch) | |
tree | bfe6612c5c1b2dd0921c3a3345489e3515831e35 /devel/p5-POE-Exceptions | |
parent | 32748a50c2c63e495d8f9fc97467ec2f170ddf0c (diff) | |
download | ports-70ccd4341130ea88b59fdebd292204a0cc527068.tar.gz ports-70ccd4341130ea88b59fdebd292204a0cc527068.zip |
Notes
Diffstat (limited to 'devel/p5-POE-Exceptions')
-rw-r--r-- | devel/p5-POE-Exceptions/Makefile | 26 | ||||
-rw-r--r-- | devel/p5-POE-Exceptions/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-POE-Exceptions/pkg-descr | 17 | ||||
-rw-r--r-- | devel/p5-POE-Exceptions/pkg-plist | 9 |
4 files changed, 53 insertions, 0 deletions
diff --git a/devel/p5-POE-Exceptions/Makefile b/devel/p5-POE-Exceptions/Makefile new file mode 100644 index 000000000000..1d0965565c71 --- /dev/null +++ b/devel/p5-POE-Exceptions/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: POE-Exceptions +# Date created: 16 October 2003 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ +# + +PORTNAME= POE-Exceptions +PORTVERSION= 0.03 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= POE +PKGNAMEPREFIX= p5- + +MAINTAINER= skv@FreeBSD.org +COMMENT= POE class for handling exceptions + +BUILD_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= POE::Exceptions.3 POE::Kernel::Exception.3 \ + POE::Session::Exception.3 + +.include <bsd.port.mk> diff --git a/devel/p5-POE-Exceptions/distinfo b/devel/p5-POE-Exceptions/distinfo new file mode 100644 index 000000000000..e339e20a88f9 --- /dev/null +++ b/devel/p5-POE-Exceptions/distinfo @@ -0,0 +1 @@ +MD5 (POE-Exceptions-0.03.tar.gz) = b962d88f0bdcb2c9e63f0451cd7c4a29 diff --git a/devel/p5-POE-Exceptions/pkg-descr b/devel/p5-POE-Exceptions/pkg-descr new file mode 100644 index 000000000000..aaf3d193dbc8 --- /dev/null +++ b/devel/p5-POE-Exceptions/pkg-descr @@ -0,0 +1,17 @@ +POE::Exceptions extends POE to catch exceptions neatly. A new signal, +DIE, is introduced. This signal will be fired every time an exception +occurs. (For those of you new to the term exception, an exception is +whenever the code decides to bail out by die'ing.) If the signal handler +returns 1 (as in the example above), POE will assume that the handler +dealt with the signal appropriately. If the signal handler returns 0, +POE will assume that the handler does not want to deal with the signal +and POE will propgate the exception as if the handler never existed. + +Caveat: POE::Exceptions will die on its own in the case of a double +exception fault. If the DIE signal handler itself throws an exception, +POE::Exceptions will shut the program down and bail out. + +WWW: http://search.cpan.org/dist/POE-Exceptions/ + +-- Sergey Skvortsov +skv@FreeBSD.org diff --git a/devel/p5-POE-Exceptions/pkg-plist b/devel/p5-POE-Exceptions/pkg-plist new file mode 100644 index 000000000000..866664e26e8a --- /dev/null +++ b/devel/p5-POE-Exceptions/pkg-plist @@ -0,0 +1,9 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Exceptions/.packlist +%%SITE_PERL%%/POE/Exceptions.pm +%%SITE_PERL%%/POE/Kernel/Exception.pm +%%SITE_PERL%%/POE/Session/Exception.pm +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Exceptions +@unexec rmdir %D/%%SITE_PERL%%/POE/Kernel 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/POE/Session 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/POE 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE 2>/dev/null || true |