Mercurial > hgrepos > FreeBSD > ports > www > uwsginl
diff Makefile @ 118:20416e8b70cc origin
Update to 2.0.19.1
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 16 May 2021 15:55:19 +0200 |
| parents | 5f9369cd567d |
| children | 87b78aefbb31 |
line wrap: on
line diff
--- a/Makefile Thu Jun 11 22:35:08 2020 +0200 +++ b/Makefile Sun May 16 15:55:19 2021 +0200 @@ -1,8 +1,8 @@ # Created by: Daniel Gerzo <danger@FreeBSD.org> -# $FreeBSD: head/www/uwsgi/Makefile 518934 2019-12-03 11:48:45Z amdmi3 $ PORTNAME= uwsgi -PORTVERSION= 2.0.18 +PORTVERSION= 2.0.19.1 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= http://projects.unbit.it/downloads/ @@ -12,7 +12,7 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= pkgconfig python +USES= pkgconfig python:3.6+ USE_PYTHON= distutils concurrent optsuffix USE_RC_SUBR= uwsgi @@ -34,11 +34,16 @@ OPTIONS_DEFAULT= SSL OPTIONS_GROUP= PLG -OPTIONS_GROUP_PLG= PSGI +OPTIONS_GROUP_PLG= COROAE LOGPIPE PSGI PLG_DESC= Enable plugins +COROAE_DESC= Coro::AnyEvent support +LOGPIPE_DESC= Pipe logger support PSGI_DESC= PSGI embedded plugin +COROAE_BUILD_DEPENDS= p5-Coro>=0:devel/p5-Coro +COROAE_IMPLIES= PSGI + DEBUG_VARS= PYDISTUTILS_BUILDARGS+=--debug JSON_VARS= BUILDCONF_JSON=jansson @@ -62,8 +67,11 @@ @${REINPLACE_CMD} -e '/^${var:tl} =/ s|= .*|= ${BUILDCONF_${var}:Ufalse}|' ${WRKSRC}/buildconf/base.ini .endfor -post-patch-PSGI-on: - @${REINPLACE_CMD} -e 's/%(main_plugin)s,/%(main_plugin)s, psgi,/' ${WRKSRC}/buildconf/base.ini +.for plugin in COROAE LOGPIPE PSGI +post-patch-${plugin}-on: + @${REINPLACE_CMD} -e 's/%(main_plugin)s,/& ${plugin:tl},/' \ + ${WRKSRC}/buildconf/base.ini +.endfor do-configure: @${DO_NADA}
