fea15f399a
- Add TEST_DEPENDS - Avoid SITE_PERL in DEPENDS PR: ports/167408
34 lines
943 B
Makefile
34 lines
943 B
Makefile
# New ports collection makefile for: p5-Module-ExtractUse
|
|
# Date created: 13 February 2007
|
|
# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Module-ExtractUse
|
|
PORTVERSION= 0.27
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Find out what CPAN modules are used
|
|
|
|
BUILD_DEPENDS= p5-Pod-Strip>=0:${PORTSDIR}/textproc/p5-Pod-Strip \
|
|
p5-Parse-RecDescent>=1.94:${PORTSDIR}/devel/p5-Parse-RecDescent
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
TEST_DEPENDS= p5-UNIVERSAL-require>=0.11:${PORTSDIR}/devel/p5-UNIVERSAL-require \
|
|
p5-Test-Deep>0:${PORTSDIR}/devel/p5-Test-Deep \
|
|
p5-Test-NoWarnings>=0:${PORTSDIR}/devel/p5-Test-NoWarnings
|
|
|
|
PERL_MODBUILD= yes
|
|
|
|
MAN3= Module::ExtractUse.3 Module::ExtractUse::Grammar.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 501400
|
|
TEST_DEPENDS+= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|