# New ports collection makefile for:	py-twistedWeb
# Date created:		14 April 2005
# Whom:	      		Neal Nelson <neal@nelson.name>
#
# $FreeBSD: ports/www/py-twistedWeb/Makefile,v 1.2 2005/04/15 11:27:07 flz Exp $
#

PORTNAME=	twistedWeb
PORTVERSION=	0.5.0
PORTREVISION=	1
CATEGORIES=	www devel python
MASTER_SITES=	http://twistedmatrix.com/downloads/Web/0.5/ \
		http://tmrc.mit.edu/mirror/twisted/Web/0.5/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	TwistedWeb-${PORTVERSION}

MAINTAINER=	neal@nelson.name
COMMENT=	An HTTP protocol implementation together with clients and servers

BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/twisted:${PORTSDIR}/devel/py-twistedCore
RUN_DEPENDS=	${BUILD_DEPENDS}

WRKSRC=		${WRKDIR}/TwistedWeb-${PORTVERSION}

USE_BZIP2=	yes
USE_PYTHON=	2.2+
USE_PYDISTUTILS=	yes

PLIST_SUB+=	S=${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}

.include <bsd.port.mk>
