aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Test-Harness/Makefile
blob: c5c242ce780adc8f4dbe50f90bb7c0cabb5cd08d (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
# Created by: Shell Hung <shell@shellhung.org>
# $FreeBSD$

PORTNAME=   Test-Harness
PORTVERSION=    3.30
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Run Perl standard test scripts with statistics

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

USES=       perl5
USE_PERL5=  configure

pre-patch:
    @${MV} ${WRKSRC}/bin/prove ${WRKSRC}/bin/p5prove
    @${REINPLACE_CMD} "s,^bin/prove$$,bin/p5prove," ${WRKSRC}/MANIFEST
    @${REINPLACE_CMD} "s,'bin/prove','bin/p5prove'," ${WRKSRC}/Makefile.PL

post-patch:
    @${REINPLACE_CMD} -e '/INSTALLDIRS/d' ${WRKSRC}/${CONFIGURE_SCRIPT}

.include <bsd.port.mk>