2004-12-15 11:10:11 +01:00
|
|
|
# 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
|
2010-05-07 06:55:30 +02:00
|
|
|
PORTVERSION= 0.38
|
2004-12-15 11:10:11 +01:00
|
|
|
CATEGORIES= devel perl5
|
2007-10-04 07:56:35 +02:00
|
|
|
MASTER_SITES= CPAN
|
2004-12-15 11:10:11 +01:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
|
|
COMMENT= Looking up Perl modules information/loading at runtime
|
|
|
|
|
2009-10-26 08:06:30 +01:00
|
|
|
RUN_DEPENDS= p5-Module-CoreList>=2.22:${PORTSDIR}/devel/p5-Module-CoreList
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
|
2004-12-15 11:10:11 +01:00
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
2006-08-14 11:12:54 +02:00
|
|
|
MAN3= Module::Load::Conditional.3
|
2004-12-15 11:10:11 +01:00
|
|
|
|
2005-01-18 19:49:01 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= README
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
|
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
|
|
.endif
|
|
|
|
|
2008-03-21 17:14:31 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2009-05-11 09:35:58 +02:00
|
|
|
.if ${PERL_LEVEL} < 501000
|
|
|
|
RUN_DEPENDS+= p5-Module-Load>=0.11:${PORTSDIR}/devel/p5-Module-Load
|
|
|
|
.endif
|
|
|
|
|
2008-03-21 17:14:31 +01:00
|
|
|
.if ${PERL_LEVEL} < 500905
|
|
|
|
RUN_DEPENDS+= p5-Locale-Maketext-Simple>=0:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \
|
|
|
|
p5-Params-Check>=0:${PORTSDIR}/devel/p5-Params-Check \
|
|
|
|
p5-version>=0.69:${PORTSDIR}/devel/p5-version
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|