From 838315a892ac71aaf36ddb6e2e56cc92765fcfbc Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Mon, 24 Sep 2012 07:56:01 +0000 Subject: [PATCH] - Update to 1.35 - Add LICENSE (Artistic 2.0) - Add TEST_DEPENDS Changes: http://search.cpan.org/dist/Exception-Class/Changes --- devel/p5-Exception-Class/Makefile | 22 ++++++++++++---------- devel/p5-Exception-Class/distinfo | 4 ++-- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/devel/p5-Exception-Class/Makefile b/devel/p5-Exception-Class/Makefile index 322011679407..f04adb3b8ccc 100644 --- a/devel/p5-Exception-Class/Makefile +++ b/devel/p5-Exception-Class/Makefile @@ -1,13 +1,7 @@ -# ex:ts=8 -# New ports collection makefile for: p5-Exception-Class -# Date created: Jul 28, 2001 -# Whom: ijliao -# # $FreeBSD$ -# PORTNAME= Exception-Class -PORTVERSION= 1.32 +PORTVERSION= 1.35 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -15,12 +9,20 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= A module that allows you to declare real exception classes in Perl -RUN_DEPENDS= p5-Class-Data-Inheritable>=0.02:${PORTSDIR}/devel/p5-Class-Data-Inheritable \ +LICENSE= ART20 + +BUILD_DEPENDS= p5-Class-Data-Inheritable>=0.02:${PORTSDIR}/devel/p5-Class-Data-Inheritable \ p5-Devel-StackTrace>=1.20:${PORTSDIR}/devel/p5-Devel-StackTrace -BUILD_DEPENDS:= ${RUN_DEPENDS} +RUN_DEPENDS:= ${BUILD_DEPENDS} PERL_CONFIGURE= yes MAN3= Exception::Class.3 Exception::Class::Base.3 -.include +.include + +.if ${PERL_LEVEL} < 501001 +TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include diff --git a/devel/p5-Exception-Class/distinfo b/devel/p5-Exception-Class/distinfo index ac6a190eacb4..bd88e674df91 100644 --- a/devel/p5-Exception-Class/distinfo +++ b/devel/p5-Exception-Class/distinfo @@ -1,2 +1,2 @@ -SHA256 (Exception-Class-1.32.tar.gz) = 9bd0945929b0e2f5511eba3851265cd2ec7f1dc7412967755b5dc4b80fde9478 -SIZE (Exception-Class-1.32.tar.gz) = 23702 +SHA256 (Exception-Class-1.35.tar.gz) = 63296f58b803408c62d2af78387b8fada41d8bb0a4ae74ea3f79f5b87e1e6e04 +SIZE (Exception-Class-1.35.tar.gz) = 23162