aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_auth_mysql/Makefile
blob: fc19530bd5b79e15b9632353231e4255c44ce38b (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:    apache mod_auth_mysql
# Date created:     2000/05/19
# Whom:         jim@thehouselys.net
#
# $FreeBSD$

PORTNAME=   mod_auth_mysql
PORTVERSION=    2.20
PORTREVISION=   8
CATEGORIES= www
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mod-auth-mysql

MAINTAINER= apache@FreeBSD.org
COMMENT=    Allows users to use MySQL databases for user authentication

BUILD_DEPENDS=  ${APXS}:${PORTSDIR}/${APACHE_PORT}
RUN_DEPENDS=    ${LOCALBASE}/sbin/${AP_TARGET}:${PORTSDIR}/${APACHE_PORT}

USE_MYSQL=  yes

USE_APACHE= 13
AP_GENPLIST=    yes
PORTDOCS=   README USAGE
PLIST_FILES+=   libexec/apache/libauth_mysql.so

PKGMESSAGE= ${WRKSRC}/.install_notes

HAS_CONFIGURE=  yes
CONFIGURE_ARGS= --with-mysql=${PREFIX} \
        --with-apxs=${APXS}

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>