view uwsginl-plugin-tornado37/Makefile @ 95:4fb07ef1f4b4

FIX: Allow to compile the uwsgi.h header with cffi. Replace `#include <pcre.h>' with `#include "/usr/local/include/pcre.h"`. It seems that the cffi-related C compiler does not search for include files in "/usr/local/include" on FreeBSD.
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 17 Jun 2020 22:04:54 +0200
parents 8711f048ba1c
children 4ddf40c2765a
line wrap: on
line source

# Created by: Franz Glasner <freebsd-dev-@dom66.de>
# $FreeBSD$

PORTNAME=	${UWSGI_NAME}-plugin-${PLUGIN_NAME}

COMMENT=	Python3.7 tornado plugin for ${UWSGI_NAME}

USES=		python:3.7 gettext-runtime

RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}tornado>=5.0:devel/py-tornado@${PY_FLAVOR}
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tornado>=5.0:devel/py-tornado@${PY_FLAVOR}

PLUGIN_NAME=	tornado37
PLUGIN_SOURCE=	plugins/tornado

MASTERDIR=	${.CURDIR}/../uwsginl-plugin-lang-py3

.include	"${MASTERDIR}/Makefile"