aboutsummaryrefslogtreecommitdiff
path: root/www/mod_auth_mysql2/Makefile
blob: a4870da0f9237f18ecd73b0453e5bf8b67f9751a (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
# Created by: Clement Laforet <clement@FreeBSD.org>
# $FreeBSD$

PORTNAME=	mod_auth_mysql
PORTVERSION=	1.11
CATEGORIES=	www
MASTER_SITES=	http://www.heuer.org/mod_auth_mysql/old/
PKGNAMESUFFIX=	2
DISTNAME=	${PORTNAME}_${PORTVERSION}
DIST_SUBDIR=	apache2

MAINTAINER=	joneum@FreeBSD.org
COMMENT=	MySQL-based authentication module with VirtualHost support

LICENSE=	APACHE20

USES=		apache:2.2+ tar:tgz
WRKSRC=		${WRKDIR}/${PORTNAME}
USE_MYSQL=	yes
AP_FAST_BUILD=	yes
AP_GENPLIST=	yes
AP_INC+=	${LOCALBASE}/include/mysql
AP_LIB+=	${LOCALBASE}/lib/mysql -lmysqlclient

PORTDOCS=	INSTALL example_data.html htpasswd.sql

OPTIONS_DEFINE=	DOCS OPENSSL

OPENSSL_USES=		ssl
OPENSSL_VARS=	AP_EXTRAS+=-DMYSQL_USE_SSL

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>