733e654220
roles, which that user is allowed to assume, and every restricted part of the app makes an assertion about the necessary roles. If the user is a member in all of the required roles access is granted. Otherwise, access is denied. WWW: http://search.cpan.org/dist/Catalyst-Plugin-Authorization-Roles PR: ports/90272 Submitted by: Lars Balker Rasmussen <lars@balker.dk>
33 lines
1,018 B
Makefile
33 lines
1,018 B
Makefile
# Ports collection makefile for: p5-Catalyst-Plugin-Authorization-Roles
|
|
# Date created: Dec 12, 2005
|
|
# Whom: Lars Balker Rasmussen <lars@balker.dk>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Catalyst-Plugin-Authorization-Roles
|
|
PORTVERSION= 0.03
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Catalyst
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= lars@balker.dk
|
|
COMMENT= Role based authorization for Catalyst
|
|
|
|
BUILD_DEPENDS= p5-Catalyst>=5.49:${PORTSDIR}/www/p5-Catalyst \
|
|
p5-Catalyst-Plugin-Authentication>=0.03:${PORTSDIR}/www/p5-Catalyst-Plugin-Authentication \
|
|
p5-Set-Object>=0:${PORTSDIR}/devel/p5-Set-Object \
|
|
p5-Test-MockObject>=1.01:${PORTSDIR}/devel/p5-Test-MockObject \
|
|
p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
PERL_MODBUILD= yes
|
|
|
|
MAN3= Catalyst::Plugin::Authorization::Roles.3
|
|
|
|
.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>
|