# New ports collection makefile for:	mod_auth_openid
# Date created:				3 August 2008
# Whom:					Sutra Zhou <zhoushuqun@gmail.com>
#
# $FreeBSD: ports/www/mod_auth_openid/Makefile,v 1.9 2012/02/14 19:16:24 pgollucci Exp $
#

PORTNAME=	mod_auth_openid
PORTVERSION=	0.6
CATEGORIES=	www
MASTER_SITES=	http://butterfat.net/releases/mod_auth_openid/
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}

MAINTAINER=	zhoushuqun@gmail.com
COMMENT=	An authentication module for the Apache 2 webserver with OpenID

LIB_DEPENDS=	opkele:${PORTSDIR}/devel/libopkele \
		sqlite3:${PORTSDIR}/databases/sqlite34

MAKE_JOBS_SAFE=  yes

PLIST_FILES=	${APACHEMODDIR}/mod_auth_openid.so

USE_APACHE=	20+
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-pcre=${LOCALBASE}

CFLAGS+=	-I${LOCALBASE}/include -I/usr/include/openssl

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 700000
BROKEN=		Doesn't compile on 6.x
.endif

.include <bsd.port.post.mk>
