aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Module-ScanDeps/Makefile
blob: bbe3ae2e5c91214210decf29bcfbe9b7869c8662 (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
# Created by: Autrijus Tang <autrijus@autrijus.org>
# $FreeBSD$

PORTNAME=   Module-ScanDeps
PORTVERSION=    1.10
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:RSCHUPP
PKGNAMEPREFIX=  p5-

MAINTAINER= rafan@FreeBSD.org
COMMENT=    Recursively scan Perl code for dependencies

USES=       perl5
USE_PERL5=  configure

post-patch:
    @${REINPLACE_CMD} -e \
        's|/usr/bin/perl|${PERL}|' ${WRKSRC}/script/scandeps.pl \
        ${WRKSRC}/Makefile.PL

regression-test:
    cd ${WRKSRC} && ${MAKE} test

.include <bsd.port.mk>