# New ports collection makefile for:	mod_auth_imap
# Date created:				Jun 5 2004
# Whom:					Clement Laforet <clement@FreeBSD.org>
#
# $FreeBSD: branches/RELEASE_8_4_0/www/mod_auth_imap2/Makefile 303333 2012-08-29 11:47:29Z ohauer $
#

PORTNAME=	mod_auth_imap
PORTVERSION=	2.2.0
PORTREVISION=	2
CATEGORIES=	www
MASTER_SITES=	http://ben.brillat.net/files/projects/mod_auth_imap2/
DISTNAME=	mod_auth_imap2-${PORTVERSION}
DIST_SUBDIR=	apache2

MAINTAINER=	apache@FreeBSD.org
COMMENT=	An Apache 2 module to provide authentication via an IMAP mail server

LICENSE=	GPLv2

MAKE_JOBS_SAFE=  yes

WRKSRC=		${WRKDIR}/${PORTNAME}2-${PORTVERSION}
USE_APACHE=	22+
LATEST_LINK=	mod_auth_imap2
AP_FAST_BUILD=	yes
AP_GENPLIST=	yes

PORTDOCS=	htaccess-example httpd.conf-append-example

.if !defined(NOPORTDOCS)
post-install:
	@${MKDIR} ${DOCSDIR}
	@cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>
