# New ports collection makefile for: 	ffproxy
# Date created:				Jul 20 2003
# Whom:                			Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD: ports/www/ffproxy/Makefile,v 1.12 2005/04/21 17:44:08 krion Exp $
#

PORTNAME=	ffproxy
PORTVERSION=	1.6
CATEGORIES=	www
MASTER_SITES=	http://faith.eu.org/${PORTNAME}/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Filtering HTTP proxy server

GNU_CONFIGURE=	yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib"

MAN5=	${PORTNAME}.conf.5
MAN7=	${PORTNAME}.quick.7
MAN8=	${PORTNAME}.8

post-install:
	@[ -f ${PREFIX}/etc/ffproxy.conf ] || \
	${CP} ${PREFIX}/etc/ffproxy.conf.sample ${PREFIX}/etc/ffproxy.conf

.include <bsd.port.mk>
