freebsd-ports/www/spreadlogd/Makefile
Doug Barton 9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00

42 lines
914 B
Makefile

# New ports collection makefile for: spreadlogd
# Date created: 08 May 2005
# Whom: Meno Abels <meno.abels@adviser.com>
#
# $FreeBSD$
#
PORTNAME= spreadlogd
PORTVERSION= 1.4.2
CATEGORIES= www net
MASTER_SITES= http://www.lethargy.org/mod_log_spread/
MAINTAINER= apache@FreeBSD.org
COMMENT= The backend of mod_log_spread
LIB_DEPENDS= spread.1:${PORTSDIR}/net/spread
MAKEFILE= makefile
USE_RC_SUBR= spreadlogd
PLIST_FILES= sbin/spreadlogd etc/spreadlogd.conf.sample
.if !defined(NOPORTDOCS)
PORTDOCS= README Artistic.txt
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/spreadlogd.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/spreadlogd ${PREFIX}/sbin
${INSTALL} ${WRKSRC}/spreadlogd.conf ${PREFIX}/etc/spreadlogd.conf.sample
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>