view uwsginl-plugin-lang-php71/Makefile @ 80:2500587e4a5e

plugins/{pypy,python}: get rid of unnecessary paste.script dependency paste.script.util.logging_config is an old copy of logging.config from Python 2.5.1 (see [1]). There are no paste-specific details in it. By using logging.config directly, Python WSGI environments no longer need to have pastescript installed. [1] https://bitbucket.org/wilig/pastescript/commits/04d0db6b2f5ab360bdaa5b10511d969a24fde0ec commit 71464fbda59c5e3668bcc3fab8c5aa66935cf95c
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 14 Jun 2020 22:23:07 +0200
parents d6afe642b5b9
children 4ddf40c2765a
line wrap: on
line source

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

PORTNAME=	${UWSGI_NAME}-plugin-lang-php71
CATEGORIES=	www lang devel

COMMENT=	Language plugin for PHP 7.1

LIB_DEPENDS+=	libxml2.so:textproc/libxml2 \
		libpcre.so:devel/pcre

USES=			php:build,embed
USE_PHP=		session:build xml:build
PHP_VER=		71
DEFAULT_VERSIONS+=	php=${PHP_VER}

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

PLUGIN_NAME=	php71
PLUGIN_SOURCE=	plugins/php

#
# Check whether uwsginl has been built with both libpcre and libxml2
#
pre-build:
	@( ${UWSGI_PATH} --no-server --cflags | ${GREP} -- '-DUWSGI_XML_LIBXML2' >/dev/null ) || ( echo "Error: ${UWSGI_PATH} needs to be built with XML support (libxml2)" && exit 1 )
	@( ${UWSGI_PATH} --no-server --cflags | ${GREP} -- '-DUWSGI_PCRE' >/dev/null ) || ( echo "Error: ${UWSGI_PATH} needs to be built with PCRE support (libpcre)" && exit 1 )

.include	"${MASTERDIR}/Makefile"