aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Test-Tester/Makefile
blob: 9cb485741c865c2f28a5ead2dac450cc9977c6e9 (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
39
40
# New ports collection makefile for:    p5-Test-Tester
# Date created:             May 12th 2004
# Whom:                     Alex Kapranoff <alex@kapranoff.ru>
#
# $FreeBSD$
#

PORTNAME=   Test-Tester
PORTVERSION=    0.10.6
DISTVERSION=    ${PORTVERSION:C/\.(.)$/\1/}
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= mat@FreeBSD.org
COMMENT=    Helps to test various Test::Builder derivatives

PERL_CONFIGURE= yes
INSTALL_TARGET= pure_install

MAN3=       Test::Tester.3 Test::Tester::Capture.3 \
        Test::Tester::CaptureRunner.3

.if !defined(NOPORTDOCS)
PORTDOCS=   CHANGES

post-install:
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
    @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${SITE_PERL}/Test/Builder.pm:${PORTSDIR}/devel/p5-Test-Simple
RUN_DEPENDS+=   ${BUILD_DEPENDS}
.endif

.include <bsd.port.post.mk>