# New ports collection makefile for:	mod_accessCookie
# Date created:			Apr 16 2004
# Whom:				Clement Laforet <clement@FreeBSD.org>
#
# $FreeBSD: ports/www/mod_accesscookie/Makefile,v 1.5 2009/05/17 07:24:25 pgollucci Exp $
#

PORTNAME=	mod_accessCookie
PORTVERSION=	0.4
CATEGORIES=	www
MASTER_SITES=	http://etweb.wkv.at/himself/Programming/
EXTRACT_SUFX=	.tgz

MAINTAINER=	apache@FreeBSD.org
COMMENT=	Supply access control based cookies stored in a MySQL database

MAKE_JOBS_SAFE=  yes

USE_MYSQL=	YES
USE_APACHE=	13
AP_FAST_BUILD=	YES
AP_GENPLIST=	YES
AP_INC+=	${LOCALBASE}/include/mysql
AP_LIB+=	${LOCALBASE}/lib/mysql -lmysqlclient

PORTDOCS=	README

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
