aboutsummaryrefslogtreecommitdiffstats
path: root/security/pam-mysql/Makefile
blob: 91e3d17b3b9f3f2e3823d5a1f6c9df59dc4bb234 (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
# New ports collection makefile for:    pam_mysql
# Date created:             29 August 2000
# Whom:                     Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#

PORTNAME=   pam_mysql
PORTVERSION=    0.7.r1
CATEGORIES= security databases
MASTER_SITES=   SF/pam-mysql/pam-mysql/0.7RC1
DISTNAME=   ${PORTNAME}-0.7RC1${DISTVERSIONSUFFIX}

MAINTAINER= anders@FreeBSD.org
COMMENT=    A pam module for authenticating with MySQL

USE_MYSQL=  yes
GNU_CONFIGURE=  yes
USE_AUTOTOOLS=  aclocal:14 autoconf:262 libtool:22
ACLOCAL_ARGS=   -I ${PREFIX}/share/aclocal
CONFIGURE_ARGS= --with-mysql=${LOCALBASE} --with-pam-mods-dir=${PREFIX}/lib --with-pam=/usr

SUB_FILES=  pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message

PLIST_FILES=    lib/pam_mysql.la lib/pam_mysql.so lib/pam_mysql.a

.if !defined(NOPORTDOCS)
PORTDOCS=   *
.endif

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

.include <bsd.port.mk>