1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/www/spreadlogd/Makefile
Alexey Dokuchaev 366a471d61 - Fix the build on recent -CURRENT by depending on `devel/libgnuregex'
- Drop the leading article from the COMMENT line per our conventions
- Install docfiles in the dedicated `do-install-DOCS-on' helper target
- Wrap an overly long line and reduce vertical whitespace while here

PR:		252258
Submitted by:	kevans
2021-01-21 09:29:38 +00:00

38 lines
883 B
Makefile

# Created by: 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= 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>