1 # Created by: Palle Girgensohn <girgen@pingpong.net>
8 MAINTAINER= pgsql@FreeBSD.org
9 COMMENT= The contrib utilities from the PostgreSQL distribution
11 MASTERDIR= ${.CURDIR}/../postgresql12-server
15 BUILD_DIRS= src/port src/include src/common contrib
20 CONFIGURE_ARGS= --disable-nls --with-uuid=bsd
21 LDFLAGS+= -lpthread -L${PREFIX}/lib
23 OPTIONS_DEFINE= DOCS OPENSSL XML
24 OPTIONS_DEFAULT=OPENSSL XML
27 OPENSSL_DESC= Build with OpenSSL support
29 OPENSSL_CONFIGURE_WITH= openssl
31 XML_CONFIGURE_WITH= libxslt libxml
32 XML_LIB_DEPENDS=libxslt.so:textproc/libxslt \
33 libxml2.so:textproc/libxml2
36 @cd ${WRKSRC}/src/backend && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} symlinks
39 @- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README
41 .include "${MASTERDIR}/Makefile"