1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/www/mod_auth_mysql2/Makefile
Kurt Jaeger 191ed79fdf www/mod_auth_mysql2: 1.10 -> 1.11
- Fix build with Apache 2.4

PR:		204342
2016-02-23 08:57:13 +00:00

38 lines
862 B
Makefile

# 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= ports@FreeBSD.org
COMMENT= MySQL-based authentication module with VirtualHost support
LICENSE= APACHE20
USES= tar:tgz
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_MYSQL= yes
USE_APACHE= 22+
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_USE= OPENSSL=yes
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>