aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Module-Load-Conditional/Makefile
blob: 3135e5f10287fceb72d95f4216776353ca9980af (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
# 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.12
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

RUN_DEPENDS=    ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \
        ${SITE_PERL}/Locale/Maketext/Simple.pm:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \
        ${SITE_PERL}/Module/Load.pm:${PORTSDIR}/devel/p5-Module-Load \
        ${SITE_PERL}/Params/Check.pm:${PORTSDIR}/devel/p5-Params-Check
BUILD_DEPENDS=  ${RUN_DEPENDS}

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.mk>