aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Catalyst-Plugin-Cache/Makefile
blob: 190d8e6e8cae2d46fbd641dbe8f378d358d2f1cc (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
# Ports collection makefile for:    p5-Catalyst-Plugin-Cache
# Date created:         Apr 5, 2007
# Whom:             lbr@freebsd.org
#
# $FreeBSD$
#

PORTNAME=   Catalyst-Plugin-Cache
PORTVERSION=    0.11
CATEGORIES= www perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Flexible caching support for Catalyst

BUILD_DEPENDS=  p5-Catalyst-Runtime>=5.8000:${PORTSDIR}/www/p5-Catalyst-Runtime \
        p5-Task-Weaken>=0:${PORTSDIR}/devel/p5-Task-Weaken \
        p5-MRO-Compat>=0:${PORTSDIR}/devel/p5-MRO-Compat
RUN_DEPENDS:=   ${BUILD_DEPENDS}

TEST_DEPENDS=   p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
        p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
        p5-Test-WWW-Mechanize-Catalyst>=0:${PORTSDIR}/devel/p5-Test-WWW-Mechanize-Catalyst

PERL_CONFIGURE= yes

MAN3=   Catalyst::Plugin::Cache.3 \
    Catalyst::Plugin::Cache::Backend.3 \
    Catalyst::Plugin::Cache::Backend::Memory.3 \
    Catalyst::Plugin::Cache::Choose::KeyRegexes.3 \
    Catalyst::Plugin::Cache::Curried.3 \
    Catalyst::Plugin::Cache::Store.3 \
    Catalyst::Plugin::Cache::Store::Memory.3

post-patch:
    @${PERL} -i.bak -ne 'print unless m,ok|Test::,' ${WRKSRC}/Makefile.PL

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501001
TEST_DEPENDS+=  p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
.endif

.include <bsd.port.post.mk>