aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Module-CPANTS-Analyse/Makefile
blob: 5a4391bc2b63dfe79a8653bbb39a82c6cb1937de (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# New ports collection makefile for:    p5-Module-CPANTS-Analyse
# Date created:             Feb 13 2007
# Whom:                 Cheng-Lung Sung <clsung@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   Module-CPANTS-Analyse
PORTVERSION=    0.85
PORTREVISION=   3
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Generate Kwalitee ratings for a distribution

BUILD_DEPENDS=  p5-Archive-Any>=0.06:${PORTSDIR}/archivers/p5-Archive-Any \
        p5-Array-Diff>=0.04:${PORTSDIR}/misc/p5-Array-Diff \
        p5-CPAN-DistnameInfo>=0.06:${PORTSDIR}/devel/p5-CPAN-DistnameInfo \
        p5-Class-Accessor>=0.19:${PORTSDIR}/devel/p5-Class-Accessor \
        p5-File-Find-Rule>=0:${PORTSDIR}/devel/p5-File-Find-Rule \
        p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp \
        p5-IO-Capture>=0.05:${PORTSDIR}/devel/p5-IO-Capture \
        p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \
        p5-Module-ExtractUse>=0.18:${PORTSDIR}/devel/p5-Module-ExtractUse \
        p5-Readonly>=0:${PORTSDIR}/devel/p5-Readonly \
        p5-Software-License>=0:${PORTSDIR}/misc/p5-Software-License \
        p5-Test-YAML-Meta>=0.06:${PORTSDIR}/devel/p5-Test-YAML-Meta \
        p5-Text-CSV_XS>=0:${PORTSDIR}/textproc/p5-Text-CSV_XS \
        p5-YAML-Syck>=0.95:${PORTSDIR}/textproc/p5-YAML-Syck \
        p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
        p5-version>=0.73:${PORTSDIR}/devel/p5-version
RUN_DEPENDS:=   ${BUILD_DEPENDS}
TEST_DEPENDS=   p5-Test-Deep>0:${PORTSDIR}/devel/p5-Test-Deep \
        p5-Test-NoWarnings>=0:${PORTSDIR}/devel/p5-Test-NoWarnings \
        p5-Test-Warn>=0:${PORTSDIR}/devel/p5-Test-Warn

PERL_MODBUILD=  yes

MAN1=       cpants_lint.pl.1
MAN3=       Module::CPANTS::Analyse.3 \
        Module::CPANTS::Kwalitee.3 \
        Module::CPANTS::Kwalitee::BrokenInstaller.3 \
        Module::CPANTS::Kwalitee::CpantsErrors.3 \
        Module::CPANTS::Kwalitee::Distname.3 \
        Module::CPANTS::Kwalitee::Distros.3 \
        Module::CPANTS::Kwalitee::Files.3 \
        Module::CPANTS::Kwalitee::FindModules.3 \
        Module::CPANTS::Kwalitee::License.3 \
        Module::CPANTS::Kwalitee::Manifest.3 \
        Module::CPANTS::Kwalitee::MetaYML.3 \
        Module::CPANTS::Kwalitee::NeedsCompiler.3 \
        Module::CPANTS::Kwalitee::Pod.3 \
        Module::CPANTS::Kwalitee::Prereq.3 \
        Module::CPANTS::Kwalitee::Repackageable.3 \
        Module::CPANTS::Kwalitee::Uses.3 \
        Module::CPANTS::Kwalitee::Version.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500903
RUN_DEPENDS+=   p5-Pod-Simple>=0:${PORTSDIR}/textproc/p5-Pod-Simple \
        p5-Archive-Tar>=1.30:${PORTSDIR}/archivers/p5-Archive-Tar
.endif

.if ${PERL_LEVEL} < 500905
RUN_DEPENDS+=   p5-Module-Pluggable>=2.96:${PORTSDIR}/devel/p5-Module-Pluggable
.endif

.include <bsd.port.post.mk>