0a27a08848
- Adjust package names - Check for embedded PHP support in unit-php build.
20 lines
582 B
Makefile
20 lines
582 B
Makefile
# $NetBSD: Makefile,v 1.3 2021/02/27 20:58:27 otis Exp $
|
|
|
|
PKGNAME= unit-${LANG}${PYVERSSUFFIX}-${UNIT_VERSION}
|
|
COMMENT= Python module for NGINX Unit
|
|
|
|
LANG= python
|
|
MODNAME= ${LANG}
|
|
|
|
MAINTAINER= osa@FreeBSD.org
|
|
|
|
post-configure:
|
|
${RUN} cd ${WRKSRC} && ${SETENV} ${_CONFIGURE_SCRIPT_ENV} \
|
|
${CONFIG_SHELL} ${CONFIG_SHELL_FLAGS} ${CONFIGURE_SCRIPT} \
|
|
${LANG} --module=${MODNAME} \
|
|
--config=${LANG}${PYVERSSUFFIX}-config
|
|
|
|
.include "../../lang/${LANG}/application.mk"
|
|
.include "../../www/unit/ext.mk"
|
|
.include "../../www/unit/Makefile.common"
|
|
.include "../../mk/bsd.pkg.mk"
|