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