1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/www/spreadlogd/Makefile
2021-04-06 16:31:07 +02:00

37 lines
871 B
Makefile

# Created by: Meno Abels <meno.abels@adviser.com>
PORTNAME= spreadlogd
PORTVERSION= 1.4.2
CATEGORIES= www net
MASTER_SITES= http://www.lethargy.org/mod_log_spread/
MAINTAINER= portmaster@bsdforge.com
COMMENT= Backend for mod_log_spread
LICENSE= ART10
LIB_DEPENDS= libgnuregex.so:devel/libgnuregex \
libspread.so:net/spread
MAKEFILE= makefile
USE_RC_SUBR= spreadlogd
PLIST_FILES= sbin/spreadlogd etc/spreadlogd.conf.sample
PORTDOCS= README
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/spreadlogd.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/spreadlogd ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/spreadlogd.conf \
${STAGEDIR}${PREFIX}/etc/spreadlogd.conf.sample
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>