aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Apache-AuthenCache/Makefile
blob: 4d81fa9c6eb9e265da91135df5c8500665749f16 (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
# New ports collection makefile for:    Apache-AuthenCache
# Date created:             Sun Dec 31 19:59:31 2000
# Whom:                 will
#
# $FreeBSD$
#

PORTNAME=   Apache-AuthenCache
PORTVERSION=    1.00
CATEGORIES= www perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/C/CG/CGILMORE
PKGNAMEPREFIX=  p5-

MAINTAINER= ports@FreeBSD.org
COMMENT=    Perl module that implements authentication caching

BUILD_DEPENDS=  ${SITE_PERL}/Time/Object.pm:${PORTSDIR}/devel/p5-Time-Object \
        ${SITE_PERL}/IPC/Cache.pm:${PORTSDIR}/devel/p5-IPC-Cache
RUN_DEPENDS=    ${BUILD_DEPENDS}

.if defined(WITH_APACHE2)
BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_perl2
.else
BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl
.endif

PERL_CONFIGURE= yes

MAN3=       Apache::AuthenCache.3

post-patch:
    @${FIND} ${WRKSRC} -name "*.orig" -a -exec ${RM} -f {} \;

.include <bsd.port.mk>