aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Module-ScanDeps/Makefile
blob: f61955f7bf865c81d35360005d7772dac94339db (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.17
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:RSCHUPP
PKGNAMEPREFIX=  p5-

MAINTAINER= ports@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>