blob: 4fa1cfe2c4f19568291e283113c65133df869fac (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Created by: Daniel Gerzo <danger@FreeBSD.org>
# $FreeBSD$
PORTNAME= uwsgi
PORTVERSION= 2.0.11.2
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= http://projects.unbit.it/downloads/
MAINTAINER= demon@FreeBSD.org
COMMENT= Developer-friendly WSGI server which uses uwsgi protocol
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python
USE_RC_SUBR= uwsgi
LDFLAGS+= "-L${LOCALBASE}/lib"
MAKE_ARGS+= UWSGI_EMBED_PLUGINS=cgi
PLIST_FILES= bin/uwsgi \
%%PYTHON_SITELIBDIR%%/uwsgidecorators.py
post-patch:
${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/uwsgidecorators.py ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
.include <bsd.port.mk>
|