freebsd-ports/www/mod_auth_mysql2/Makefile
Olli Hauer 63f3e3b0d4 - remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@
2012-08-18 14:29:08 +00:00

48 lines
1,014 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.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}
MAKE_JOBS_SAFE= yes
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
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>