summaryrefslogtreecommitdiff
path: root/databases/postgresql15-plperl
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2022-05-18 21:11:48 +0200
committerPalle Girgensohn <girgen@FreeBSD.org>2022-05-19 15:36:48 +0200
commit5b11f47f0d59c95f6dcf1ff75badede5ec84e72e (patch)
treeddbd6345593e54c390ac3b9b04b4403cae76366b /databases/postgresql15-plperl
parentshell/zsh: remove unnneeded patch (diff)
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
Diffstat (limited to 'databases/postgresql15-plperl')
-rw-r--r--databases/postgresql15-plperl/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/databases/postgresql15-plperl/Makefile b/databases/postgresql15-plperl/Makefile
new file mode 100644
index 000000000000..33622c14b4b1
--- /dev/null
+++ b/databases/postgresql15-plperl/Makefile
@@ -0,0 +1,29 @@
+# Created by: Palle Girgensohn <girgen@partitur.se>
+
+PORTNAME= postgresql
+# Keep the ?=, this port is used as master by the other plperl.
+PORTREVISION?= 0
+CATEGORIES= databases perl5
+PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT}
+
+MAINTAINER= pgsql@FreeBSD.org
+COMMENT= Write SQL functions for PostgreSQL using Perl5
+
+RUN_DEPENDS= postgres:databases/postgresql${WANT_PGSQL_VER:S/.//}-server
+
+MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
+
+WANT_PGSQL_VER?=15
+
+USES+= perl5 readline
+CONFIGURE_ARGS= --with-perl
+
+BUILD_DIRS= src/backend ${INSTALL_DIRS}
+INSTALL_DIRS?= src/pl/plperl contrib/bool_plperl contrib/hstore_plperl contrib/jsonb_plperl
+SLAVE_ONLY= yes
+COMPONENT= -plperl
+
+# this port fails to build in parallel
+MAKE_JOBS_UNSAFE= yes
+
+.include "${MASTERDIR}/Makefile"