aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_log_spread/Makefile
blob: 8b5af9b556818c23c34fdca65f946ddc5b1b2636 (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
# New ports collection makefile for:    mod_log_spread
# Date created:         08 May 2005
# Whom:             Meno Abels <meno.abels@adviser.com>
#
# $FreeBSD$
#

PORTNAME=   mod_log_spread
PORTVERSION=    1.0.4
CATEGORIES= www net
MASTER_SITES=   http://www.lethargy.org/mod_log_spread/

MAINTAINER= ports@FreeBSD.org
COMMENT=    An Apache module interfacing with spread

LIB_DEPENDS=    spread.1:${PORTSDIR}/net/spread
BUILD_DEPENDS=  ${APXS}:${PORTSDIR}/www/apache13
RUN_DEPENDS=    ${BUILD_DEPENDS}

USE_APACHE= yes

.if !defined(NOPORTDOCS)
PORTDOCS=   CHANGELOG INSTALL LICENSE README README.spread \
        error_log_spread.pl sample_configurations.txt \
        spreadlogd.README spread.html
.endif

do-build:
    cd ${WRKSRC} && ${APXS} -c -I ${PREFIX}/include -L ${PREFIX}/lib -l spread mod_log_spread.c

do-install:
    ${APXS} -i -a -n log_spread ${WRKSRC}/mod_log_spread.so
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>