aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql13-contrib/Makefile
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2020-09-24 13:33:10 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2020-09-24 13:33:10 +0000
commitaa1ed0e82cb937b6b71eae980dcc2554d675facb (patch)
treeecc90f2639eec6ac53e43e653a23696b32dbaa7e /databases/postgresql13-contrib/Makefile
parent0a684a50f544f98bce8b5997fb29adee2cc845c1 (diff)
downloadports-aa1ed0e82cb937b6b71eae980dcc2554d675facb.tar.gz
ports-aa1ed0e82cb937b6b71eae980dcc2554d675facb.zip
Welcome PostgreSQL 13
Notes
Notes: svn path=/head/; revision=549921
Diffstat (limited to 'databases/postgresql13-contrib/Makefile')
-rw-r--r--databases/postgresql13-contrib/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/databases/postgresql13-contrib/Makefile b/databases/postgresql13-contrib/Makefile
new file mode 100644
index 000000000000..289411be396f
--- /dev/null
+++ b/databases/postgresql13-contrib/Makefile
@@ -0,0 +1,41 @@
+# 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
+
+MASTERDIR= ${.CURDIR}/../postgresql13-server
+
+USES= bison pgsql:12
+
+BUILD_DIRS= src/port src/include src/common contrib
+INSTALL_DIRS= contrib
+
+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"