1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/www/sqmgrlog/Makefile
Pete Fritchman 4d279919cd add sqmgrlog 3.0.1
Squid log analyzer and HTML report generator

PR:		24895
Submitted by:	Dmitry Grigorovich <odip@bionet.nsc.ru> (mostly)
2001-09-01 00:45:18 +00:00

29 lines
723 B
Makefile

# New ports collection makefile for: sqmgrlog
# Date created: Mon Feb 5 17:00:40 NOVT 2001
# Whom: Dmitry Grigorovich <odip@bionet.nsc.ru>
#
# $FreeBSD$
#
PORTNAME= sqmgrlog
PORTVERSION= 3.0.1
CATEGORIES= www
MASTER_SITES= http://web.onda.com.br/orso/
MAINTAINER= ports@FreeBSD.org
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-prefix=${PREFIX} --with-gcc
post-patch:
@${PERL} -pi -e 's,LDFLAGS="-g",LDFLAGS="",' ${WRKSRC}/configure
@${PERL} -pi -e 's,/usr/local/etc/httpd/htdocs/,${PREFIX}/www/data/,; \
s,mailx,mail,' ${WRKSRC}/sqmgrlog.conf ${WRKSRC}/log.c
post-install:
@if [ ! -f ${PREFIX}/etc/sqmgrlog.conf ]; then \
${INSTALL_DATA} ${WRKSRC}/sqmgrlog.conf ${PREFIX}/etc; \
fi
.include <bsd.port.mk>