summaryrefslogtreecommitdiff
path: root/databases/postgresql12-contrib
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql12-contrib')
-rw-r--r--databases/postgresql12-contrib/Makefile40
-rw-r--r--databases/postgresql12-contrib/pkg-descr23
2 files changed, 63 insertions, 0 deletions
diff --git a/databases/postgresql12-contrib/Makefile b/databases/postgresql12-contrib/Makefile
new file mode 100644
index 000000000000..1c8dc612d65a
--- /dev/null
+++ b/databases/postgresql12-contrib/Makefile
@@ -0,0 +1,40 @@
+# Created by: Palle Girgensohn <girgen@pingpong.net>
+# $FreeBSD$
+
+PORTNAME= postgresql
+PORTREVISION= 0
+CATEGORIES= databases
+
+MAINTAINER= pgsql@FreeBSD.org
+COMMENT= The contrib utilities from the PostgreSQL distribution
+
+LIB_DEPENDS= libxslt.so:textproc/libxslt \
+ libxml2.so:textproc/libxml2
+
+MASTERDIR= ${.CURDIR}/../postgresql12-server
+
+USES= bison pgsql:12
+
+BUILD_DIRS= src/port src/include src/common contrib
+INSTALL_DIRS= contrib
+
+SLAVE_ONLY= yes
+COMPONENT= -contrib
+CONFIGURE_ARGS= --with-libxslt --with-libxml --disable-nls --with-uuid=bsd
+LDFLAGS+= -lpthread -L${PREFIX}/lib
+
+OPTIONS_DEFINE= DOCS OPENSSL
+OPTIONS_DEFAULT=OPENSSL
+OPTIONS_SUB= yes
+
+OPENSSL_DESC= Build with OpenSSL support
+OPENSSL_USES= ssl
+OPENSSL_CONFIGURE_WITH= openssl
+
+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/postgresql12-contrib/pkg-descr b/databases/postgresql12-contrib/pkg-descr
new file mode 100644
index 000000000000..18c3c1351c3b
--- /dev/null
+++ b/databases/postgresql12-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/