1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-07 02:06:57 +00:00
freebsd-ports/www/p5-Apache-AuthenCache/Makefile
Sergey Matveychuk ab908d209c - Mark ports BROKEN when/if they depend on mod_perl2.
With current mod_perl2 API change all old code *will* broken.
2005-05-17 17:18:23 +00:00

37 lines
976 B
Makefile

# 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}/${PERL_ARCH}/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)
BROKEN= Broken due the new mod_perl2 API
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>