aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Test-Trap/Makefile
blob: c2e38e61ff9becace66c829f53ecab077c16329c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:    p5-Test-Trap
# Date created:     2011-09-10
# Whom:         Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Test-Trap
PORTVERSION=    0.2.2
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-
DISTNAME=   ${PORTNAME}-v${PORTVERSION}

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Trap exit codes, exceptions, output, etc

BUILD_DEPENDS=  p5-Data-Dump>=0:${PORTSDIR}/devel/p5-Data-Dump
RUN_DEPENDS=    p5-Data-Dump>=0:${PORTSDIR}/devel/p5-Data-Dump

TEST_DEPENDS=   p5-Test-Tester>=0.10.7:${PORTSDIR}/devel/p5-Test-Tester

PERL_CONFIGURE= yes

MAN3=       Test::Trap.3 \
        Test::Trap::Builder.3 \
        Test::Trap::Builder::PerlIO.3 \
        Test::Trap::Builder::SystemSafe.3 \
        Test::Trap::Builder::TempFile.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501000
BUILD_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version
RUN_DEPENDS+=   p5-version>=0:${PORTSDIR}/devel/p5-version
.endif

.include <bsd.port.post.mk>