diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-07-24 03:33:36 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-07-24 03:33:36 +0000 |
commit | 63d822bea4b12e0efd43870b5870da6d4bc28b6f (patch) | |
tree | 52f7f3a07fb071f0a62dd7a9f001666970970d8c /lang/p5-TryCatch | |
parent | take in some orphans (diff) |
- Add LICENSE
- Add OPTIONS: AUTHOR
- Fix *_DEPENDS
- Bump PORTREVISION for dependency change
PR: ports/159015
Submitted by: milki <milki@rescomp.berkeley.edu> (maintainer)
Notes
Notes:
svn path=/head/; revision=278222
Diffstat (limited to 'lang/p5-TryCatch')
-rw-r--r-- | lang/p5-TryCatch/Makefile | 38 | ||||
-rw-r--r-- | lang/p5-TryCatch/pkg-descr | 2 |
2 files changed, 29 insertions, 11 deletions
diff --git a/lang/p5-TryCatch/Makefile b/lang/p5-TryCatch/Makefile index 764c65420ae6..fc05ef02c8bd 100644 --- a/lang/p5-TryCatch/Makefile +++ b/lang/p5-TryCatch/Makefile @@ -7,6 +7,7 @@ PORTNAME= TryCatch PORTVERSION= 1.003000 +PORTREVISION= 1 CATEGORIES= lang perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:ASH @@ -15,23 +16,40 @@ PKGNAMEPREFIX= p5- MAINTAINER= milki@rescomp.berkeley.edu COMMENT= First class try catch semantics for Perl, without source filters -BUILD_DEPENDS= p5-ExtUtils-Depends>=0.302:${PORTSDIR}/devel/p5-ExtUtils-Depends \ +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-ExtUtils-Depends>=0.302:${PORTSDIR}/devel/p5-ExtUtils-Depends +RUN_DEPENDS= p5-B-Hooks-EndOfScope>=0.08:${PORTSDIR}/devel/p5-B-Hooks-EndOfScope \ p5-B-Hooks-OP-Check>=0.18:${PORTSDIR}/devel/p5-B-Hooks-OP-Check \ - p5-B-Hooks-OP-PPAddr>=0.03:${PORTSDIR}/devel/p5-B-Hooks-OP-PPAddr -RUN_DEPENDS= p5-Parse-Method-Signatures>=1.003012:${PORTSDIR}/devel/p5-Parse-Method-Signatures \ - p5-B-Hooks-EndOfScope>=0.08:${PORTSDIR}/devel/p5-B-Hooks-EndOfScope \ + p5-B-Hooks-OP-PPAddr>=0.03:${PORTSDIR}/devel/p5-B-Hooks-OP-PPAddr \ p5-Devel-Declare>=0.005007:${PORTSDIR}/devel/p5-Devel-Declare \ p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \ p5-MooseX-Types>=0:${PORTSDIR}/devel/p5-MooseX-Types \ + p5-Parse-Method-Signatures>=1.003012:${PORTSDIR}/devel/p5-Parse-Method-Signatures \ p5-Scope-Upper>=0.06:${PORTSDIR}/devel/p5-Scope-Upper \ - p5-Variable-Magic>=0.28:${PORTSDIR}/devel/p5-Variable-Magic \ p5-Sub-Exporter>=0.979:${PORTSDIR}/devel/p5-Sub-Exporter \ - p5-XSLoader>=0:${PORTSDIR}/devel/p5-XSLoader -TEST_DEPENDS= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple \ - p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception + p5-Variable-Magic>=0.28:${PORTSDIR}/devel/p5-Variable-Magic + +TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception + +OPTIONS= AUTHOR "Include dependencies for AUTHORING" off PERL_CONFIGURE= 5.8.1+ -MAN3= TryCatch.3 +MAN3= TryCatch.3 + +.include <bsd.port.options.mk> + +.if defined(WITH_AUTHOR) +BUILD_DEPENDS+= p5-B-Hooks-OP-Check>=0.18:${PORTSDIR}/devel/p5-B-Hooks-OP-Check \ + p5-B-Hooks-OP-PPAddr>=0.03:${PORTSDIR}/devel/p5-B-Hooks-OP-PPAddr +.endif + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501001 +TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/lang/p5-TryCatch/pkg-descr b/lang/p5-TryCatch/pkg-descr index f46efdf5fb0a..ac1b71e16540 100644 --- a/lang/p5-TryCatch/pkg-descr +++ b/lang/p5-TryCatch/pkg-descr @@ -4,4 +4,4 @@ or C++). The standard method of using eval {}; if ($@) {} is often prone to subtle bugs, primarily that its far too easy to stomp on the error in error handlers. And also eval/if isn't the nicest idiom. -WWW: http://search.cpan.org/dist/TryCatch +WWW: http://search.cpan.org/dist/TryCatch/ |