# Created by: Daniel Gerzo # $FreeBSD$ PORTNAME= uwsgi PORTVERSION= 2.0 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 USE_PYTHON= yes USE_RC_SUBR= uwsgi LDFLAGS+= "-L${LOCALBASE}/lib" 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