summaryrefslogtreecommitdiff
path: root/databases/postgresql17-plperl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql17-plperl/Makefile')
-rw-r--r--databases/postgresql17-plperl/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/databases/postgresql17-plperl/Makefile b/databases/postgresql17-plperl/Makefile
new file mode 100644
index 000000000000..3b95d6355e3b
--- /dev/null
+++ b/databases/postgresql17-plperl/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= postgresql
+# Keep the ?=, this port is used as master by the other plperl.
+PORTREVISION?= 0
+CATEGORIES= databases perl5
+PKGNAMESUFFIX?= ${WANT_PGSQL_VER}${COMPONENT}
+
+MAINTAINER= pgsql@FreeBSD.org
+COMMENT= Write SQL functions for PostgreSQL using Perl5
+
+RUN_DEPENDS= postgres:databases/postgresql${WANT_PGSQL_VER}-server
+
+MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER}-server
+
+WANT_PGSQL_VER?=17
+
+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"