1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/www/py-tornado/Makefile
Grzegorz Blach 16e52e4f53 - Update to 3.2.1
Approved by:	Guixing <khsing.cn@gmail.com> (maintainer)
2014-05-24 17:02:46 +00:00

30 lines
693 B
Makefile

# Created by: Guixing Bai<khsing.cn@gmail.com>
# $FreeBSD$
PORTNAME= tornado
PORTVERSION= 3.2.1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= khsing.cn@gmail.com
COMMENT= Python Web Server from FriendFeed
LICENSE= APACHE20
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 300
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}curl>0:${PORTSDIR}/ftp/py-curl \
${PYTHON_PKGNAMEPREFIX}backports.ssl_match_hostname>0:${PORTSDIR}/security/py-backports.ssl_match_hostname
.endif
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} -m tornado.test.runtests
.include <bsd.port.post.mk>