aboutsummaryrefslogtreecommitdiffstats
path: root/security/pam-pgsql/Makefile
blob: 845607099eec8bc5939510182ef9cf669a0ac7e5 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# 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.5.2
PORTREVISION=   7
CATEGORIES= security databases
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE} \
        http://mat.cc/distfiles/
MASTER_SITE_SUBDIR= pam-pgsql
DISTFILES=  ${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX}

PATCHFILES= ${PORTNAME}_${PORTVERSION}-5.diff.gz
PATCH_SITES=    ${MASTER_SITES}
PATCH_SITE_SUBDIR=  ${MASTER_SITE_SUBDIR}

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

LIB_DEPENDS=    pq.3:${PORTSDIR}/${POSTGRESQL_PORT}

POSTGRESQL_PORT?=   databases/postgresql7

PATCH_DIST_STRIP=   -p1

MAKEFILE=   ${FILESDIR}/Makefile.bsd
MAKE_ARGS+= FILESDIR=${FILESDIR}

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 501000
BROKEN=     "Does not compile"
.endif

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

DOCDIR=     share/doc/pam-pgsql
PLIST_SUB+= DOCDIR=${DOCDIR}
.endif

.include <bsd.port.post.mk>