summaryrefslogtreecommitdiff
path: root/lang/p5-TryCatch
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2013-03-24 00:43:24 +0000
committerSteve Wills <swills@FreeBSD.org>2013-03-24 00:43:24 +0000
commitb8c4ce6d928d016c1613bff7c19d8fb0a8d0478e (patch)
treeacee478d9d9d476b08a8a0cb7d3fa541c358eb1f /lang/p5-TryCatch
parentTake maintainership (diff)
- Update to 1.003002
PR: ports/177297 Submitted by: milki <milki@rescomp.berkeley.edu> (maintainer)
Notes
Notes: svn path=/head/; revision=315085
Diffstat (limited to 'lang/p5-TryCatch')
-rw-r--r--lang/p5-TryCatch/Makefile15
-rw-r--r--lang/p5-TryCatch/distinfo4
-rw-r--r--lang/p5-TryCatch/pkg-descr2
-rw-r--r--lang/p5-TryCatch/pkg-plist2
4 files changed, 8 insertions, 15 deletions
diff --git a/lang/p5-TryCatch/Makefile b/lang/p5-TryCatch/Makefile
index 6ede8e89ac3f..8fd4e6718e60 100644
--- a/lang/p5-TryCatch/Makefile
+++ b/lang/p5-TryCatch/Makefile
@@ -1,13 +1,7 @@
-# New ports collection makefile for: p5-TryCatch
-# Date created: 22 April 2010
-# Whom: milki
-#
# $FreeBSD$
-#
PORTNAME= TryCatch
-PORTVERSION= 1.003000
-PORTREVISION= 1
+PORTVERSION= 1.003002
CATEGORIES= lang perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:ASH
@@ -30,10 +24,11 @@ RUN_DEPENDS= p5-B-Hooks-EndOfScope>=0.08:${PORTSDIR}/devel/p5-B-Hooks-EndOfScope
p5-Scope-Upper>=0.06:${PORTSDIR}/devel/p5-Scope-Upper \
p5-Sub-Exporter>=0.979:${PORTSDIR}/devel/p5-Sub-Exporter \
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
+OPTIONS_DEFINE= AUTHOR
+
+AUTHOR_DESC= Include dependencies for AUTHORING
PERL_CONFIGURE= yes
@@ -41,7 +36,7 @@ MAN3= TryCatch.3
.include <bsd.port.options.mk>
-.if defined(WITH_AUTHOR)
+.if ${PORT_OPTIONS:MAUTHOR}
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
diff --git a/lang/p5-TryCatch/distinfo b/lang/p5-TryCatch/distinfo
index b77dc68de4c0..c1a12858259c 100644
--- a/lang/p5-TryCatch/distinfo
+++ b/lang/p5-TryCatch/distinfo
@@ -1,2 +1,2 @@
-SHA256 (TryCatch-1.003000.tar.gz) = ae035067ff2b93bad779e28c838618ac7f388ec2167c9c2745026b54dee4924f
-SIZE (TryCatch-1.003000.tar.gz) = 87037
+SHA256 (TryCatch-1.003002.tar.gz) = ba88e73ded35d83caf0589d776cf8f91fad908df7fe7a4bd1274c6611336da9b
+SIZE (TryCatch-1.003002.tar.gz) = 89808
diff --git a/lang/p5-TryCatch/pkg-descr b/lang/p5-TryCatch/pkg-descr
index ac1b71e16540..7673cbaf9bbf 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: https://metacpan.org/module/TryCatch
diff --git a/lang/p5-TryCatch/pkg-plist b/lang/p5-TryCatch/pkg-plist
index ad6e7183ecf0..be77e757d52c 100644
--- a/lang/p5-TryCatch/pkg-plist
+++ b/lang/p5-TryCatch/pkg-plist
@@ -2,6 +2,4 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/TryCatch/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/TryCatch/TryCatch.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/TryCatch/TryCatch.so
-%%SITE_PERL%%/%%PERL_ARCH%%/bench.pl
-%%SITE_PERL%%/%%PERL_ARCH%%/bench_ok.pl
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/TryCatch