aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Catalyst-Plugin-Authentication-Store-DBIC/Makefile
blob: f7e003132f6a432f6cbb348751ca36f487922a04 (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
# Ports collection makefile for:    p5-Catalyst-Plugin-Authentication-Store-DBIC
# Date created:             Dec 12, 2005
# Whom:                 Lars Balker Rasmussen <lbr@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Catalyst-Plugin-Authentication-Store-DBIC
PORTVERSION=    0.07000
CATEGORIES= www perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Catalyst
PKGNAMEPREFIX=  p5-
DISTNAME=   ${PORTNAME}-${PORTVERSION:C/0*$//}

MAINTAINER= lbr@FreeBSD.org
COMMENT=    Authentication/authorization on a DBIx::Class/Class::DBI model

BUILD_DEPENDS=  p5-Catalyst-Runtime>=5.7000:${PORTSDIR}/www/p5-Catalyst-Runtime \
        p5-Catalyst-Plugin-Authentication>=0.06:${PORTSDIR}/www/p5-Catalyst-Plugin-Authentication \
        p5-Catalyst-Plugin-Authorization-Roles>=0.03:${PORTSDIR}/www/p5-Catalyst-Plugin-Authorization-Roles \
        p5-Set-Object>=1.14:${PORTSDIR}/devel/p5-Set-Object \
        p5-DBI>=0:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_MODBUILD=  yes

MAN3=   Catalyst::Plugin::Authentication::Store::DBIC.3 \
    Catalyst::Plugin::Authentication::Store::DBIC::Backend.3 \
    Catalyst::Plugin::Authentication::Store::DBIC::User.3

post-extract:
    @${PERL} -i.bak -ne 'print unless /^\s*recommends/ .. /},$$/' ${WRKSRC}/Build.PL

.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500801
IGNORE= requires at least Perl 5.8.1. Install lang/perl5.8, and try again
.endif
.include <bsd.port.post.mk>