mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
0d7b596442
Do not auto-detect installed libraries and link agaist them. Switch these off by now (no major uwsgi fuctionality depends on it anyway). This should be switched on via OPTIONS.
32 lines
724 B
Makefile
32 lines
724 B
Makefile
# Created by: Daniel Gerzo <danger@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= uwsgi
|
|
PORTVERSION= 1.9.11
|
|
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
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
USE_PYTHON= yes
|
|
USE_RC_SUBR= uwsgi
|
|
|
|
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} ${PREFIX}/bin/
|
|
${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/uwsgidecorators.py ${PYTHONPREFIX_SITELIBDIR}
|
|
|
|
.include <bsd.port.mk>
|