freebsd-ports/www/mod_auth_mysql2/Makefile
Pav Lucistnik 71ecf80e64 - Update to 1.9.1
- Unmark broken, undeprecate
- Let it work with apache 2.2 too
- Support NOPORTDOCS

PR:		ports/108800 (based on)
Submitted by:	Armin Gruner <ag-freebsd@space.net>,
		Martin Matuska <martin@matuska.org>
Approved by:	maintainer timeout (apache; 1 month)
2007-03-14 19:50:28 +00:00

40 lines
929 B
Makefile

# New ports collection makefile for: mod_auth_mysql2
# Date created: Sep 10 2005
# Whom: Clement Laforet <clement@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mod_auth_mysql
PORTVERSION= 1.9.1
CATEGORIES= www
MASTER_SITES= http://www.heuer.org/mod_auth_mysql/ \
http://www.heuer.org/mod_auth_mysql/old/
DISTNAME= ${PORTNAME}_${PORTVERSION}
EXTRACT_SUFX= .tgz
DIST_SUBDIR= apache22
MAINTAINER= apache@FreeBSD.org
COMMENT= MySQL-based authentication module with VirtualHost support
LATEST_LINK= mod_auth_mysql2
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_MYSQL= YES
USE_APACHE= 2.0+
AP_FAST_BUILD= YES
AP_GENPLIST= YES
AP_INC+= ${LOCALBASE}/include/mysql
AP_LIB+= ${LOCALBASE}/lib/mysql -lmysqlclient
.if !defined(NOPORTDOCS)
PORTDOCS= INSTALL example_data.html htpasswd.sql
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>