Date: Fri, 10 Nov 2017 08:48:57 +0000 (UTC) From: Eugene Grosbein <eugen@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r453888 - head/www/uwsgi Message-ID: <201711100848.vAA8mv09083144@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eugen Date: Fri Nov 10 08:48:57 2017 New Revision: 453888 URL: https://svnweb.freebsd.org/changeset/ports/453888 Log: www/uwsgi: enhance handling of plugins Add new option group with PSGI embedded plugin option to start with. Submitter agreed to take maintainership, so pass this unmaintained port to him. Default build not changed, so no PORTREVISION bump. PR: 223588 Submitted by: Eugene Zheganin (based on) Modified: head/www/uwsgi/Makefile Modified: head/www/uwsgi/Makefile ============================================================================== --- head/www/uwsgi/Makefile Fri Nov 10 08:41:59 2017 (r453887) +++ head/www/uwsgi/Makefile Fri Nov 10 08:48:57 2017 (r453888) @@ -7,7 +7,7 @@ PORTREVISION= 2 CATEGORIES= www python MASTER_SITES= http://projects.unbit.it/downloads/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= eugene@zhegan.in COMMENT= Developer-friendly WSGI server which uses uwsgi protocol LICENSE= GPLv2 @@ -33,6 +33,12 @@ PLIST_FILES= bin/uwsgi \ OPTIONS_DEFINE= DEBUG JSON PCRE XML +OPTIONS_GROUP= PLG +OPTIONS_GROUP_PLG= PSGI + +PLG_DESC= Enable plugins +PSGI_DESC= PSGI embedded plugin + DEBUG_VARS= PYDISTUTILS_BUILDARGS+=--debug JSON_VARS= BUILDCONF_JSON=jansson @@ -52,6 +58,9 @@ post-patch: .for var in JSON PCRE XML @${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 do-configure: @${DO_NADA}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711100848.vAA8mv09083144>