aboutsummaryrefslogtreecommitdiffstats
path: root/security/pam-mysql/Makefile
blob: 37bbad894a52f37808456a836a06fd030a7b2efb (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
# Created by: Anders Nordby <anders@fix.no>
# $FreeBSD$

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

MAINTAINER= ports@FreeBSD.org
COMMENT=    Pam module for authenticating with MySQL

USES=       libtool:keepla
USE_MYSQL=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-mysql=${LOCALBASE} --with-pam-mods-dir=${PREFIX}/lib --with-pam=/usr

OPTIONS_DEFINE= SSL
SSL_DESC=   Build with OpenSSL support (non-crypt()ish MD5 hash)
SSL_CONFIGURE_WITH= openssl


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

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

PORTDOCS=   *

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/ChangeLog \
        ${WRKSRC}/NEWS \
        ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>