summaryrefslogtreecommitdiff
path: root/databases/postgresql14-contrib
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2021-05-20 10:53:00 +0200
committerPalle Girgensohn <girgen@FreeBSD.org>2021-05-20 16:38:55 +0200
commitfccc45e5ff4a8aea150005196c0d4f2cbaeed5db (patch)
treeb308d056494290f6e3b9e2bfa8e6750ec82183e6 /databases/postgresql14-contrib
parentdatabases/postgresql1[123]-server: remove trailing space in pkg-plist (diff)
databases/postgresql14-*: Add postgresql 14 beta1 the the ports tree.
Release notes: https://www.postgresql.org/docs/devel/release-14.html Also reintroduce parallel builds. Some components, namely plperl, plpython, pltcl and contrib, fail to build properly when using parallel builds. Something with static linking using `ar` that fails. MAKE_JOBS_UNSAFE is set for these ports.
Diffstat (limited to 'databases/postgresql14-contrib')
-rw-r--r--databases/postgresql14-contrib/Makefile43
-rw-r--r--databases/postgresql14-contrib/pkg-descr23
2 files changed, 66 insertions, 0 deletions
diff --git a/databases/postgresql14-contrib/Makefile b/databases/postgresql14-contrib/Makefile
new file mode 100644
index 000000000000..1506d473094e
--- /dev/null
+++ b/databases/postgresql14-contrib/Makefile
@@ -0,0 +1,43 @@
+# Created by: Palle Girgensohn <girgen@pingpong.net>
+
+PORTNAME= postgresql
+PORTREVISION= 0
+CATEGORIES= databases
+
+MAINTAINER= pgsql@FreeBSD.org
+COMMENT= The contrib utilities from the PostgreSQL distribution
+
+MASTERDIR= ${.CURDIR}/../postgresql14-server
+
+USES= bison pgsql:${DISTVERSION:C/([0-9]\.?[0-9]).*/\1/g}
+
+BUILD_DIRS= src/port src/include src/common contrib
+INSTALL_DIRS= contrib
+
+# this port fails to build in parallel
+MAKE_JOBS_UNSAFE= yes
+
+SLAVE_ONLY= yes
+COMPONENT= -contrib
+CONFIGURE_ARGS= --disable-nls --with-uuid=bsd
+LDFLAGS+= -lpthread -L${PREFIX}/lib
+
+OPTIONS_DEFINE= DOCS OPENSSL XML
+OPTIONS_DEFAULT=OPENSSL XML
+OPTIONS_SUB= yes
+
+OPENSSL_DESC= Build with OpenSSL support
+OPENSSL_USES= ssl
+OPENSSL_CONFIGURE_WITH= openssl
+
+XML_CONFIGURE_WITH= libxslt libxml
+XML_LIB_DEPENDS=libxslt.so:textproc/libxslt \
+ libxml2.so:textproc/libxml2
+
+post-configure:
+ @cd ${WRKSRC}/src/backend && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} symlinks
+
+post-install:
+ @- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README
+
+.include "${MASTERDIR}/Makefile"
diff --git a/databases/postgresql14-contrib/pkg-descr b/databases/postgresql14-contrib/pkg-descr
new file mode 100644
index 000000000000..18c3c1351c3b
--- /dev/null
+++ b/databases/postgresql14-contrib/pkg-descr
@@ -0,0 +1,23 @@
+This is the port for all stuff that comes in the contrib subtree of
+the postgresql distribution. This subtree contains porting tools,
+analysis utilities, and plug-in features that are not part of the core
+PostgreSQL system, mainly because they address a limited audience or
+are too experimental to be part of the main source tree. This does
+not preclude their usefulness.
+
+Each subdirectory contains a README file with information about the
+module. Some directories supply new user-defined functions, operators,
+or types. After you have installed the files you need to register the
+new entities in the database system by running the commands in the
+supplied .sql file. For example,
+
+ $ psql -d dbname -f module.sql
+
+The .sql files are installed into /usr/local/share/postgresql/contrib
+
+For more information, please see
+/usr/local/share/doc/postgresql/contrib/README*
+
+This software is part of the standard PostgreSQL distribution.
+
+WWW: https://www.postgresql.org/