# Created by: Adrian Chadd <adrian@FreeBSD.org>
# $FreeBSD: tags/RELEASE_10_1_0/www/squidstats/Makefile 362754 2014-07-23 23:27:39Z ohauer $

PORTNAME=	squidstats
PORTVERSION=	54
PORTREVISION=	3
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
DISTNAME=	squidstats-r${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Collection of simple statistical analysis bits for Squid

RUN_DEPENDS=	p5-Config-IniFiles>=2.39:${PORTSDIR}/devel/p5-Config-IniFiles \
		p5-RRD-Simple>=1.44:${PORTSDIR}/databases/p5-RRD-Simple \
		p5-SNMP_Session>=1.11:${PORTSDIR}/net-mgmt/p5-SNMP_Session

USES=		perl5 shebangfix
SHEBANG_FILES=	graph/src/stats.pl.in

USERS=		squid
GROUPS=		squid
PLIST_SUB+=	WWWOWN=${WWWOWN} SQUID_USER=${USERS}

SUB_FILES=	pkg-message

.include <bsd.port.mk>
