2013-05-23 15:14:27 +02:00
|
|
|
# Created by: Daniel Gerzo <danger@FreeBSD.org>
|
2010-06-02 18:27:50 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= uwsgi
|
2013-08-29 13:10:05 +02:00
|
|
|
PORTVERSION= 1.9.15
|
2010-06-02 18:27:50 +02:00
|
|
|
CATEGORIES= www python
|
|
|
|
MASTER_SITES= http://projects.unbit.it/downloads/
|
|
|
|
|
2012-12-14 16:13:07 +01:00
|
|
|
MAINTAINER= demon@FreeBSD.org
|
2010-06-02 18:27:50 +02:00
|
|
|
COMMENT= Developer-friendly WSGI server which uses uwsgi protocol
|
|
|
|
|
2010-09-11 18:47:20 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2010-06-02 18:27:50 +02:00
|
|
|
|
2010-11-02 18:31:24 +01:00
|
|
|
USE_PYTHON= yes
|
2010-09-11 18:47:20 +02:00
|
|
|
USE_RC_SUBR= uwsgi
|
2010-06-02 18:27:50 +02:00
|
|
|
|
2013-06-03 13:31:51 +02:00
|
|
|
PLIST_FILES= bin/uwsgi \
|
|
|
|
%%PYTHON_SITELIBDIR%%/uwsgidecorators.py
|
|
|
|
|
2012-11-19 12:59:55 +01:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|' ${WRKSRC}/Makefile
|
|
|
|
|
2010-06-02 18:27:50 +02:00
|
|
|
do-install:
|
2013-05-23 16:19:10 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
|
|
|
|
${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/uwsgidecorators.py ${PYTHONPREFIX_SITELIBDIR}
|
2010-06-02 18:27:50 +02:00
|
|
|
|
2011-08-04 00:36:16 +02:00
|
|
|
.include <bsd.port.mk>
|