summaryrefslogtreecommitdiff
path: root/www/mod_vdbh/Makefile
blob: 6bb500bc7902b5994c4266894d71b0c7f961fb96 (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
37
38
39
# New ports collection makefile for:	mod_vdbh
# Date created:				Sun Oct 19
# Whom:					Clement Laforet <clement@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	mod_vdbh
PORTVERSION=	1.0.3
CATEGORIES=	www
MASTER_SITES=	http://www.synthemesc.com/downloads/mod_vdbh/
DIST_SUBDIR=	apache

MAINTAINER=	apache@FreeBSD.org
COMMENT=	Allows mass virtual hosting using a MySQL backend with Apache 2.0.x

WANT_APACHE=	2
AP_FAST_BUILD=	YES
AP_GENPLIST=	YES
USE_MYSQL=	YES
WRKSRC=		${WRKDIR}/${PORTNAME}

AP_INC+=	${LOCALBASE}/include/mysql
AP_LIB+=	${LOCALBASE}/lib/mysql -lmysqlclient

PORTDOCS=	AUTHORS README TODO

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/apache20/Makefile.modules.3rd"

post-install:
.if !defined (NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.   for f in ${PORTDOCS}
	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.   endfor
.endif

.include <bsd.port.post.mk>