mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
45 lines
921 B
Makefile
45 lines
921 B
Makefile
# Created by: Clement Laforet <clement@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mod_auth_mysql
|
|
PORTVERSION= 1.10
|
|
PORTREVISION= 2
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.heuer.org/mod_auth_mysql/old/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
DIST_SUBDIR= apache2
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= MySQL-based authentication module with VirtualHost support
|
|
|
|
LICENSE= AL2
|
|
|
|
LATEST_LINK= mod_auth_mysql2
|
|
|
|
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
|
|
|
|
.if defined(WITH_OPENSSL)
|
|
USE_OPENSSL= yes
|
|
AP_EXTRAS+= -DMYSQL_USE_SSL
|
|
.endif
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= INSTALL example_data.html htpasswd.sql
|
|
.endif
|
|
|
|
NO_STAGE= yes
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|