changeset 15:16556170d9cd origin

The latest SVN changes to the original of port www/uwsgi. Only an additional build option (which is irrelevant to our uwsginl) and a new maintainer have been added.
author Franz Glasner <hg@dom66.de>
date Sat, 11 Nov 2017 00:07:00 +0100
parents 748e69c58ee3
children 05c6f16908de a3cb9ed08a83
files Makefile
diffstat 1 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Sep 13 17:09:22 2017 +0200
+++ b/Makefile	Sat Nov 11 00:07:00 2017 +0100
@@ -1,5 +1,5 @@
 # Created by: Daniel Gerzo <danger@FreeBSD.org>
-# $FreeBSD: head/www/uwsgi/Makefile 448482 2017-08-21 17:49:01Z ultima $
+# $FreeBSD: head/www/uwsgi/Makefile 453888 2017-11-10 08:48:57Z eugen $
 
 PORTNAME=	uwsgi
 PORTVERSION=	2.0.15
@@ -7,7 +7,7 @@
 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 @@
 
 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
@@ -53,6 +59,9 @@
 	@${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}