diff uwsginl-plugin-lang-py3/Makefile @ 89:40e8d1ee1651

Use current GitHub head of trunk with master ports py3 and pypy3 also. Implemented by including a common Makefile snippen from uwsginl.
author Franz Glasner <f.glasner@feldmann-mg.com>
date Mon, 15 Jun 2020 12:13:22 +0200
parents 098130d0f0f0
children ce09461b99ec
line wrap: on
line diff
--- a/uwsginl-plugin-lang-py3/Makefile	Mon Jun 15 09:42:50 2020 +0200
+++ b/uwsginl-plugin-lang-py3/Makefile	Mon Jun 15 12:13:22 2020 +0200
@@ -5,8 +5,9 @@
 DISTVERSION=	2.0.18
 PORTREVISION?=	0
 CATEGORIES?=	www python
-MASTER_SITES=	https://projects.unbit.it/downloads/
-DISTNAME=	uwsgi-${DISTVERSION}
+# Use GitHub id for now (before official 2.1); see below
+#MASTER_SITES=	https://projects.unbit.it/downloads/
+#DISTNAME=	uwsgi-${DISTVERSION}
 
 MAINTAINER?=	freebsd-dev@dom66.de
 COMMENT?=	Language plugin for Python 3 (OS default)
@@ -25,6 +26,8 @@
 # Some python version is needed when building
 USES+=		python:build pkgconfig
 
+.include	"${.CURDIR}/../uwsginl/Makefile.gh"
+
 PLIST_FILES=	${PLUGIN_DIR}/${PLUGIN_FILENAME}
 
 MAKE_ENV+=	UWSGI_PROFILE_OVERRIDE="plugin_build_dir=${STAGEDIR}${PREFIX}/${PLUGIN_DIR};plugin_dir=${PREFIX}/${PLUGIN_DIR}" PYTHON=${PYTHON_CMD}