2003-08-28 09:36:32 +02:00
|
|
|
# New ports collection makefile for: devel/p5-Module-ScanDeps
|
|
|
|
# Date created: Aug 27 2003
|
|
|
|
# Whom: Autrijus Tang <autrijus@autrijus.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Module-ScanDeps
|
2009-11-17 10:43:17 +01:00
|
|
|
PORTVERSION= 0.96
|
2003-08-28 09:36:32 +02:00
|
|
|
CATEGORIES= devel perl5
|
2008-03-24 14:03:22 +01:00
|
|
|
MASTER_SITES= CPAN
|
2003-08-28 09:36:32 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2006-06-27 05:58:58 +02:00
|
|
|
MAINTAINER= rafan@FreeBSD.org
|
2003-08-28 09:36:32 +02:00
|
|
|
COMMENT= Recursively scan Perl code for dependencies
|
|
|
|
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
|
|
|
MAN1= scandeps.pl.1
|
2004-01-01 15:07:13 +01:00
|
|
|
MAN3= Module::ScanDeps.3 Module::ScanDeps::DataFeed.3
|
2003-08-28 09:36:32 +02:00
|
|
|
|
2006-08-30 02:36:49 +02:00
|
|
|
post-patch:
|
2004-10-14 04:58:47 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
2006-08-30 02:36:49 +02:00
|
|
|
's|/usr/bin/perl|${PERL}|' ${WRKSRC}/script/scandeps.pl \
|
|
|
|
${WRKSRC}/Makefile.PL
|
2004-10-14 04:58:47 +02:00
|
|
|
|
2009-09-17 11:31:32 +02:00
|
|
|
regression-test:
|
|
|
|
cd ${WRKSRC} && ${MAKE} test
|
|
|
|
|
2008-10-25 05:38:37 +02:00
|
|
|
.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>
|