aboutsummaryrefslogblamecommitdiff
path: root/www/mod_log_spread/Makefile
blob: 83aeeabf52419313a5be6d47e101e4a888661264 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                   
                                  














                                                                
                                                                                                   










                                                               
# 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=	apache@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>