aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_mylo/Makefile
blob: fb93589032099b1841d9e83d70c85d6e285e4af8 (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
40
41
42
# New ports collection makefile for:    mod_mylo
# Date created:             12 November 2001
# Whom:                 Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   mod_mylo
PORTVERSION=    0.2.2
PORTREVISION=   1
CATEGORIES= www
MASTER_SITES=   http://sheepkiller.nerim.net/ports/${PORTNAME}/ \
        ftp://ftp.nuug.no/pub/anders/distfiles/

MAINTAINER= apache@FreeBSD.org
COMMENT=    An Apache module to make Apache log to MySQL

DEPRECATED= apache13 is deprecated, migrate to 2.2.x+ now
EXPIRATION_DATE=    one week after FreeBSD 9.0-RELEASE-p0

MAKE_JOBS_SAFE=  yes

USE_APACHE= 13
USE_MYSQL=  YES

AP_FAST_BUILD=  yes
AP_GENPLIST=    yes

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

PORTDOCS=   mod_mylo.sql README

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

.include <bsd.port.mk>