summaryrefslogtreecommitdiff
path: root/databases/postgresql13-plpython/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql13-plpython/Makefile')
-rw-r--r--databases/postgresql13-plpython/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/databases/postgresql13-plpython/Makefile b/databases/postgresql13-plpython/Makefile
new file mode 100644
index 00000000000..d0f62232b29
--- /dev/null
+++ b/databases/postgresql13-plpython/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2020/10/18 09:24:03 adam Exp $
+
+PKGNAME= ${DISTNAME:S/-/13-plpython-/}
+COMMENT= PL/Python procedural language for the PostgreSQL backend
+
+DEPENDS+= postgresql13-server>=${PKGVERSION_NOREV}:../../databases/postgresql13-server
+
+.include "../../databases/postgresql13/Makefile.common"
+
+TOOLS_BROKEN+= perl
+CONFIGURE_ARGS+= --with-python
+CONFIGURE_ENV+= PYTHON="${PYTHONBIN}"
+BUILD_MAKE_FLAGS= PGXS=1
+
+BUILD_DIRS= src/pl/plpython contrib/hstore_plpython
+
+.include "../../databases/postgresql13-client/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"