summaryrefslogtreecommitdiff
path: root/net/libnss-mysql/Makefile
blob: 7dbaa9cb6334cc09a45ce01a3f9c017ccdafe1ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Ports collection Makefile for:	libnss_mysql
# Date created:				05/05/2003
# Whom:					Clement Laforet <sheepkiller@cultdeadsheep.org>
#
# $FreeBSD$
#

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

MAINTAINER=	clement@FreeBSD.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>