# New ports collection makefile for:	varnish
# Date created:				2006-08-11
# Whom:					des
#
# $FreeBSD: ports/www/varnish/Makefile,v 1.8 2007/02/20 13:19:26 des Exp $
#

PORTNAME=	varnish
PORTVERSION=	1.0.3
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	des@FreeBSD.org
COMMENT=	The Varnish high-performance HTTP accelerator

GNU_CONFIGURE=	yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS=	--mandir=${PREFIX}/man
USE_LDCONFIG=	yes

MAN1=		varnishd.1 varnishhist.1 varnishlog.1 varnishncsa.1 \
		varnishstat.1 varnishtop.1
MAN7=		vcl.7
USE_RC_SUBR+=   varnishd

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 601000
BROKEN=		does not compile
.endif

.include <bsd.port.post.mk>
