summaryrefslogtreecommitdiff
path: root/net/libnss-pgsql/Makefile
blob: b429f10a2d024f16a047e1b999364dc261fca166 (plain)
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
# Created by: Felix Hanley <felix@userspace.com.au>
# $FreeBSD$

PORTNAME=	libnss-pgsql
PORTVERSION=	1.5.0
PORTREVISION=	1
CATEGORIES=	net
MASTER_SITES=	PGSQL/projects/pgFoundry/sysauth/NSS/nss1.5.0-beta
DISTNAME=	${PORTNAME}-${PORTVERSION}-beta

MAINTAINER=	felix@userspace.com.au
COMMENT=	NSS module using a PostgreSQL database for backend

LICENSE=	GPLv2

BUILD_DEPENDS=	xmlto:textproc/xmlto

USES=		autoreconf gmake libtool pgsql tar:tgz
CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc --includedir=${PREFIX}/include --libdir=${PREFIX}/lib --with-docdir=${DOCSDIR}
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes

OPTIONS_DEFINE=	DOCS

post-install:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/conf/* ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} files/nsswitch.conf ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>