# Ports collection Makefile for:	libnss_mysql
# Date created:				05/05/2003
# Whom:					Clement Laforet <sheepkiller@cultdeadsheep.org>
#
# $FreeBSD: ports/net/libnss-mysql/Makefile,v 1.2 2003/10/16 08:48:06 linimon Exp $
#

PORTNAME=	libnss-mysql
PORTVERSION=	1.0
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	libnss-mysql

MAINTAINER=	sheepkiller@cultdeadsheep.org
COMMENT=	NSS module using a MySQL database for backend

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-mysql-lib=${LOCALBASE}/lib/mysql \
		--with-mysql-inc=${LOCALBASE}/include/mysql
INSTALLS_SHLIB=	yes
USE_LIBTOOL=	yes
USE_MYSQL=	yes

.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500112
IGNORE=		NSS modules only supported on FreeBSD 5.1 or later
.endif

.include <bsd.port.post.mk>
