aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_vdbh/Makefile
blob: dacc8a6c25e12d0111eac27b4065a49a2bb03c9b (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
# 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

USE_APACHE= 20+
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

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

.include <bsd.port.mk>