summaryrefslogtreecommitdiff
path: root/security/pam-pgsql/Makefile
blob: c7d5b6d08b43adf61691473f52d66a3f8b510012 (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
31
32
33
34
# New ports collection makefile for:    pam-pgsql
# Date created:				Nov 16, 2000
# Whom:	      				Mikhail Teterin <mi@aldan.algebra.com>
#
# $FreeBSD$
#

PORTNAME=	pam-pgsql
PORTVERSION=	0.6.3
PORTREVISION=	1
CATEGORIES=	security databases
MASTER_SITES=	SF
DISTNAME=	libpam-pgsql-${PORTVERSION}

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

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

USE_BZIP2=	yes
USE_PGSQL=	yes
GNU_CONFIGURE=	yes
WRKSRC=		${WRKDIR}/${DISTNAME:S/lib//}

post-install:
post-install:
	@${SED} -e 's,%%PREFIX%%,${PREFIX},' ${PKGMESSAGE}
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/debian/changelog \
		${WRKSRC}/debian/copyright ${DOCSDIR}
.endif

.include <bsd.port.mk>