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
|
2012-07-18 19:18:25 +02:00
|
|
|
PORTVERSION= 0.14.5
|
2011-03-17 14:15:29 +01:00
|
|
|
CATEGORIES= www python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2012-07-18 19:18:25 +02:00
|
|
|
MAINTAINER= koobs.freebsd@gmail.com
|
2011-03-17 14:15:29 +01:00
|
|
|
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
|
|
|
|
|
2012-07-18 19:18:25 +02:00
|
|
|
OPTIONS_DEFINE= EVENTLET GEVENT SETPROC
|
|
|
|
EVENTLET_DESC= Add Eventlet asynchronous worker
|
|
|
|
GEVENT_DESC= Add Gevent asynchronous worker
|
|
|
|
SETPROC_DESC= Change process name support
|
|
|
|
|
|
|
|
OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
|
2011-11-19 11:51:55 +01:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-07-18 19:18:25 +02:00
|
|
|
.if ${PORT_OPTIONS:MEVENTLET}
|
2011-11-19 11:51:55 +01:00
|
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}eventlet>=0.9:${PORTSDIR}/net/py-eventlet
|
|
|
|
.endif
|
|
|
|
|
2012-07-18 19:18:25 +02:00
|
|
|
.if ${PORT_OPTIONS:MGEVENT}
|
2011-11-19 11:51:55 +01:00
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/gevent/__init__.py:${PORTSDIR}/devel/py-gevent
|
|
|
|
.endif
|
|
|
|
|
2012-07-18 19:18:25 +02:00
|
|
|
.if ${PORT_OPTIONS:MSETPROC}
|
2011-11-19 11:51:55 +01:00
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/setproctitle.so:${PORTSDIR}/devel/py-setproctitle
|
|
|
|
.endif
|
|
|
|
|
2011-03-17 14:15:29 +01:00
|
|
|
.include <bsd.port.mk>
|