2011-03-17 14:15:29 +01:00
|
|
|
# New ports collection makefile for: py-gunicorn
|
|
|
|
# Date created: 2010-03-03
|
|
|
|
# Whom: Kristaps Kulis <kristaps.kulis@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gunicorn
|
2011-11-19 11:51:55 +01:00
|
|
|
PORTVERSION= 0.13.4
|
2011-03-17 14:15:29 +01:00
|
|
|
CATEGORIES= www python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= kristaps.kulis@gmail.com
|
|
|
|
COMMENT= Python WSGI server for unix
|
|
|
|
|
2011-11-19 11:51:55 +01:00
|
|
|
USE_PYTHON= 2.5-2.7
|
2011-03-17 14:15:29 +01:00
|
|
|
USE_PYDISTUTILS= easy_install
|
|
|
|
|
2011-11-19 11:51:55 +01:00
|
|
|
OPTIONS= EVENTLET "Add asynchronous worker Eventlet" off \
|
|
|
|
GEVENT "Add asynchronous worker Gevent" off \
|
|
|
|
SETPROC "Add support to change process name" off
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_EVENTLET)
|
|
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}eventlet>=0.9:${PORTSDIR}/net/py-eventlet
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_GEVENT)
|
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/gevent/__init__.py:${PORTSDIR}/devel/py-gevent
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_SETPROC)
|
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/setproctitle.so:${PORTSDIR}/devel/py-setproctitle
|
|
|
|
.endif
|
|
|
|
|
2011-03-17 14:15:29 +01:00
|
|
|
.include <bsd.port.mk>
|