aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Module-Load-Conditional/Makefile
blob: f87189ac4cb97200c01e91493307910add52f7fe (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
# New ports collection makefile for:    devel/p5-Module-Load-Conditional
# Date created:             15 December 2004
# Whom:                 Anton Berezin <tobez@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Module-Load-Conditional
PORTVERSION=    0.54
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Looking up Perl modules information/loading at runtime

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-Module-CoreList>=2.22:${PORTSDIR}/devel/p5-Module-CoreList
RUN_DEPENDS:=   ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Module::Load::Conditional.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501000
BUILD_DEPENDS+= p5-Locale-Maketext-Simple>=0:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \
        p5-Module-Load>=0.11:${PORTSDIR}/devel/p5-Module-Load \
        p5-Params-Check>=0:${PORTSDIR}/devel/p5-Params-Check \
        p5-version>=0.69:${PORTSDIR}/devel/p5-version
RUN_DEPENDS+=   p5-Locale-Maketext-Simple>=0:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \
        p5-Module-Load>=0.11:${PORTSDIR}/devel/p5-Module-Load \
        p5-Params-Check>=0:${PORTSDIR}/devel/p5-Params-Check \
        p5-version>=0.69:${PORTSDIR}/devel/p5-version
.endif

.if ${PERL_LEVEL} < 501600
BUILD_DEPENDS+= p5-Module-Metadata>=1.000005:${PORTSDIR}/devel/p5-Module-Metadata
RUN_DEPENDS+=   p5-Module-Metadata>=1.000005:${PORTSDIR}/devel/p5-Module-Metadata
.endif

.include <bsd.port.post.mk>