freebsd-ports/devel/p5-Module-ScanDeps/Makefile
2010-04-12 13:55:42 +00:00

40 lines
868 B
Makefile

# New ports collection makefile for: devel/p5-Module-ScanDeps
# Date created: Aug 27 2003
# Whom: Autrijus Tang <autrijus@autrijus.org>
#
# $FreeBSD$
#
PORTNAME= Module-ScanDeps
PORTVERSION= 0.97
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= rafan@FreeBSD.org
COMMENT= Recursively scan Perl code for dependencies
PERL_CONFIGURE= yes
MAN1= scandeps.pl.1
MAN3= Module::ScanDeps.3 Module::ScanDeps::DataFeed.3
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.pre.mk>
.if ${PERL_LEVEL} < 500904
RUN_DEPENDS+= p5-Module-Build>=0:${PORTSDIR}/devel/p5-Module-Build
.endif
.if ${PERL_LEVEL} < 500900
RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version
.endif
.include <bsd.port.post.mk>