# New ports collection Makefile for:	pydirector
# Date created:				Thu Feb 26
# Whom:					Clement Laforet <clement@FreeBSD.org>
#
# $FreeBSD: ports/net/pythondirector/Makefile,v 1.1 2004/02/26 21:39:56 clement Exp $
#

PORTNAME=	pydirector
PORTVERSION=	0.0.7
CATEGORIES=	net python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	pythondirector

MAINTAINER=	clement@FreeBSD.org
COMMENT=	A TCP load balancer written in Python

RUN_DEPENDS=	${PYTHON_SITELIBDIR}/twisted/__init__.py:${PORTSDIR}/devel/py-twisted

USE_PYTHON=		yes
USE_PYDISTUTILS=	yes
PORTDOCS=		*

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif

.include <bsd.port.mk>
