pkgsrc/www/unit-python/Makefile
otis 0a27a08848 unit: Adjust package naming, no functional changes.
- Adjust package names
- Check for embedded PHP support in unit-php build.
2021-02-27 20:58:26 +00:00

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"