freebsd-ports/www/spreadlogd/Makefile
Mathieu Arnold 72ea7e696b Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:33:55 +00:00

33 lines
799 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= The backend of mod_log_spread
LICENSE= ART10
LIB_DEPENDS= libspread.so:net/spread
MAKEFILE= makefile
USE_RC_SUBR= spreadlogd
PLIST_FILES= sbin/spreadlogd etc/spreadlogd.conf.sample
PORTDOCS= README
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/spreadlogd.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/spreadlogd ${STAGEDIR}${PREFIX}/sbin
${INSTALL} ${WRKSRC}/spreadlogd.conf ${STAGEDIR}${PREFIX}/etc/spreadlogd.conf.sample
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>