freebsd-ports/security/p5-Dancer-Plugin-Auth-Extensible/Makefile
Sunpoet Po-Chuan Hsieh 55a908aed7 - Add p5-Dancer-Plugin-Auth-Extensible
- While I'm here, convert to new options helper

A user authentication and authorisation framework plugin for Dancer apps.

Makes it easy to require a user to be logged in to access certain
routes, provides role-based access control, and supports various
authentication methods/sources (config file, database, Unix system
users, etc).

Designed to support multiple authentication realms and to be as
extensible as possible, and to make secure password handling easy (the
base class for auth providers makes handling `RFC2307'-style hashed
passwords really simple, so you have no excuse for storing plain-text
passwords).

WWW: http://search.cpan.org/dist/Dancer-Plugin-Auth-Extensible/

PR:		ports/183865
Submitted by:	Henk van Oers <hvo.pm@xs4all.nl>
2013-11-11 20:38:14 +00:00

31 lines
927 B
Makefile

# Created by: Henk van Oers <hvo.pm@xs4all.nl>
# $FreeBSD$
PORTNAME= Dancer-Plugin-Auth-Extensible
PORTVERSION= 0.30
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= hvo.pm@xs4all.nl
COMMENT= Extensible authentication framework for Dancer apps
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Crypt-SaltedHash>=0:${PORTSDIR}/security/p5-Crypt-SaltedHash \
p5-Dancer>=1.3118:${PORTSDIR}/www/p5-Dancer
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
OPTIONS_DEFINE= DPAEPD DPAEPU
DPAEPD_DESC= Extra dependencies for Provider::Database
DPAEPU_DESC= Extra dependencies for Provider::Unix
DPAEPD_BUILD_DEPENDS= p5-Dancer-Plugin-Database>=0:${PORTSDIR}/databases/p5-Dancer-Plugin-Database
DPAEPU_BUILD_DEPENDS= p5-Authen-Simple-PAM>=0:${PORTSDIR}/security/p5-Authen-Simple-PAM \
p5-Unix-Passwd-File>=0:${PORTSDIR}/security/p5-Unix-Passwd-File
.include <bsd.port.mk>