aboutsummaryrefslogtreecommitdiffstats
path: root/net/libnss-mysql/Makefile
blob: d8deb0506b1a5c6abcc85d0c93d8b1d73acf6993 (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
30
# Ports collection Makefile for:    libnss_mysql
# Date created:             05/05/2003
# Whom:                 Clement Laforet <sheepkiller@cultdeadsheep.org>
#
# $FreeBSD$
#

PORTNAME=   libnss-mysql
PORTVERSION=    1.4
PORTREVISION=   1
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_VER=15
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>