summaryrefslogtreecommitdiff
path: root/www/unit-python
diff options
context:
space:
mode:
authorotis <otis@pkgsrc.org>2021-02-14 11:56:57 +0000
committerotis <otis@pkgsrc.org>2021-02-14 11:56:57 +0000
commitc9402463d872b9fe855dc157d61c78c40ae5369d (patch)
treedcbe66de3176d7d140b900edeef9f440171c5495 /www/unit-python
parent505ed01dbb4ccfacf530f65ca87bca54c9373630 (diff)
downloadpkgsrc-c9402463d872b9fe855dc157d61c78c40ae5369d.tar.gz
www/unit: import unit-1.22.0
NGINX Unit is a polyglot app server, a reverse proxy, and a static file server, available for Unix-like systems. It was built by nginx team members from scratch to be highly efficient and fully configurable at runtime. Vast majority of work done by Sergey A. Osokin <osa@FreeBSD.org> WWW: http://unit.nginx.org/
Diffstat (limited to 'www/unit-python')
-rw-r--r--www/unit-python/DESCR1
-rw-r--r--www/unit-python/Makefile20
2 files changed, 21 insertions, 0 deletions
diff --git a/www/unit-python/DESCR b/www/unit-python/DESCR
new file mode 100644
index 00000000000..16a9ccf9310
--- /dev/null
+++ b/www/unit-python/DESCR
@@ -0,0 +1 @@
+Perl module for NGINX Unit.
diff --git a/www/unit-python/Makefile b/www/unit-python/Makefile
new file mode 100644
index 00000000000..81ed0f7de57
--- /dev/null
+++ b/www/unit-python/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2021/02/14 11:56:58 otis Exp $
+
+PKGNAME= unit-${LANG}-${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 "../../wip/unit/ext.mk"
+.include "../../wip/unit/Makefile.common"
+.include "../../mk/bsd.pkg.mk"