# New ports collection makefile for:	tornado
# Date created:				2009-09-14
# Whom:					Guixing Bai<khsing.cn@gmail.com>
#
# $FreeBSD: ports/www/py-tornado/Makefile,v 1.10 2012/03/07 22:27:57 jgh Exp $
#

PORTNAME=	tornado
PORTVERSION=	2.2
CATEGORIES=	www python
MASTER_SITES=	CHEESESHOP \
		http://github.com/downloads/facebook/tornado/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	khsing.cn@gmail.com
COMMENT=	Python Web Server from FriendFeed

LICENSE=	AL2

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}curl>0:${PORTSDIR}/ftp/py-curl

USE_PYTHON=	2.5-2.7
USE_PYDISTUTILS=	easy_install

FETCH_ARGS=	-pRr

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} < 260
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}simplejson>=2.0.9:${PORTSDIR}/devel/py-simplejson
.endif

.include <bsd.port.post.mk>
