summaryrefslogtreecommitdiff
path: root/security/pam-pgsql/Makefile
blob: eed839551eba67a7e57085fe1a7b7447f05851e0 (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
31
32
# Created by: Mikhail Teterin <mi@aldan.algebra.com>
# $FreeBSD$

PORTNAME=	pam-pgsql
PORTVERSION=	0.7.3.1
CATEGORIES=	security databases
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/0.7/

MAINTAINER=	berend@pobox.com
COMMENT=	PAM module for authenticating with PostgreSQL

LICENSE=	GPLv2

LIB_DEPENDS=	mhash:${PORTSDIR}/security/mhash \
		gcrypt:${PORTSDIR}/security/libgcrypt

USE_PGSQL=	yes
GNU_CONFIGURE=	yes

CONFIGURE_ARGS+=	--libdir=/usr/lib

NO_STAGE=	yes
.include <bsd.port.options.mk>

post-install:
	@${SED} -e 's,%%PREFIX%%,${PREFIX},' ${PKGMESSAGE}
.if ${PORT_OPTIONS:MDOCS}
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/CHANGELOG ${DOCSDIR}
.endif

.include <bsd.port.mk>