mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
16e52e4f53
Approved by: Guixing <khsing.cn@gmail.com> (maintainer)
30 lines
693 B
Makefile
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>
|