Dmitry Marakasov 6f64c6e0b4 - Optionize SSL support in postgresql11-contrib
PR:		233257
Submitted by:	amdmi3
Approved by:	maintainer timeout (pgsql, 7 weeks)
2019-01-09 16:03:49 +00:00

41 lines
974 B
Makefile

# 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}/../postgresql11-server
USES= bison pgsql:11
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"