summaryrefslogtreecommitdiff
path: root/databases/postgresql12-plpython
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql12-plpython')
-rw-r--r--databases/postgresql12-plpython/Makefile27
-rw-r--r--databases/postgresql12-plpython/pkg-descr6
2 files changed, 33 insertions, 0 deletions
diff --git a/databases/postgresql12-plpython/Makefile b/databases/postgresql12-plpython/Makefile
new file mode 100644
index 000000000000..dea6d0d02cec
--- /dev/null
+++ b/databases/postgresql12-plpython/Makefile
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= postgresql
+CATEGORIES= databases python
+# Keep the ?=, it is used as master by the other plpython ports.
+PORTREVISION?= 0
+PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT}
+
+MAINTAINER= pgsql@FreeBSD.org
+COMMENT= Module for using Python to write SQL functions
+
+USES+= pgsql:${WANT_PGSQL_VER} ${WANT_PYTHON_USE}
+WANT_PGSQL= server
+
+MASTERDIR= ${.CURDIR}/../postgresql${WANT_PGSQL_VER:S/.//}-server
+
+WANT_PGSQL_VER?= 12
+WANT_PYTHON_USE?= python
+
+CONFIGURE_ARGS= --with-python
+COMPONENT= -plpython
+
+BUILD_DIRS= src/backend src/pl/plpython
+INSTALL_DIRS= src/pl/plpython
+SLAVE_ONLY= yes
+
+.include "${MASTERDIR}/Makefile"
diff --git a/databases/postgresql12-plpython/pkg-descr b/databases/postgresql12-plpython/pkg-descr
new file mode 100644
index 000000000000..416cce467d37
--- /dev/null
+++ b/databases/postgresql12-plpython/pkg-descr
@@ -0,0 +1,6 @@
+PL/Python allows one to write PostgeSQL stored functions and
+procedures in Python (http://www.python.org/).
+
+This software is part of the standard PostgreSQL distribution.
+
+WWW: https://www.postgresql.org/