# New ports collection Makefile for:	pydirector
# Date created:				Thu Feb 26
# Whom:					Clement Laforet <clement@FreeBSD.org>
#
# $FreeBSD: ports/net/pythondirector/Makefile,v 1.3 2009/08/22 00:31:41 amdmi3 Exp $
#

PORTNAME=	pydirector
PORTVERSION=	1.0.0
CATEGORIES=	net python
MASTER_SITES=	SF/pythondirector/pythondirector/pythondirector-${PORTVERSION}

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>
