diff uwsginl-plugin-lang-pypy3/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 3e92a10a2c96
line wrap: on
line diff
--- a/uwsginl-plugin-lang-pypy3/Makefile	Mon Jun 15 09:42:50 2020 +0200
+++ b/uwsginl-plugin-lang-pypy3/Makefile	Mon Jun 15 12:13:22 2020 +0200
@@ -4,8 +4,9 @@
 PORTNAME=	${UWSGI_NAME}-plugin-lang-pypy3
 DISTVERSION=	2.0.18
 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 PyPy 3
@@ -23,6 +24,8 @@
 
 USES=		gettext-runtime 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=/usr/local/bin/pypy3