freebsd-ports/devel/p5-Module-Load-Conditional/Makefile
Mathieu Arnold d8b4f908b9 Update to 0.08
Add docs
2005-01-18 18:49:01 +00:00

44 lines
1.2 KiB
Makefile

# 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.08
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Module
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Looking up Perl modules information/loading at runtime
BUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
${RUN_DEPENDS}
RUN_DEPENDS= ${SITE_PERL}/Module/Load.pm:${PORTSDIR}/devel/p5-Module-Load \
${SITE_PERL}/Locale/Maketext/Simple.pm:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \
${SITE_PERL}/Params/Check.pm:${PORTSDIR}/devel/p5-Params-Check
PERL_CONFIGURE= yes
MAN3= Module::Load::Conditional.3
.if !defined(NOPORTDOCS)
PORTDOCS= README
post-install:
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} <= 500600
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
.endif
.include <bsd.port.post.mk>