From 5b11f47f0d59c95f6dcf1ff75badede5ec84e72e Mon Sep 17 00:00:00 2001 From: Palle Girgensohn Date: Wed, 18 May 2022 21:11:48 +0200 Subject: databases/postgresql??-*: add postgresql-15 to the ports tree Introduce PostgreSQL-15 to the ports tree. Make version 15 the master port, and add plist parameter for the postgresql version. Release notes: https://www.postgresql.org/docs/devel/release.html --- databases/postgresql15-plpython/Makefile | 28 ++++++++++++++++++++++++++++ databases/postgresql15-plpython/pkg-descr | 6 ++++++ 2 files changed, 34 insertions(+) create mode 100644 databases/postgresql15-plpython/Makefile create mode 100644 databases/postgresql15-plpython/pkg-descr (limited to 'databases/postgresql15-plpython') diff --git a/databases/postgresql15-plpython/Makefile b/databases/postgresql15-plpython/Makefile new file mode 100644 index 000000000000..21756abbc936 --- /dev/null +++ b/databases/postgresql15-plpython/Makefile @@ -0,0 +1,28 @@ +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?= 15 +WANT_PYTHON_USE?= python + +CONFIGURE_ARGS= --with-python +COMPONENT= -plpython + +BUILD_DIRS= src/backend ${INSTALL_DIRS} +INSTALL_DIRS?= src/pl/plpython contrib/hstore_plpython contrib/jsonb_plpython contrib/ltree_plpython +SLAVE_ONLY= yes + +# this port fails to build in parallel +MAKE_JOBS_UNSAFE= yes + +.include "${MASTERDIR}/Makefile" diff --git a/databases/postgresql15-plpython/pkg-descr b/databases/postgresql15-plpython/pkg-descr new file mode 100644 index 000000000000..416cce467d37 --- /dev/null +++ b/databases/postgresql15-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/ -- cgit v1.3