freebsd-ports/www/mod_log_spread/Makefile
Volker Stolz 7a7cd686ee Set flags for libspread
PR:		ports/85252
Submitted by:	Brian Candler via maintainer
2005-09-06 11:14:14 +00:00

41 lines
991 B
Makefile

# 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= meno.abels@adviser.com
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>