comparison 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
comparison
equal deleted inserted replaced
88:098130d0f0f0 89:40e8d1ee1651
3 3
4 PORTNAME?= ${UWSGI_NAME}-plugin-lang-py3 4 PORTNAME?= ${UWSGI_NAME}-plugin-lang-py3
5 DISTVERSION= 2.0.18 5 DISTVERSION= 2.0.18
6 PORTREVISION?= 0 6 PORTREVISION?= 0
7 CATEGORIES?= www python 7 CATEGORIES?= www python
8 MASTER_SITES= https://projects.unbit.it/downloads/ 8 # Use GitHub id for now (before official 2.1); see below
9 DISTNAME= uwsgi-${DISTVERSION} 9 #MASTER_SITES= https://projects.unbit.it/downloads/
10 #DISTNAME= uwsgi-${DISTVERSION}
10 11
11 MAINTAINER?= freebsd-dev@dom66.de 12 MAINTAINER?= freebsd-dev@dom66.de
12 COMMENT?= Language plugin for Python 3 (OS default) 13 COMMENT?= Language plugin for Python 3 (OS default)
13 14
14 LICENSE= GPLv2-WITH-LINKING-EXCEPTION 15 LICENSE= GPLv2-WITH-LINKING-EXCEPTION
22 23
23 # This specific python version is built 24 # This specific python version is built
24 USES?= python:3.5+ gettext-runtime 25 USES?= python:3.5+ gettext-runtime
25 # Some python version is needed when building 26 # Some python version is needed when building
26 USES+= python:build pkgconfig 27 USES+= python:build pkgconfig
28
29 .include "${.CURDIR}/../uwsginl/Makefile.gh"
27 30
28 PLIST_FILES= ${PLUGIN_DIR}/${PLUGIN_FILENAME} 31 PLIST_FILES= ${PLUGIN_DIR}/${PLUGIN_FILENAME}
29 32
30 MAKE_ENV+= UWSGI_PROFILE_OVERRIDE="plugin_build_dir=${STAGEDIR}${PREFIX}/${PLUGIN_DIR};plugin_dir=${PREFIX}/${PLUGIN_DIR}" PYTHON=${PYTHON_CMD} 33 MAKE_ENV+= UWSGI_PROFILE_OVERRIDE="plugin_build_dir=${STAGEDIR}${PREFIX}/${PLUGIN_DIR};plugin_dir=${PREFIX}/${PLUGIN_DIR}" PYTHON=${PYTHON_CMD}
31 34