aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Apache2-SiteControl/Makefile
blob: fc6a135f80f984adda0e0899bf52fc595efb2d9d (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
46
47
48
# New ports collection makefile for:	p5-Apache2-SiteControl
# Date created: 			18 June 2011
# Whom:					Nick Hilliard <nick@foobar.org
#
# $FreeBSD$
#

PORTNAME=	Apache2-SiteControl
PORTVERSION=	1.05
PORTREVISION=	1
CATEGORIES=	www perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	nick@foobar.org
COMMENT=	Perl web site authentication/authorization system

BUILD_DEPENDS=	p5-Apache-AuthCookie>=3.08:${PORTSDIR}/www/p5-Apache-AuthCookie \
		p5-Apache-Session>=1.54:${PORTSDIR}/www/p5-Apache-Session \
		p5-Crypt-CAST5>=0.04:${PORTSDIR}/security/p5-Crypt-CAST5 \
		p5-Crypt-CBC>=2.14:${PORTSDIR}/security/p5-Crypt-CBC \
		p5-libapreq2>=2.05:${PORTSDIR}/www/p5-libapreq2
RUN_DEPENDS=	p5-Apache-AuthCookie>=3.08:${PORTSDIR}/www/p5-Apache-AuthCookie \
		p5-Apache-Session>=1.54:${PORTSDIR}/www/p5-Apache-Session \
		p5-Crypt-CAST5>=0.04:${PORTSDIR}/security/p5-Crypt-CAST5 \
		p5-Crypt-CBC>=2.14:${PORTSDIR}/security/p5-Crypt-CBC \
		p5-libapreq2>=2.05:${PORTSDIR}/www/p5-libapreq2

OPTIONS=	RADIUS "Support for RADIUS back-end" on

PERL_CONFIGURE=	yes

MAN3=		Apache2::SiteControl.3 \
		Apache2::SiteControl::GrantAllRule.3 \
		Apache2::SiteControl::ManagerFactory.3 \
		Apache2::SiteControl::PermissionManager.3 \
		Apache2::SiteControl::Radius.3 \
		Apache2::SiteControl::Rule.3 \
		Apache2::SiteControl::User.3 \
		Apache2::SiteControl::UserFactory.3

.include <bsd.port.options.mk>

.if !defined(WITHOUT_RADIUS)
RUN_DEPENDS+=	p5-Authen-Radius>=0.10:${PORTSDIR}/security/p5-Authen-Radius
.endif

.include <bsd.port.mk>