1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Add devel/p5-Class-Throwable 0.10, A Perl module that implements a minimal lightweight exception class.

submitted by: aaron
Reviewed by: tobez
Approved by: tobez
This commit is contained in:
Aaron Dalton 2005-11-02 15:25:28 +00:00
parent 372d09d168
commit 8224044dc2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=147030
5 changed files with 51 additions and 0 deletions

View File

@ -754,6 +754,7 @@
SUBDIR += p5-Class-Roles
SUBDIR += p5-Class-Singleton
SUBDIR += p5-Class-Tangram
SUBDIR += p5-Class-Throwable
SUBDIR += p5-Class-Tom
SUBDIR += p5-Class-Trigger
SUBDIR += p5-Class-Virtual

View File

@ -0,0 +1,31 @@
# New ports collection makefile for: Class::Throwable
# Date created: 1 November 2005
# Whom: Aaron Dalton <aaron@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Class-Throwable
PORTVERSION= 0.10
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Class
PKGNAMEPREFIX= p5-
MAINTAINER= aaron@FreeBSD.org
COMMENT= A minimal lightweight exception class
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
RUN_DEPENDS= ${BUILD_DEPENDS}
MAN3= Class::Throwable.3
PERL_CONFIGURE= yes
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= requires perl 5.6 or above.
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
MD5 (Class-Throwable-0.10.tar.gz) = 888ea61abfd8d9b60c024a997de9dbbd
SIZE (Class-Throwable-0.10.tar.gz) = 10971

View File

@ -0,0 +1,12 @@
This module implements a minimal lightweight exception object. It is meant
to be a compromise between more basic solutions like Carp which can only
print information and cannot handle exception objects, and more complex
solutions like Exception::Class which can be used to define complex inline
exceptions and has a number of module dependencies.
WWW: http://search.cpan.org/dist/Class-Throwable/
Author: Stevan Little <stevan@iinteractive.com>
--
Aaron Dalton
aaron@FreeBSD.org

View File

@ -0,0 +1,5 @@
%%SITE_PERL%%/Class/Throwable.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Throwable/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Throwable
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Class 2>/dev/null || true