# New ports collection makefile for:    pam-pgsql
# Date created:				Nov 16, 2000
# Whom:	      				Mikhail Teterin <mi@aldan.algebra.com>
#
# $FreeBSD: ports/security/pam-pgsql/Makefile,v 1.25 2005/08/18 19:38:29 sem Exp $
#

PORTNAME=	pam-pgsql
PORTVERSION=	0.6.1
CATEGORIES=	security databases
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTFILES=	libpam-pgsql-${PORTVERSION}${EXTRACT_SUFX}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A pam module for authenticating with PostgreSQL

USE_BZIP2=	yes
USE_PGSQL=	yes
GNU_CONFIGURE=	yes

LIB_DEPENDS=	mhash.2:${PORTSDIR}/security/mhash

post-install:
	${CAT} ${PKGMESSAGE}
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/debian/changelog \
		${WRKSRC}/debian/copyright ${DOCSDIR}
.endif

.include <bsd.port.mk>
