1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/lang/p5-TryCatch/Makefile
Sunpoet Po-Chuan Hsieh 63d822bea4 - Add LICENSE
- Add OPTIONS: AUTHOR
- Fix *_DEPENDS
- Bump PORTREVISION for dependency change

PR:		ports/159015
Submitted by:	milki <milki@rescomp.berkeley.edu> (maintainer)
2011-07-24 03:33:36 +00:00

56 lines
1.7 KiB
Makefile

# New ports collection makefile for: p5-TryCatch
# Date created: 22 April 2010
# Whom: milki
#
# $FreeBSD$
#
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= 5.8.1+
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>