aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-tornado/Makefile
blob: 1b68122b30253921a06f3dac70b15217b9078375 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: Guixing Bai<khsing.cn@gmail.com>
# $FreeBSD$

PORTNAME=   tornado
PORTVERSION=    3.1
CATEGORIES= www python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

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

LICENSE=    AL2

USE_PYTHON=     yes
USE_PYDISTUTILS=    easy_install

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} < 300
RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}curl>0:${PORTSDIR}/ftp/py-curl
.endif

regression-test: build
    @cd ${WRKSRC} && ${PYTHON_CMD} -m tornado.test.runtests

.include <bsd.port.post.mk>