32 lines
758 B
Makefile
32 lines
758 B
Makefile
# Created by: Anton Berezin <tobez@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Module-Load-Conditional
|
|
PORTVERSION= 0.58
|
|
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}
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
MAN3= Module::Load::Conditional.3
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.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>
|