aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Apache-AuthCookie/Makefile
blob: 79be130d6272ab227773f832d9959391c82a88d3 (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
# Created by: will
# $FreeBSD$

PORTNAME=   Apache-AuthCookie
PORTVERSION=    3.27
CATEGORIES= www perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Perl module to provide custom forms for reauthentication

LICENSE=    ART10 GPLv1+
LICENSE_COMB=   dual
LICENSE_FILE=   ${WRKSRC}/LICENSE

BUILD_DEPENDS=  ${RUN_DEPENDS}
RUN_DEPENDS=    ${APACHE_PKGNAMEPREFIX}mod_perl2>=1.39:www/mod_perl2 \
        p5-Class-Load>=0.03:devel/p5-Class-Load \
        p5-Hash-MultiValue>=0:devel/p5-Hash-MultiValue \
        p5-HTTP-Body>=0:www/p5-HTTP-Body \
        p5-WWW-Form-UrlEncoded>=0:www/p5-WWW-Form-UrlEncoded
TEST_DEPENDS=   p5-URI>=1.71:net/p5-URI

NO_ARCH=    yes
USE_PERL5=  configure
USES=       apache:2.2+ perl5

.include <bsd.port.pre.mk>

CURUSER?=   `whoami`
CURGRP?=    `groups | ${AWK} '{print $$1}'`
TESTPORT?=  8228
CONFIGURE_ENV+= APACHE="${HTTPD}" \
        TESTUSER="${CURUSER}" \
        TESTGRP="${CURGRP}" \
        TESTPORT="${TESTPORT}"

.include <bsd.port.post.mk>