aboutsummaryrefslogtreecommitdiff
path: root/security/pam-pgsql/Makefile
blob: 7327728df61f0f6f92c35f2bc418591b1c6bf18b (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
CATEGORIES=	security databases
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	libpam-pgsql-${PORTVERSION}

MAINTAINER=	chinsan@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>