head	1.8;
access;
symbols
	RELEASE_8_3_0:1.7
	RELEASE_9_0_0:1.5
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1;
locks; strict;
comment	@# @;


1.8
date	2012.11.17.05.58.54;	author svnexp;	state Exp;
branches;
next	1.7;

1.7
date	2012.03.13.16.15.09;	author pgollucci;	state Exp;
branches;
next	1.6;

1.6
date	2012.03.08.18.45.11;	author pgollucci;	state Exp;
branches;
next	1.5;

1.5
date	2011.09.17.07.06.32;	author sunpoet;	state Exp;
branches;
next	1.4;

1.4
date	2011.07.24.03.33.36;	author sunpoet;	state Exp;
branches;
next	1.3;

1.3
date	2011.06.20.08.37.08;	author az;	state Exp;
branches;
next	1.2;

1.2
date	2011.02.10.12.02.27;	author sunpoet;	state Exp;
branches;
next	1.1;

1.1
date	2010.04.25.00.00.11;	author sylvio;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Switch exporter over
@
text
@# New ports collection makefile for:	p5-TryCatch
# Date created:		22 April 2010
# Whom:		milki
#
# $FreeBSD: head/lang/p5-TryCatch/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	TryCatch
PORTVERSION=	1.003000
PORTREVISION=	1
CATEGORIES=	lang perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:ASH
PKGNAMEPREFIX=	p5-

MAINTAINER=	milki@@rescomp.berkeley.edu
COMMENT=	First class try catch semantics for Perl, without source filters

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 \
		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-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

PERL_CONFIGURE=	yes

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.post.mk>
@


1.7
log
@- Revert ports/165605 as requested by portmgr@@

Note: devel/p5-B-Size and devel/p5-Devel-Arena
where intentionally not restored.

PR:             ports/165605
Approved by:    portmgr (bapt)
Feature safe:   yes (I sure hope so)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.6
log
@- Remove ports that only work with < perl 5.12 (devel/p5-B-Size, devel/p5-Devel-Arena)
- Remove conditionals for PERL_LEVEL < 501200
- Remove regression-test targets b/c this will be centralized in Mk/bsd.perl.mk
- Other minor cleanups
  RUN_DEPENDS = ${BUILD_DEPENDS} -> RUN_DEPENDS:= ${BUILD_DEPENDS}

PR:             ports/165605
Submitted by:   pgollucci (myself)
Approved by:    portmgr (linimon)
Exp Run by:     linimon
Tested by:      make index
@
text
@d49 7
a55 1
.include <bsd.port.mk>
@


1.5
log
@- Change PERL_CONFIGURE to "yes" for all values between 5.8.1+ and 5.8.9+

Suggested by:	az
With hat:	perl
@
text
@d49 1
a49 7
.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.post.mk>
@


1.4
log
@- Add LICENSE
- Add OPTIONS: AUTHOR
- Fix *_DEPENDS
- Bump PORTREVISION for dependency change

PR:		ports/159015
Submitted by:	milki <milki@@rescomp.berkeley.edu> (maintainer)
@
text
@d38 1
a38 1
PERL_CONFIGURE=	5.8.1+
@


1.3
log
@- Replace ../../authors in MASTER_SITE_SUBDIR with CPAN:CPANID macro.
  See http://wiki.freebsd.org/Perl for details.
- Change maintainership from ports@@ to perl@@ for ports in this changeset.
- Remove MD5 checksum
@
text
@d10 1
d19 5
a23 1
BUILD_DEPENDS=	p5-ExtUtils-Depends>=0.302:${PORTSDIR}/devel/p5-ExtUtils-Depends \
d25 1
a25 3
		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 \
d29 1
a30 1
		p5-Variable-Magic>=0.28:${PORTSDIR}/devel/p5-Variable-Magic \
d32 5
a36 3
		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
d40 14
a53 1
MAN3=	TryCatch.3
d55 1
a55 1
.include <bsd.port.mk>
@


1.2
log
@- Update to 1.003000
- Move test dependencies to TEST_DEPENDS

Changes:	http://search.cpan.org/dist/TryCatch/Changes
PR:		ports/154637
Submitted by:	milki <milki@@rescomp.berkeley.edu> (maintainer)
@
text
@d12 1
a12 1
MASTER_SITE_SUBDIR=	 ../../authors/id/A/AS/ASH
@


1.1
log
@- This module aims to provide a nicer syntax and method to catch errors in
Perl, similar to what is found in other languages (such as Java, Python
or C++). The standard method of using eval {}; if($@@) {} is often prone
to subtle bugs, primarily that tis 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

PR:		ports/145951
Submitted by:	Jonathan Chu <milki@@rescomp.berkeley.edu>
@
text
@d9 1
a9 1
PORTVERSION=	1.002000
d18 1
a18 3
BUILD_DEPENDS=	p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple \
		p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
		p5-ExtUtils-Depends>=0.302:${PORTSDIR}/devel/p5-ExtUtils-Depends \
d30 2
@

