Bump databases/postgis25 to version 2.5.4_1
[dports.git] / databases / postgresql12-contrib / Makefile
1 # Created by: Palle Girgensohn <girgen@pingpong.net>
2 # $FreeBSD$
3
4 PORTNAME=       postgresql
5 PORTREVISION=   0
6 CATEGORIES=     databases
7
8 MAINTAINER=     pgsql@FreeBSD.org
9 COMMENT=        The contrib utilities from the PostgreSQL distribution
10
11 MASTERDIR=      ${.CURDIR}/../postgresql12-server
12
13 USES=           bison pgsql:12
14
15 BUILD_DIRS=     src/port src/include src/common contrib
16 INSTALL_DIRS=   contrib
17
18 SLAVE_ONLY=     yes
19 COMPONENT=      -contrib
20 CONFIGURE_ARGS= --disable-nls --with-uuid=bsd
21 LDFLAGS+=       -lpthread -L${PREFIX}/lib
22
23 OPTIONS_DEFINE= DOCS OPENSSL XML
24 OPTIONS_DEFAULT=OPENSSL XML
25 OPTIONS_SUB=    yes
26
27 OPENSSL_DESC=           Build with OpenSSL support
28 OPENSSL_USES=           ssl
29 OPENSSL_CONFIGURE_WITH= openssl
30
31 XML_CONFIGURE_WITH=     libxslt libxml
32 XML_LIB_DEPENDS=libxslt.so:textproc/libxslt \
33                 libxml2.so:textproc/libxml2
34
35 post-configure:
36         @cd ${WRKSRC}/src/backend && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} symlinks
37
38 post-install:
39         @- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README
40
41 .include "${MASTERDIR}/Makefile"