freebsd-ports/devel/p5-Module-ScanDeps/Makefile

29 lines
578 B
Makefile

# 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
MAN1= scandeps.pl.1
MAN3= Module::ScanDeps.3
NO_STAGE= yes
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>