1b9d721825
MooseX::AuthorizedMethods exports the "authorized" declarator that makes a verification if the user has the required permissions before the acual invocation. The default verification method will take the "user" method result and call "roles" to list the roles given to that user. WWW: http://search.cpan.org/dist/MooseX-AuthorizedMethods/
31 lines
778 B
Makefile
31 lines
778 B
Makefile
# New ports collection makefile for: p5-MooseX-AuthorizedMethods
|
|
# Date created: 2012-04-25
|
|
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= MooseX-AuthorizedMethods
|
|
PORTVERSION= 0.006
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Syntax sugar for authorized methods
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
BUILD_DEPENDS= p5-Moose>=1.21:${PORTSDIR}/devel/p5-Moose \
|
|
p5-aliased>=0:${PORTSDIR}/devel/p5-aliased
|
|
RUN_DEPENDS= p5-Moose>=1.21:${PORTSDIR}/devel/p5-Moose \
|
|
p5-aliased>=0:${PORTSDIR}/devel/p5-aliased
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= MooseX::AuthorizedMethods.3 \
|
|
MooseX::Meta::Method::Authorized.3 \
|
|
MooseX::Meta::Method::Authorized::CheckRoles.3
|
|
|
|
.include <bsd.port.mk>
|